|
@@ -162,6 +162,12 @@ export enum AssetType {
|
|
|
BINARY = 'BINARY'
|
|
BINARY = 'BINARY'
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export type AssignProductsToChannelInput = {
|
|
|
|
|
+ productIds: Array<Scalars['ID']>,
|
|
|
|
|
+ channelId: Scalars['ID'],
|
|
|
|
|
+ priceFactor?: Maybe<Scalars['Float']>,
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'BooleanCustomFieldConfig',
|
|
__typename?: 'BooleanCustomFieldConfig',
|
|
|
name: Scalars['String'],
|
|
name: Scalars['String'],
|
|
@@ -1758,6 +1764,10 @@ export type Mutation = {
|
|
|
updateProductVariants: Array<Maybe<ProductVariant>>,
|
|
updateProductVariants: Array<Maybe<ProductVariant>>,
|
|
|
/** Delete a ProductVariant */
|
|
/** Delete a ProductVariant */
|
|
|
deleteProductVariant: DeletionResponse,
|
|
deleteProductVariant: DeletionResponse,
|
|
|
|
|
+ /** Assigns Products to the specified Channel */
|
|
|
|
|
+ assignProductsToChannel: Array<Product>,
|
|
|
|
|
+ /** Removes Products from the specified Channel */
|
|
|
|
|
+ removeProductsFromChannel: Array<Product>,
|
|
|
createPromotion: Promotion,
|
|
createPromotion: Promotion,
|
|
|
updatePromotion: Promotion,
|
|
updatePromotion: Promotion,
|
|
|
deletePromotion: DeletionResponse,
|
|
deletePromotion: DeletionResponse,
|
|
@@ -2058,6 +2068,16 @@ export type MutationDeleteProductVariantArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+export type MutationAssignProductsToChannelArgs = {
|
|
|
|
|
+ input: AssignProductsToChannelInput
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+export type MutationRemoveProductsFromChannelArgs = {
|
|
|
|
|
+ input: RemoveProductsFromChannelInput
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export type MutationCreatePromotionArgs = {
|
|
export type MutationCreatePromotionArgs = {
|
|
|
input: CreatePromotionInput
|
|
input: CreatePromotionInput
|
|
|
};
|
|
};
|
|
@@ -2403,6 +2423,7 @@ export type PriceRange = {
|
|
|
export type Product = Node & {
|
|
export type Product = Node & {
|
|
|
__typename?: 'Product',
|
|
__typename?: 'Product',
|
|
|
enabled: Scalars['Boolean'],
|
|
enabled: Scalars['Boolean'],
|
|
|
|
|
+ channels: Array<Channel>,
|
|
|
id: Scalars['ID'],
|
|
id: Scalars['ID'],
|
|
|
createdAt: Scalars['DateTime'],
|
|
createdAt: Scalars['DateTime'],
|
|
|
updatedAt: Scalars['DateTime'],
|
|
updatedAt: Scalars['DateTime'],
|
|
@@ -2934,6 +2955,11 @@ export type RefundOrderInput = {
|
|
|
reason?: Maybe<Scalars['String']>,
|
|
reason?: Maybe<Scalars['String']>,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type RemoveProductsFromChannelInput = {
|
|
|
|
|
+ productIds: Array<Scalars['ID']>,
|
|
|
|
|
+ channelId: Scalars['ID'],
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type Return = Node & StockMovement & {
|
|
export type Return = Node & StockMovement & {
|
|
|
__typename?: 'Return',
|
|
__typename?: 'Return',
|
|
|
id: Scalars['ID'],
|
|
id: Scalars['ID'],
|
|
@@ -3020,6 +3046,8 @@ export type SearchResponse = {
|
|
|
export type SearchResult = {
|
|
export type SearchResult = {
|
|
|
__typename?: 'SearchResult',
|
|
__typename?: 'SearchResult',
|
|
|
enabled: Scalars['Boolean'],
|
|
enabled: Scalars['Boolean'],
|
|
|
|
|
+ /** An array of ids of the Collections in which this result appears */
|
|
|
|
|
+ channelIds: Array<Scalars['ID']>,
|
|
|
sku: Scalars['String'],
|
|
sku: Scalars['String'],
|
|
|
slug: Scalars['String'],
|
|
slug: Scalars['String'],
|
|
|
productId: Scalars['ID'],
|
|
productId: Scalars['ID'],
|