From 6c21cc90c14e1863f7d112d667ee9eb27e2ceb68 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 12 Sep 2023 12:25:59 +0200 Subject: [PATCH] chore(docs): Update code block language code --- .../lib/core/src/common/generated-types.ts | 60525 ++++++++++++++-- .../core/src/extension/add-action-bar-item.ts | 6 +- .../core/src/extension/add-nav-menu-item.ts | 4 +- .../register-form-input-component.ts | 6 +- .../nav-builder/nav-builder-types.ts | 9 + ...generated-e2e-asset-server-plugin-types.ts | 2 +- packages/common/src/generated-types.ts | 8546 ++- .../reviews/generated-admin-types.ts | 8695 ++- .../reviews/generated-shop-types.ts | 5046 +- .../reviews/ui/generated-types.ts | 9662 +-- ...enerated-e2e-elasticsearch-plugin-types.ts | 2 +- .../e2e/graphql/generated-admin-types.ts | 2 +- 12 files changed, 70875 insertions(+), 21630 deletions(-) diff --git a/packages/admin-ui/src/lib/core/src/common/generated-types.ts b/packages/admin-ui/src/lib/core/src/common/generated-types.ts index 3454a0f14c..1965dd3b96 100644 --- a/packages/admin-ui/src/lib/core/src/common/generated-types.ts +++ b/packages/admin-ui/src/lib/core/src/common/generated-types.ts @@ -6,389 +6,410 @@ export type Exact = { [K in keyof T]: T[K] export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type Incremental = + | T + | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */ - DateTime: { input: any; output: any; } - /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ - JSON: { input: any; output: any; } - /** The `Money` scalar type represents monetary values and supports signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). */ - Money: { input: number; output: number; } - /** The `Upload` scalar type represents a file upload. */ - Upload: { input: any; output: any; } -}; - -export type AddFulfillmentToOrderResult = CreateFulfillmentError | EmptyOrderLineSelectionError | Fulfillment | FulfillmentStateTransitionError | InsufficientStockOnHandError | InvalidFulfillmentHandlerError | ItemsAlreadyFulfilledError; + ID: { input: string; output: string }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */ + DateTime: { input: any; output: any }; + /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ + JSON: { input: any; output: any }; + /** The `Money` scalar type represents monetary values and supports signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). */ + Money: { input: number; output: number }; + /** The `Upload` scalar type represents a file upload. */ + Upload: { input: any; output: any }; +}; + +export type AddFulfillmentToOrderResult = + | CreateFulfillmentError + | EmptyOrderLineSelectionError + | Fulfillment + | FulfillmentStateTransitionError + | InsufficientStockOnHandError + | InvalidFulfillmentHandlerError + | ItemsAlreadyFulfilledError; export type AddItemInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type AddItemToDraftOrderInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type AddManualPaymentToOrderResult = ManualPaymentStateError | Order; export type AddNoteToCustomerInput = { - id: Scalars['ID']['input']; - isPublic: Scalars['Boolean']['input']; - note: Scalars['String']['input']; + id: Scalars['ID']['input']; + isPublic: Scalars['Boolean']['input']; + note: Scalars['String']['input']; }; export type AddNoteToOrderInput = { - id: Scalars['ID']['input']; - isPublic: Scalars['Boolean']['input']; - note: Scalars['String']['input']; + id: Scalars['ID']['input']; + isPublic: Scalars['Boolean']['input']; + note: Scalars['String']['input']; }; export type Address = Node & { - __typename?: 'Address'; - city?: Maybe; - company?: Maybe; - country: Country; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - defaultBillingAddress?: Maybe; - defaultShippingAddress?: Maybe; - fullName?: Maybe; - id: Scalars['ID']['output']; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1: Scalars['String']['output']; - streetLine2?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Address'; + city?: Maybe; + company?: Maybe; + country: Country; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + defaultBillingAddress?: Maybe; + defaultShippingAddress?: Maybe; + fullName?: Maybe; + id: Scalars['ID']['output']; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1: Scalars['String']['output']; + streetLine2?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type AdjustDraftOrderLineInput = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type Adjustment = { - __typename?: 'Adjustment'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Adjustment'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + data?: Maybe; + description: Scalars['String']['output']; + type: AdjustmentType; }; export enum AdjustmentType { - DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', - OTHER = 'OTHER', - PROMOTION = 'PROMOTION' + DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', + OTHER = 'OTHER', + PROMOTION = 'PROMOTION', } export type Administrator = Node & { - __typename?: 'Administrator'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - user: User; + __typename?: 'Administrator'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + user: User; }; export type AdministratorFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; }; export type AdministratorList = PaginatedList & { - __typename?: 'AdministratorList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AdministratorList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AdministratorListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type AdministratorPaymentInput = { - metadata?: InputMaybe; - paymentMethod?: InputMaybe; + metadata?: InputMaybe; + paymentMethod?: InputMaybe; }; export type AdministratorRefundInput = { - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; }; export type AdministratorSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type Allocation = Node & StockMovement & { - __typename?: 'Allocation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - orderLine: OrderLine; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Allocation = Node & + StockMovement & { + __typename?: 'Allocation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + orderLine: OrderLine; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; /** Returned if an attempting to refund an OrderItem which has already been refunded */ export type AlreadyRefundedError = ErrorResult & { - __typename?: 'AlreadyRefundedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - refundId: Scalars['ID']['output']; + __typename?: 'AlreadyRefundedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + refundId: Scalars['ID']['output']; }; -export type ApplyCouponCodeResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | Order; +export type ApplyCouponCodeResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | Order; export type Asset = Node & { - __typename?: 'Asset'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - fileSize: Scalars['Int']['output']; - focalPoint?: Maybe; - height: Scalars['Int']['output']; - id: Scalars['ID']['output']; - mimeType: Scalars['String']['output']; - name: Scalars['String']['output']; - preview: Scalars['String']['output']; - source: Scalars['String']['output']; - tags: Array; - type: AssetType; - updatedAt: Scalars['DateTime']['output']; - width: Scalars['Int']['output']; + __typename?: 'Asset'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + fileSize: Scalars['Int']['output']; + focalPoint?: Maybe; + height: Scalars['Int']['output']; + id: Scalars['ID']['output']; + mimeType: Scalars['String']['output']; + name: Scalars['String']['output']; + preview: Scalars['String']['output']; + source: Scalars['String']['output']; + tags: Array; + type: AssetType; + updatedAt: Scalars['DateTime']['output']; + width: Scalars['Int']['output']; }; export type AssetFilterParameter = { - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + createdAt?: InputMaybe; + fileSize?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + mimeType?: InputMaybe; + name?: InputMaybe; + preview?: InputMaybe; + source?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; + width?: InputMaybe; }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AssetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AssetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - tags?: InputMaybe>; - tagsOperator?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + tags?: InputMaybe>; + tagsOperator?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type AssetSortParameter = { - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + createdAt?: InputMaybe; + fileSize?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + mimeType?: InputMaybe; + name?: InputMaybe; + preview?: InputMaybe; + source?: InputMaybe; + updatedAt?: InputMaybe; + width?: InputMaybe; }; export enum AssetType { - BINARY = 'BINARY', - IMAGE = 'IMAGE', - VIDEO = 'VIDEO' + BINARY = 'BINARY', + IMAGE = 'IMAGE', + VIDEO = 'VIDEO', } export type AssignAssetsToChannelInput = { - assetIds: Array; - channelId: Scalars['ID']['input']; + assetIds: Array; + channelId: Scalars['ID']['input']; }; export type AssignCollectionsToChannelInput = { - channelId: Scalars['ID']['input']; - collectionIds: Array; + channelId: Scalars['ID']['input']; + collectionIds: Array; }; export type AssignFacetsToChannelInput = { - channelId: Scalars['ID']['input']; - facetIds: Array; + channelId: Scalars['ID']['input']; + facetIds: Array; }; export type AssignPaymentMethodsToChannelInput = { - channelId: Scalars['ID']['input']; - paymentMethodIds: Array; + channelId: Scalars['ID']['input']; + paymentMethodIds: Array; }; export type AssignProductVariantsToChannelInput = { - channelId: Scalars['ID']['input']; - priceFactor?: InputMaybe; - productVariantIds: Array; + channelId: Scalars['ID']['input']; + priceFactor?: InputMaybe; + productVariantIds: Array; }; export type AssignProductsToChannelInput = { - channelId: Scalars['ID']['input']; - priceFactor?: InputMaybe; - productIds: Array; + channelId: Scalars['ID']['input']; + priceFactor?: InputMaybe; + productIds: Array; }; export type AssignPromotionsToChannelInput = { - channelId: Scalars['ID']['input']; - promotionIds: Array; + channelId: Scalars['ID']['input']; + promotionIds: Array; }; export type AssignShippingMethodsToChannelInput = { - channelId: Scalars['ID']['input']; - shippingMethodIds: Array; + channelId: Scalars['ID']['input']; + shippingMethodIds: Array; }; export type AssignStockLocationsToChannelInput = { - channelId: Scalars['ID']['input']; - stockLocationIds: Array; + channelId: Scalars['ID']['input']; + stockLocationIds: Array; }; export type AuthenticationInput = { - native?: InputMaybe; + native?: InputMaybe; }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'AuthenticationMethod'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + strategy: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type AuthenticationResult = CurrentUser | InvalidCredentialsError; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'BooleanCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Operators for filtering on a list of Boolean fields */ export type BooleanListOperators = { - inList: Scalars['Boolean']['input']; + inList: Scalars['Boolean']['input']; }; /** Operators for filtering on a Boolean field */ export type BooleanOperators = { - eq?: InputMaybe; - isNull?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; /** Returned if an attempting to cancel lines from an Order which is still active */ export type CancelActiveOrderError = ErrorResult & { - __typename?: 'CancelActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + __typename?: 'CancelActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; export type CancelOrderInput = { - /** Specify whether the shipping charges should also be cancelled. Defaults to false */ - cancelShipping?: InputMaybe; - /** Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled */ - lines?: InputMaybe>; - /** The id of the order to be cancelled */ - orderId: Scalars['ID']['input']; - reason?: InputMaybe; -}; - -export type CancelOrderResult = CancelActiveOrderError | EmptyOrderLineSelectionError | MultipleOrderError | Order | OrderStateTransitionError | QuantityTooGreatError; + /** Specify whether the shipping charges should also be cancelled. Defaults to false */ + cancelShipping?: InputMaybe; + /** Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled */ + lines?: InputMaybe>; + /** The id of the order to be cancelled */ + orderId: Scalars['ID']['input']; + reason?: InputMaybe; +}; + +export type CancelOrderResult = + | CancelActiveOrderError + | EmptyOrderLineSelectionError + | MultipleOrderError + | Order + | OrderStateTransitionError + | QuantityTooGreatError; /** Returned if the Payment cancellation fails */ export type CancelPaymentError = ErrorResult & { - __typename?: 'CancelPaymentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'CancelPaymentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; export type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError; -export type Cancellation = Node & StockMovement & { - __typename?: 'Cancellation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - orderLine: OrderLine; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type Cancellation = Node & + StockMovement & { + __typename?: 'Cancellation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + orderLine: OrderLine; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type Channel = Node & { - __typename?: 'Channel'; - availableCurrencyCodes: Array; - availableLanguageCodes?: Maybe>; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode: CurrencyCode; - customFields?: Maybe; - defaultCurrencyCode: CurrencyCode; - defaultLanguageCode: LanguageCode; - defaultShippingZone?: Maybe; - defaultTaxZone?: Maybe; - id: Scalars['ID']['output']; - /** Not yet used - will be implemented in a future release. */ - outOfStockThreshold?: Maybe; - pricesIncludeTax: Scalars['Boolean']['output']; - seller?: Maybe; - token: Scalars['String']['output']; - /** Not yet used - will be implemented in a future release. */ - trackInventory?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Channel'; + availableCurrencyCodes: Array; + availableLanguageCodes?: Maybe>; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode: CurrencyCode; + customFields?: Maybe; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: Maybe; + defaultTaxZone?: Maybe; + id: Scalars['ID']['output']; + /** Not yet used - will be implemented in a future release. */ + outOfStockThreshold?: Maybe; + pricesIncludeTax: Scalars['Boolean']['output']; + seller?: Maybe; + token: Scalars['String']['output']; + /** Not yet used - will be implemented in a future release. */ + trackInventory?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -396,123 +417,122 @@ export type Channel = Node & { * of the GlobalSettings */ export type ChannelDefaultLanguageError = ErrorResult & { - __typename?: 'ChannelDefaultLanguageError'; - channelCode: Scalars['String']['output']; - errorCode: ErrorCode; - language: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'ChannelDefaultLanguageError'; + channelCode: Scalars['String']['output']; + errorCode: ErrorCode; + language: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type ChannelFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode?: InputMaybe; + id?: InputMaybe; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax?: InputMaybe; + token?: InputMaybe; + trackInventory?: InputMaybe; + updatedAt?: InputMaybe; }; export type ChannelList = PaginatedList & { - __typename?: 'ChannelList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ChannelList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ChannelListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ChannelSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - token?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + outOfStockThreshold?: InputMaybe; + token?: InputMaybe; + updatedAt?: InputMaybe; }; export type Collection = Node & { - __typename?: 'Collection'; - assets: Array; - breadcrumbs: Array; - children?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - featuredAsset?: Maybe; - filters: Array; - id: Scalars['ID']['output']; - inheritFilters: Scalars['Boolean']['output']; - isPrivate: Scalars['Boolean']['output']; - languageCode?: Maybe; - name: Scalars['String']['output']; - parent?: Maybe; - parentId: Scalars['ID']['output']; - position: Scalars['Int']['output']; - productVariants: ProductVariantList; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Collection'; + assets: Array; + breadcrumbs: Array; + children?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + featuredAsset?: Maybe; + filters: Array; + id: Scalars['ID']['output']; + inheritFilters: Scalars['Boolean']['output']; + isPrivate: Scalars['Boolean']['output']; + languageCode?: Maybe; + name: Scalars['String']['output']; + parent?: Maybe; + parentId: Scalars['ID']['output']; + position: Scalars['Int']['output']; + productVariants: ProductVariantList; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; - export type CollectionProductVariantsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'CollectionBreadcrumb'; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CollectionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; - topLevelOnly?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; + topLevelOnly?: InputMaybe; }; /** @@ -520,432 +540,433 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - __typename?: 'CollectionResult'; - collection: Collection; - count: Scalars['Int']['output']; + __typename?: 'CollectionResult'; + collection: Collection; + count: Scalars['Int']['output']; }; export type CollectionSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CollectionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ConfigArg = { - __typename?: 'ConfigArg'; - name: Scalars['String']['output']; - value: Scalars['String']['output']; + __typename?: 'ConfigArg'; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; - defaultValue?: Maybe; - description?: Maybe; - label?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - required: Scalars['Boolean']['output']; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'ConfigArgDefinition'; + defaultValue?: Maybe; + description?: Maybe; + label?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + required: Scalars['Boolean']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type ConfigArgInput = { - name: Scalars['String']['input']; - /** A JSON stringified representation of the actual value */ - value: Scalars['String']['input']; + name: Scalars['String']['input']; + /** A JSON stringified representation of the actual value */ + value: Scalars['String']['input']; }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; - args: Array; - code: Scalars['String']['output']; + __typename?: 'ConfigurableOperation'; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + __typename?: 'ConfigurableOperationDefinition'; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; }; export type ConfigurableOperationInput = { - arguments: Array; - code: Scalars['String']['input']; + arguments: Array; + code: Scalars['String']['input']; }; export type Coordinate = { - __typename?: 'Coordinate'; - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; + __typename?: 'Coordinate'; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; }; export type CoordinateInput = { - x: Scalars['Float']['input']; - y: Scalars['Float']['input']; -}; - -export type Country = Node & Region & { - __typename?: 'Country'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; +}; + +export type Country = Node & + Region & { + __typename?: 'Country'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type CountryFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CountryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CountryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CountrySortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeExpiredError = ErrorResult & { - __typename?: 'CouponCodeExpiredError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeExpiredError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - __typename?: 'CouponCodeInvalidError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeInvalidError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - __typename?: 'CouponCodeLimitError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'CouponCodeLimitError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type CreateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode: Scalars['String']['input']; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1: Scalars['String']['input']; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode: Scalars['String']['input']; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1: Scalars['String']['input']; + streetLine2?: InputMaybe; }; export type CreateAdministratorInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - password: Scalars['String']['input']; - roleIds: Array; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + password: Scalars['String']['input']; + roleIds: Array; }; export type CreateAssetInput = { - customFields?: InputMaybe; - file: Scalars['Upload']['input']; - tags?: InputMaybe>; + customFields?: InputMaybe; + file: Scalars['Upload']['input']; + tags?: InputMaybe>; }; export type CreateAssetResult = Asset | MimeTypeError; export type CreateChannelInput = { - availableCurrencyCodes?: InputMaybe>; - availableLanguageCodes?: InputMaybe>; - code: Scalars['String']['input']; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode?: InputMaybe; - customFields?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode: LanguageCode; - defaultShippingZoneId: Scalars['ID']['input']; - defaultTaxZoneId: Scalars['ID']['input']; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax: Scalars['Boolean']['input']; - sellerId?: InputMaybe; - token: Scalars['String']['input']; - trackInventory?: InputMaybe; + availableCurrencyCodes?: InputMaybe>; + availableLanguageCodes?: InputMaybe>; + code: Scalars['String']['input']; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode?: InputMaybe; + customFields?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode: LanguageCode; + defaultShippingZoneId: Scalars['ID']['input']; + defaultTaxZoneId: Scalars['ID']['input']; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax: Scalars['Boolean']['input']; + sellerId?: InputMaybe; + token: Scalars['String']['input']; + trackInventory?: InputMaybe; }; export type CreateChannelResult = Channel | LanguageNotAvailableError; export type CreateCollectionInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - featuredAssetId?: InputMaybe; - filters: Array; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - parentId?: InputMaybe; - translations: Array; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + featuredAssetId?: InputMaybe; + filters: Array; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + parentId?: InputMaybe; + translations: Array; }; export type CreateCollectionTranslationInput = { - customFields?: InputMaybe; - description: Scalars['String']['input']; - languageCode: LanguageCode; - name: Scalars['String']['input']; - slug: Scalars['String']['input']; + customFields?: InputMaybe; + description: Scalars['String']['input']; + languageCode: LanguageCode; + name: Scalars['String']['input']; + slug: Scalars['String']['input']; }; export type CreateCountryInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + translations: Array; }; export type CreateCustomerGroupInput = { - customFields?: InputMaybe; - customerIds?: InputMaybe>; - name: Scalars['String']['input']; + customFields?: InputMaybe; + customerIds?: InputMaybe>; + name: Scalars['String']['input']; }; export type CreateCustomerInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type CreateCustomerResult = Customer | EmailAddressConflictError; export type CreateFacetInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - isPrivate: Scalars['Boolean']['input']; - translations: Array; - values?: InputMaybe>; + code: Scalars['String']['input']; + customFields?: InputMaybe; + isPrivate: Scalars['Boolean']['input']; + translations: Array; + values?: InputMaybe>; }; export type CreateFacetValueInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - facetId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + facetId: Scalars['ID']['input']; + translations: Array; }; export type CreateFacetValueWithFacetInput = { - code: Scalars['String']['input']; - translations: Array; + code: Scalars['String']['input']; + translations: Array; }; /** Returned if an error is thrown in a FulfillmentHandler's createFulfillment method */ export type CreateFulfillmentError = ErrorResult & { - __typename?: 'CreateFulfillmentError'; - errorCode: ErrorCode; - fulfillmentHandlerError: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'CreateFulfillmentError'; + errorCode: ErrorCode; + fulfillmentHandlerError: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type CreateGroupOptionInput = { - code: Scalars['String']['input']; - translations: Array; + code: Scalars['String']['input']; + translations: Array; }; export type CreatePaymentMethodInput = { - checker?: InputMaybe; - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - handler: ConfigurableOperationInput; - translations: Array; + checker?: InputMaybe; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + handler: ConfigurableOperationInput; + translations: Array; }; export type CreateProductInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - translations: Array; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + translations: Array; }; export type CreateProductOptionGroupInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - options: Array; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + options: Array; + translations: Array; }; export type CreateProductOptionInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - productOptionGroupId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + productOptionGroupId: Scalars['ID']['input']; + translations: Array; }; export type CreateProductVariantInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - optionIds?: InputMaybe>; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - productId: Scalars['ID']['input']; - sku: Scalars['String']['input']; - stockLevels?: InputMaybe>; - stockOnHand?: InputMaybe; - taxCategoryId?: InputMaybe; - trackInventory?: InputMaybe; - translations: Array; - useGlobalOutOfStockThreshold?: InputMaybe; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + optionIds?: InputMaybe>; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + productId: Scalars['ID']['input']; + sku: Scalars['String']['input']; + stockLevels?: InputMaybe>; + stockOnHand?: InputMaybe; + taxCategoryId?: InputMaybe; + trackInventory?: InputMaybe; + translations: Array; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type CreateProductVariantOptionInput = { - code: Scalars['String']['input']; - optionGroupId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + optionGroupId: Scalars['ID']['input']; + translations: Array; }; export type CreatePromotionInput = { - actions: Array; - conditions: Array; - couponCode?: InputMaybe; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - endsAt?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - translations: Array; - usageLimit?: InputMaybe; + actions: Array; + conditions: Array; + couponCode?: InputMaybe; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + endsAt?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + translations: Array; + usageLimit?: InputMaybe; }; export type CreatePromotionResult = MissingConditionsError | Promotion; export type CreateProvinceInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + translations: Array; }; export type CreateRoleInput = { - channelIds?: InputMaybe>; - code: Scalars['String']['input']; - description: Scalars['String']['input']; - permissions: Array; + channelIds?: InputMaybe>; + code: Scalars['String']['input']; + description: Scalars['String']['input']; + permissions: Array; }; export type CreateSellerInput = { - customFields?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateShippingMethodInput = { - calculator: ConfigurableOperationInput; - checker: ConfigurableOperationInput; - code: Scalars['String']['input']; - customFields?: InputMaybe; - fulfillmentHandler: Scalars['String']['input']; - translations: Array; + calculator: ConfigurableOperationInput; + checker: ConfigurableOperationInput; + code: Scalars['String']['input']; + customFields?: InputMaybe; + fulfillmentHandler: Scalars['String']['input']; + translations: Array; }; export type CreateStockLocationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + description?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateTagInput = { - value: Scalars['String']['input']; + value: Scalars['String']['input']; }; export type CreateTaxCategoryInput = { - customFields?: InputMaybe; - isDefault?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + isDefault?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateTaxRateInput = { - categoryId: Scalars['ID']['input']; - customFields?: InputMaybe; - customerGroupId?: InputMaybe; - enabled: Scalars['Boolean']['input']; - name: Scalars['String']['input']; - value: Scalars['Float']['input']; - zoneId: Scalars['ID']['input']; + categoryId: Scalars['ID']['input']; + customFields?: InputMaybe; + customerGroupId?: InputMaybe; + enabled: Scalars['Boolean']['input']; + name: Scalars['String']['input']; + value: Scalars['Float']['input']; + zoneId: Scalars['ID']['input']; }; export type CreateZoneInput = { - customFields?: InputMaybe; - memberIds?: InputMaybe>; - name: Scalars['String']['input']; + customFields?: InputMaybe; + memberIds?: InputMaybe>; + name: Scalars['String']['input']; }; /** @@ -955,524 +976,530 @@ export type CreateZoneInput = { * @docsCategory common */ export enum CurrencyCode { - /** United Arab Emirates dirham */ - AED = 'AED', - /** Afghan afghani */ - AFN = 'AFN', - /** Albanian lek */ - ALL = 'ALL', - /** Armenian dram */ - AMD = 'AMD', - /** Netherlands Antillean guilder */ - ANG = 'ANG', - /** Angolan kwanza */ - AOA = 'AOA', - /** Argentine peso */ - ARS = 'ARS', - /** Australian dollar */ - AUD = 'AUD', - /** Aruban florin */ - AWG = 'AWG', - /** Azerbaijani manat */ - AZN = 'AZN', - /** Bosnia and Herzegovina convertible mark */ - BAM = 'BAM', - /** Barbados dollar */ - BBD = 'BBD', - /** Bangladeshi taka */ - BDT = 'BDT', - /** Bulgarian lev */ - BGN = 'BGN', - /** Bahraini dinar */ - BHD = 'BHD', - /** Burundian franc */ - BIF = 'BIF', - /** Bermudian dollar */ - BMD = 'BMD', - /** Brunei dollar */ - BND = 'BND', - /** Boliviano */ - BOB = 'BOB', - /** Brazilian real */ - BRL = 'BRL', - /** Bahamian dollar */ - BSD = 'BSD', - /** Bhutanese ngultrum */ - BTN = 'BTN', - /** Botswana pula */ - BWP = 'BWP', - /** Belarusian ruble */ - BYN = 'BYN', - /** Belize dollar */ - BZD = 'BZD', - /** Canadian dollar */ - CAD = 'CAD', - /** Congolese franc */ - CDF = 'CDF', - /** Swiss franc */ - CHF = 'CHF', - /** Chilean peso */ - CLP = 'CLP', - /** Renminbi (Chinese) yuan */ - CNY = 'CNY', - /** Colombian peso */ - COP = 'COP', - /** Costa Rican colon */ - CRC = 'CRC', - /** Cuban convertible peso */ - CUC = 'CUC', - /** Cuban peso */ - CUP = 'CUP', - /** Cape Verde escudo */ - CVE = 'CVE', - /** Czech koruna */ - CZK = 'CZK', - /** Djiboutian franc */ - DJF = 'DJF', - /** Danish krone */ - DKK = 'DKK', - /** Dominican peso */ - DOP = 'DOP', - /** Algerian dinar */ - DZD = 'DZD', - /** Egyptian pound */ - EGP = 'EGP', - /** Eritrean nakfa */ - ERN = 'ERN', - /** Ethiopian birr */ - ETB = 'ETB', - /** Euro */ - EUR = 'EUR', - /** Fiji dollar */ - FJD = 'FJD', - /** Falkland Islands pound */ - FKP = 'FKP', - /** Pound sterling */ - GBP = 'GBP', - /** Georgian lari */ - GEL = 'GEL', - /** Ghanaian cedi */ - GHS = 'GHS', - /** Gibraltar pound */ - GIP = 'GIP', - /** Gambian dalasi */ - GMD = 'GMD', - /** Guinean franc */ - GNF = 'GNF', - /** Guatemalan quetzal */ - GTQ = 'GTQ', - /** Guyanese dollar */ - GYD = 'GYD', - /** Hong Kong dollar */ - HKD = 'HKD', - /** Honduran lempira */ - HNL = 'HNL', - /** Croatian kuna */ - HRK = 'HRK', - /** Haitian gourde */ - HTG = 'HTG', - /** Hungarian forint */ - HUF = 'HUF', - /** Indonesian rupiah */ - IDR = 'IDR', - /** Israeli new shekel */ - ILS = 'ILS', - /** Indian rupee */ - INR = 'INR', - /** Iraqi dinar */ - IQD = 'IQD', - /** Iranian rial */ - IRR = 'IRR', - /** Icelandic króna */ - ISK = 'ISK', - /** Jamaican dollar */ - JMD = 'JMD', - /** Jordanian dinar */ - JOD = 'JOD', - /** Japanese yen */ - JPY = 'JPY', - /** Kenyan shilling */ - KES = 'KES', - /** Kyrgyzstani som */ - KGS = 'KGS', - /** Cambodian riel */ - KHR = 'KHR', - /** Comoro franc */ - KMF = 'KMF', - /** North Korean won */ - KPW = 'KPW', - /** South Korean won */ - KRW = 'KRW', - /** Kuwaiti dinar */ - KWD = 'KWD', - /** Cayman Islands dollar */ - KYD = 'KYD', - /** Kazakhstani tenge */ - KZT = 'KZT', - /** Lao kip */ - LAK = 'LAK', - /** Lebanese pound */ - LBP = 'LBP', - /** Sri Lankan rupee */ - LKR = 'LKR', - /** Liberian dollar */ - LRD = 'LRD', - /** Lesotho loti */ - LSL = 'LSL', - /** Libyan dinar */ - LYD = 'LYD', - /** Moroccan dirham */ - MAD = 'MAD', - /** Moldovan leu */ - MDL = 'MDL', - /** Malagasy ariary */ - MGA = 'MGA', - /** Macedonian denar */ - MKD = 'MKD', - /** Myanmar kyat */ - MMK = 'MMK', - /** Mongolian tögrög */ - MNT = 'MNT', - /** Macanese pataca */ - MOP = 'MOP', - /** Mauritanian ouguiya */ - MRU = 'MRU', - /** Mauritian rupee */ - MUR = 'MUR', - /** Maldivian rufiyaa */ - MVR = 'MVR', - /** Malawian kwacha */ - MWK = 'MWK', - /** Mexican peso */ - MXN = 'MXN', - /** Malaysian ringgit */ - MYR = 'MYR', - /** Mozambican metical */ - MZN = 'MZN', - /** Namibian dollar */ - NAD = 'NAD', - /** Nigerian naira */ - NGN = 'NGN', - /** Nicaraguan córdoba */ - NIO = 'NIO', - /** Norwegian krone */ - NOK = 'NOK', - /** Nepalese rupee */ - NPR = 'NPR', - /** New Zealand dollar */ - NZD = 'NZD', - /** Omani rial */ - OMR = 'OMR', - /** Panamanian balboa */ - PAB = 'PAB', - /** Peruvian sol */ - PEN = 'PEN', - /** Papua New Guinean kina */ - PGK = 'PGK', - /** Philippine peso */ - PHP = 'PHP', - /** Pakistani rupee */ - PKR = 'PKR', - /** Polish złoty */ - PLN = 'PLN', - /** Paraguayan guaraní */ - PYG = 'PYG', - /** Qatari riyal */ - QAR = 'QAR', - /** Romanian leu */ - RON = 'RON', - /** Serbian dinar */ - RSD = 'RSD', - /** Russian ruble */ - RUB = 'RUB', - /** Rwandan franc */ - RWF = 'RWF', - /** Saudi riyal */ - SAR = 'SAR', - /** Solomon Islands dollar */ - SBD = 'SBD', - /** Seychelles rupee */ - SCR = 'SCR', - /** Sudanese pound */ - SDG = 'SDG', - /** Swedish krona/kronor */ - SEK = 'SEK', - /** Singapore dollar */ - SGD = 'SGD', - /** Saint Helena pound */ - SHP = 'SHP', - /** Sierra Leonean leone */ - SLL = 'SLL', - /** Somali shilling */ - SOS = 'SOS', - /** Surinamese dollar */ - SRD = 'SRD', - /** South Sudanese pound */ - SSP = 'SSP', - /** São Tomé and Príncipe dobra */ - STN = 'STN', - /** Salvadoran colón */ - SVC = 'SVC', - /** Syrian pound */ - SYP = 'SYP', - /** Swazi lilangeni */ - SZL = 'SZL', - /** Thai baht */ - THB = 'THB', - /** Tajikistani somoni */ - TJS = 'TJS', - /** Turkmenistan manat */ - TMT = 'TMT', - /** Tunisian dinar */ - TND = 'TND', - /** Tongan paʻanga */ - TOP = 'TOP', - /** Turkish lira */ - TRY = 'TRY', - /** Trinidad and Tobago dollar */ - TTD = 'TTD', - /** New Taiwan dollar */ - TWD = 'TWD', - /** Tanzanian shilling */ - TZS = 'TZS', - /** Ukrainian hryvnia */ - UAH = 'UAH', - /** Ugandan shilling */ - UGX = 'UGX', - /** United States dollar */ - USD = 'USD', - /** Uruguayan peso */ - UYU = 'UYU', - /** Uzbekistan som */ - UZS = 'UZS', - /** Venezuelan bolívar soberano */ - VES = 'VES', - /** Vietnamese đồng */ - VND = 'VND', - /** Vanuatu vatu */ - VUV = 'VUV', - /** Samoan tala */ - WST = 'WST', - /** CFA franc BEAC */ - XAF = 'XAF', - /** East Caribbean dollar */ - XCD = 'XCD', - /** CFA franc BCEAO */ - XOF = 'XOF', - /** CFP franc (franc Pacifique) */ - XPF = 'XPF', - /** Yemeni rial */ - YER = 'YER', - /** South African rand */ - ZAR = 'ZAR', - /** Zambian kwacha */ - ZMW = 'ZMW', - /** Zimbabwean dollar */ - ZWL = 'ZWL' + /** United Arab Emirates dirham */ + AED = 'AED', + /** Afghan afghani */ + AFN = 'AFN', + /** Albanian lek */ + ALL = 'ALL', + /** Armenian dram */ + AMD = 'AMD', + /** Netherlands Antillean guilder */ + ANG = 'ANG', + /** Angolan kwanza */ + AOA = 'AOA', + /** Argentine peso */ + ARS = 'ARS', + /** Australian dollar */ + AUD = 'AUD', + /** Aruban florin */ + AWG = 'AWG', + /** Azerbaijani manat */ + AZN = 'AZN', + /** Bosnia and Herzegovina convertible mark */ + BAM = 'BAM', + /** Barbados dollar */ + BBD = 'BBD', + /** Bangladeshi taka */ + BDT = 'BDT', + /** Bulgarian lev */ + BGN = 'BGN', + /** Bahraini dinar */ + BHD = 'BHD', + /** Burundian franc */ + BIF = 'BIF', + /** Bermudian dollar */ + BMD = 'BMD', + /** Brunei dollar */ + BND = 'BND', + /** Boliviano */ + BOB = 'BOB', + /** Brazilian real */ + BRL = 'BRL', + /** Bahamian dollar */ + BSD = 'BSD', + /** Bhutanese ngultrum */ + BTN = 'BTN', + /** Botswana pula */ + BWP = 'BWP', + /** Belarusian ruble */ + BYN = 'BYN', + /** Belize dollar */ + BZD = 'BZD', + /** Canadian dollar */ + CAD = 'CAD', + /** Congolese franc */ + CDF = 'CDF', + /** Swiss franc */ + CHF = 'CHF', + /** Chilean peso */ + CLP = 'CLP', + /** Renminbi (Chinese) yuan */ + CNY = 'CNY', + /** Colombian peso */ + COP = 'COP', + /** Costa Rican colon */ + CRC = 'CRC', + /** Cuban convertible peso */ + CUC = 'CUC', + /** Cuban peso */ + CUP = 'CUP', + /** Cape Verde escudo */ + CVE = 'CVE', + /** Czech koruna */ + CZK = 'CZK', + /** Djiboutian franc */ + DJF = 'DJF', + /** Danish krone */ + DKK = 'DKK', + /** Dominican peso */ + DOP = 'DOP', + /** Algerian dinar */ + DZD = 'DZD', + /** Egyptian pound */ + EGP = 'EGP', + /** Eritrean nakfa */ + ERN = 'ERN', + /** Ethiopian birr */ + ETB = 'ETB', + /** Euro */ + EUR = 'EUR', + /** Fiji dollar */ + FJD = 'FJD', + /** Falkland Islands pound */ + FKP = 'FKP', + /** Pound sterling */ + GBP = 'GBP', + /** Georgian lari */ + GEL = 'GEL', + /** Ghanaian cedi */ + GHS = 'GHS', + /** Gibraltar pound */ + GIP = 'GIP', + /** Gambian dalasi */ + GMD = 'GMD', + /** Guinean franc */ + GNF = 'GNF', + /** Guatemalan quetzal */ + GTQ = 'GTQ', + /** Guyanese dollar */ + GYD = 'GYD', + /** Hong Kong dollar */ + HKD = 'HKD', + /** Honduran lempira */ + HNL = 'HNL', + /** Croatian kuna */ + HRK = 'HRK', + /** Haitian gourde */ + HTG = 'HTG', + /** Hungarian forint */ + HUF = 'HUF', + /** Indonesian rupiah */ + IDR = 'IDR', + /** Israeli new shekel */ + ILS = 'ILS', + /** Indian rupee */ + INR = 'INR', + /** Iraqi dinar */ + IQD = 'IQD', + /** Iranian rial */ + IRR = 'IRR', + /** Icelandic króna */ + ISK = 'ISK', + /** Jamaican dollar */ + JMD = 'JMD', + /** Jordanian dinar */ + JOD = 'JOD', + /** Japanese yen */ + JPY = 'JPY', + /** Kenyan shilling */ + KES = 'KES', + /** Kyrgyzstani som */ + KGS = 'KGS', + /** Cambodian riel */ + KHR = 'KHR', + /** Comoro franc */ + KMF = 'KMF', + /** North Korean won */ + KPW = 'KPW', + /** South Korean won */ + KRW = 'KRW', + /** Kuwaiti dinar */ + KWD = 'KWD', + /** Cayman Islands dollar */ + KYD = 'KYD', + /** Kazakhstani tenge */ + KZT = 'KZT', + /** Lao kip */ + LAK = 'LAK', + /** Lebanese pound */ + LBP = 'LBP', + /** Sri Lankan rupee */ + LKR = 'LKR', + /** Liberian dollar */ + LRD = 'LRD', + /** Lesotho loti */ + LSL = 'LSL', + /** Libyan dinar */ + LYD = 'LYD', + /** Moroccan dirham */ + MAD = 'MAD', + /** Moldovan leu */ + MDL = 'MDL', + /** Malagasy ariary */ + MGA = 'MGA', + /** Macedonian denar */ + MKD = 'MKD', + /** Myanmar kyat */ + MMK = 'MMK', + /** Mongolian tögrög */ + MNT = 'MNT', + /** Macanese pataca */ + MOP = 'MOP', + /** Mauritanian ouguiya */ + MRU = 'MRU', + /** Mauritian rupee */ + MUR = 'MUR', + /** Maldivian rufiyaa */ + MVR = 'MVR', + /** Malawian kwacha */ + MWK = 'MWK', + /** Mexican peso */ + MXN = 'MXN', + /** Malaysian ringgit */ + MYR = 'MYR', + /** Mozambican metical */ + MZN = 'MZN', + /** Namibian dollar */ + NAD = 'NAD', + /** Nigerian naira */ + NGN = 'NGN', + /** Nicaraguan córdoba */ + NIO = 'NIO', + /** Norwegian krone */ + NOK = 'NOK', + /** Nepalese rupee */ + NPR = 'NPR', + /** New Zealand dollar */ + NZD = 'NZD', + /** Omani rial */ + OMR = 'OMR', + /** Panamanian balboa */ + PAB = 'PAB', + /** Peruvian sol */ + PEN = 'PEN', + /** Papua New Guinean kina */ + PGK = 'PGK', + /** Philippine peso */ + PHP = 'PHP', + /** Pakistani rupee */ + PKR = 'PKR', + /** Polish złoty */ + PLN = 'PLN', + /** Paraguayan guaraní */ + PYG = 'PYG', + /** Qatari riyal */ + QAR = 'QAR', + /** Romanian leu */ + RON = 'RON', + /** Serbian dinar */ + RSD = 'RSD', + /** Russian ruble */ + RUB = 'RUB', + /** Rwandan franc */ + RWF = 'RWF', + /** Saudi riyal */ + SAR = 'SAR', + /** Solomon Islands dollar */ + SBD = 'SBD', + /** Seychelles rupee */ + SCR = 'SCR', + /** Sudanese pound */ + SDG = 'SDG', + /** Swedish krona/kronor */ + SEK = 'SEK', + /** Singapore dollar */ + SGD = 'SGD', + /** Saint Helena pound */ + SHP = 'SHP', + /** Sierra Leonean leone */ + SLL = 'SLL', + /** Somali shilling */ + SOS = 'SOS', + /** Surinamese dollar */ + SRD = 'SRD', + /** South Sudanese pound */ + SSP = 'SSP', + /** São Tomé and Príncipe dobra */ + STN = 'STN', + /** Salvadoran colón */ + SVC = 'SVC', + /** Syrian pound */ + SYP = 'SYP', + /** Swazi lilangeni */ + SZL = 'SZL', + /** Thai baht */ + THB = 'THB', + /** Tajikistani somoni */ + TJS = 'TJS', + /** Turkmenistan manat */ + TMT = 'TMT', + /** Tunisian dinar */ + TND = 'TND', + /** Tongan paʻanga */ + TOP = 'TOP', + /** Turkish lira */ + TRY = 'TRY', + /** Trinidad and Tobago dollar */ + TTD = 'TTD', + /** New Taiwan dollar */ + TWD = 'TWD', + /** Tanzanian shilling */ + TZS = 'TZS', + /** Ukrainian hryvnia */ + UAH = 'UAH', + /** Ugandan shilling */ + UGX = 'UGX', + /** United States dollar */ + USD = 'USD', + /** Uruguayan peso */ + UYU = 'UYU', + /** Uzbekistan som */ + UZS = 'UZS', + /** Venezuelan bolívar soberano */ + VES = 'VES', + /** Vietnamese đồng */ + VND = 'VND', + /** Vanuatu vatu */ + VUV = 'VUV', + /** Samoan tala */ + WST = 'WST', + /** CFA franc BEAC */ + XAF = 'XAF', + /** East Caribbean dollar */ + XCD = 'XCD', + /** CFA franc BCEAO */ + XOF = 'XOF', + /** CFP franc (franc Pacifique) */ + XPF = 'XPF', + /** Yemeni rial */ + YER = 'YER', + /** South African rand */ + ZAR = 'ZAR', + /** Zambian kwacha */ + ZMW = 'ZMW', + /** Zimbabwean dollar */ + ZWL = 'ZWL', } export type CurrentUser = { - __typename?: 'CurrentUser'; - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + __typename?: 'CurrentUser'; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + __typename?: 'CurrentUserChannel'; + code: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + token: Scalars['String']['output']; }; export type CurrentUserChannelInput = { - code: Scalars['String']['input']; - id: Scalars['ID']['input']; - permissions: Array; - token: Scalars['String']['input']; + code: Scalars['String']['input']; + id: Scalars['ID']['input']; + permissions: Array; + token: Scalars['String']['input']; }; export type CustomField = { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = + | BooleanCustomFieldConfig + | DateTimeCustomFieldConfig + | FloatCustomFieldConfig + | IntCustomFieldConfig + | LocaleStringCustomFieldConfig + | LocaleTextCustomFieldConfig + | RelationCustomFieldConfig + | StringCustomFieldConfig + | TextCustomFieldConfig; export type CustomFields = { - __typename?: 'CustomFields'; - Address: Array; - Administrator: Array; - Asset: Array; - Channel: Array; - Collection: Array; - Customer: Array; - CustomerGroup: Array; - Facet: Array; - FacetValue: Array; - Fulfillment: Array; - GlobalSettings: Array; - Order: Array; - OrderLine: Array; - PaymentMethod: Array; - Product: Array; - ProductOption: Array; - ProductOptionGroup: Array; - ProductVariant: Array; - Promotion: Array; - Region: Array; - Seller: Array; - ShippingMethod: Array; - StockLocation: Array; - TaxCategory: Array; - TaxRate: Array; - User: Array; - Zone: Array; + __typename?: 'CustomFields'; + Address: Array; + Administrator: Array; + Asset: Array; + Channel: Array; + Collection: Array; + Customer: Array; + CustomerGroup: Array; + Facet: Array; + FacetValue: Array; + Fulfillment: Array; + GlobalSettings: Array; + Order: Array; + OrderLine: Array; + PaymentMethod: Array; + Product: Array; + ProductOption: Array; + ProductOptionGroup: Array; + ProductVariant: Array; + Promotion: Array; + Region: Array; + Seller: Array; + ShippingMethod: Array; + StockLocation: Array; + TaxCategory: Array; + TaxRate: Array; + User: Array; + Zone: Array; }; export type Customer = Node & { - __typename?: 'Customer'; - addresses?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - groups: Array; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - orders: OrderList; - phoneNumber?: Maybe; - title?: Maybe; - updatedAt: Scalars['DateTime']['output']; - user?: Maybe; + __typename?: 'Customer'; + addresses?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + groups: Array; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + orders: OrderList; + phoneNumber?: Maybe; + title?: Maybe; + updatedAt: Scalars['DateTime']['output']; + user?: Maybe; }; - export type CustomerHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type CustomerOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CustomerGroup'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customers: CustomerList; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; - export type CustomerGroupCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerGroupFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroupList = PaginatedList & { - __typename?: 'CustomerGroupList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerGroupList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerGroupListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerGroupSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; /** Operators for filtering on a list of Date fields */ export type DateListOperators = { - inList: Scalars['DateTime']['input']; + inList: Scalars['DateTime']['input']; }; /** Operators for filtering on a DateTime field */ export type DateOperators = { - after?: InputMaybe; - before?: InputMaybe; - between?: InputMaybe; - eq?: InputMaybe; - isNull?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; export type DateRange = { - end: Scalars['DateTime']['input']; - start: Scalars['DateTime']['input']; + end: Scalars['DateTime']['input']; + start: Scalars['DateTime']['input']; }; /** @@ -1480,220 +1507,219 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - __typename?: 'DateTimeCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'DateTimeCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type DeleteAssetInput = { - assetId: Scalars['ID']['input']; - deleteFromAllChannels?: InputMaybe; - force?: InputMaybe; + assetId: Scalars['ID']['input']; + deleteFromAllChannels?: InputMaybe; + force?: InputMaybe; }; export type DeleteAssetsInput = { - assetIds: Array; - deleteFromAllChannels?: InputMaybe; - force?: InputMaybe; + assetIds: Array; + deleteFromAllChannels?: InputMaybe; + force?: InputMaybe; }; export type DeleteStockLocationInput = { - id: Scalars['ID']['input']; - transferToLocationId?: InputMaybe; + id: Scalars['ID']['input']; + transferToLocationId?: InputMaybe; }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; - message?: Maybe; - result: DeletionResult; + __typename?: 'DeletionResponse'; + message?: Maybe; + result: DeletionResult; }; export enum DeletionResult { - /** The entity was successfully deleted */ - DELETED = 'DELETED', - /** Deletion did not take place, reason given in message */ - NOT_DELETED = 'NOT_DELETED' + /** The entity was successfully deleted */ + DELETED = 'DELETED', + /** Deletion did not take place, reason given in message */ + NOT_DELETED = 'NOT_DELETED', } export type Discount = { - __typename?: 'Discount'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Discount'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - __typename?: 'EmailAddressConflictError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmailAddressConflictError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if no OrderLines have been specified for the operation */ export type EmptyOrderLineSelectionError = ErrorResult & { - __typename?: 'EmptyOrderLineSelectionError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmptyOrderLineSelectionError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum ErrorCode { - ALREADY_REFUNDED_ERROR = 'ALREADY_REFUNDED_ERROR', - CANCEL_ACTIVE_ORDER_ERROR = 'CANCEL_ACTIVE_ORDER_ERROR', - CANCEL_PAYMENT_ERROR = 'CANCEL_PAYMENT_ERROR', - CHANNEL_DEFAULT_LANGUAGE_ERROR = 'CHANNEL_DEFAULT_LANGUAGE_ERROR', - COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', - COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', - COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', - CREATE_FULFILLMENT_ERROR = 'CREATE_FULFILLMENT_ERROR', - EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', - EMPTY_ORDER_LINE_SELECTION_ERROR = 'EMPTY_ORDER_LINE_SELECTION_ERROR', - FACET_IN_USE_ERROR = 'FACET_IN_USE_ERROR', - FULFILLMENT_STATE_TRANSITION_ERROR = 'FULFILLMENT_STATE_TRANSITION_ERROR', - GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', - INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', - INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', - INSUFFICIENT_STOCK_ON_HAND_ERROR = 'INSUFFICIENT_STOCK_ON_HAND_ERROR', - INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', - INVALID_FULFILLMENT_HANDLER_ERROR = 'INVALID_FULFILLMENT_HANDLER_ERROR', - ITEMS_ALREADY_FULFILLED_ERROR = 'ITEMS_ALREADY_FULFILLED_ERROR', - LANGUAGE_NOT_AVAILABLE_ERROR = 'LANGUAGE_NOT_AVAILABLE_ERROR', - MANUAL_PAYMENT_STATE_ERROR = 'MANUAL_PAYMENT_STATE_ERROR', - MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', - MISSING_CONDITIONS_ERROR = 'MISSING_CONDITIONS_ERROR', - MULTIPLE_ORDER_ERROR = 'MULTIPLE_ORDER_ERROR', - NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', - NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', - NOTHING_TO_REFUND_ERROR = 'NOTHING_TO_REFUND_ERROR', - NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', - NO_CHANGES_SPECIFIED_ERROR = 'NO_CHANGES_SPECIFIED_ERROR', - ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', - ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', - ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', - ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', - PAYMENT_METHOD_MISSING_ERROR = 'PAYMENT_METHOD_MISSING_ERROR', - PAYMENT_ORDER_MISMATCH_ERROR = 'PAYMENT_ORDER_MISMATCH_ERROR', - PAYMENT_STATE_TRANSITION_ERROR = 'PAYMENT_STATE_TRANSITION_ERROR', - PRODUCT_OPTION_IN_USE_ERROR = 'PRODUCT_OPTION_IN_USE_ERROR', - QUANTITY_TOO_GREAT_ERROR = 'QUANTITY_TOO_GREAT_ERROR', - REFUND_ORDER_STATE_ERROR = 'REFUND_ORDER_STATE_ERROR', - REFUND_PAYMENT_ID_MISSING_ERROR = 'REFUND_PAYMENT_ID_MISSING_ERROR', - REFUND_STATE_TRANSITION_ERROR = 'REFUND_STATE_TRANSITION_ERROR', - SETTLE_PAYMENT_ERROR = 'SETTLE_PAYMENT_ERROR', - UNKNOWN_ERROR = 'UNKNOWN_ERROR' + ALREADY_REFUNDED_ERROR = 'ALREADY_REFUNDED_ERROR', + CANCEL_ACTIVE_ORDER_ERROR = 'CANCEL_ACTIVE_ORDER_ERROR', + CANCEL_PAYMENT_ERROR = 'CANCEL_PAYMENT_ERROR', + CHANNEL_DEFAULT_LANGUAGE_ERROR = 'CHANNEL_DEFAULT_LANGUAGE_ERROR', + COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', + COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', + COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', + CREATE_FULFILLMENT_ERROR = 'CREATE_FULFILLMENT_ERROR', + EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', + EMPTY_ORDER_LINE_SELECTION_ERROR = 'EMPTY_ORDER_LINE_SELECTION_ERROR', + FACET_IN_USE_ERROR = 'FACET_IN_USE_ERROR', + FULFILLMENT_STATE_TRANSITION_ERROR = 'FULFILLMENT_STATE_TRANSITION_ERROR', + GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', + INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', + INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', + INSUFFICIENT_STOCK_ON_HAND_ERROR = 'INSUFFICIENT_STOCK_ON_HAND_ERROR', + INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', + INVALID_FULFILLMENT_HANDLER_ERROR = 'INVALID_FULFILLMENT_HANDLER_ERROR', + ITEMS_ALREADY_FULFILLED_ERROR = 'ITEMS_ALREADY_FULFILLED_ERROR', + LANGUAGE_NOT_AVAILABLE_ERROR = 'LANGUAGE_NOT_AVAILABLE_ERROR', + MANUAL_PAYMENT_STATE_ERROR = 'MANUAL_PAYMENT_STATE_ERROR', + MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', + MISSING_CONDITIONS_ERROR = 'MISSING_CONDITIONS_ERROR', + MULTIPLE_ORDER_ERROR = 'MULTIPLE_ORDER_ERROR', + NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', + NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', + NOTHING_TO_REFUND_ERROR = 'NOTHING_TO_REFUND_ERROR', + NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', + NO_CHANGES_SPECIFIED_ERROR = 'NO_CHANGES_SPECIFIED_ERROR', + ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', + ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', + ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', + PAYMENT_METHOD_MISSING_ERROR = 'PAYMENT_METHOD_MISSING_ERROR', + PAYMENT_ORDER_MISMATCH_ERROR = 'PAYMENT_ORDER_MISMATCH_ERROR', + PAYMENT_STATE_TRANSITION_ERROR = 'PAYMENT_STATE_TRANSITION_ERROR', + PRODUCT_OPTION_IN_USE_ERROR = 'PRODUCT_OPTION_IN_USE_ERROR', + QUANTITY_TOO_GREAT_ERROR = 'QUANTITY_TOO_GREAT_ERROR', + REFUND_ORDER_STATE_ERROR = 'REFUND_ORDER_STATE_ERROR', + REFUND_PAYMENT_ID_MISSING_ERROR = 'REFUND_PAYMENT_ID_MISSING_ERROR', + REFUND_STATE_TRANSITION_ERROR = 'REFUND_STATE_TRANSITION_ERROR', + SETTLE_PAYMENT_ERROR = 'SETTLE_PAYMENT_ERROR', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', } export type ErrorResult = { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Facet = Node & { - __typename?: 'Facet'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isPrivate: Scalars['Boolean']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - /** Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0. */ - valueList: FacetValueList; - values: Array; + __typename?: 'Facet'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isPrivate: Scalars['Boolean']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + /** Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0. */ + valueList: FacetValueList; + values: Array; }; - export type FacetValueListArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type FacetFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetInUseError = ErrorResult & { - __typename?: 'FacetInUseError'; - errorCode: ErrorCode; - facetCode: Scalars['String']['output']; - message: Scalars['String']['output']; - productCount: Scalars['Int']['output']; - variantCount: Scalars['Int']['output']; + __typename?: 'FacetInUseError'; + errorCode: ErrorCode; + facetCode: Scalars['String']['output']; + message: Scalars['String']['output']; + productCount: Scalars['Int']['output']; + variantCount: Scalars['Int']['output']; }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type FacetSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type FacetValue = Node & { - __typename?: 'FacetValue'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - facet: Facet; - facetId: Scalars['ID']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValue'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + facet: Facet; + facetId: Scalars['ID']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -1705,37 +1731,37 @@ export type FacetValue = Node & { * * ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }` */ export type FacetValueFilterInput = { - and?: InputMaybe; - or?: InputMaybe>; + and?: InputMaybe; + or?: InputMaybe>; }; export type FacetValueFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + facetId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueList = PaginatedList & { - __typename?: 'FacetValueList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetValueList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetValueListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -1743,223 +1769,223 @@ export type FacetValueListOptions = { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; - count: Scalars['Int']['output']; - facetValue: FacetValue; + __typename?: 'FacetValueResult'; + count: Scalars['Int']['output']; + facetValue: FacetValue; }; export type FacetValueSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + facetId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValueTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetValueTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'FloatCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FulfillOrderInput = { - handler: ConfigurableOperationInput; - lines: Array; + handler: ConfigurableOperationInput; + lines: Array; }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - lines: Array; - method: Scalars['String']['output']; - nextStates: Array; - state: Scalars['String']['output']; - /** @deprecated Use the `lines` field instead */ - summary: Array; - trackingCode?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Fulfillment'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + lines: Array; + method: Scalars['String']['output']; + nextStates: Array; + state: Scalars['String']['output']; + /** @deprecated Use the `lines` field instead */ + summary: Array; + trackingCode?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type FulfillmentLine = { - __typename?: 'FulfillmentLine'; - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'FulfillmentLine'; + fulfillment: Fulfillment; + fulfillmentId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; /** Returned when there is an error in transitioning the Fulfillment state */ export type FulfillmentStateTransitionError = ErrorResult & { - __typename?: 'FulfillmentStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'FulfillmentStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; export enum GlobalFlag { - FALSE = 'FALSE', - INHERIT = 'INHERIT', - TRUE = 'TRUE' + FALSE = 'FALSE', + INHERIT = 'INHERIT', + TRUE = 'TRUE', } export type GlobalSettings = { - __typename?: 'GlobalSettings'; - availableLanguages: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - outOfStockThreshold: Scalars['Int']['output']; - serverConfig: ServerConfig; - trackInventory: Scalars['Boolean']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'GlobalSettings'; + availableLanguages: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + outOfStockThreshold: Scalars['Int']['output']; + serverConfig: ServerConfig; + trackInventory: Scalars['Boolean']['output']; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it. */ export type GuestCheckoutError = ErrorResult & { - __typename?: 'GuestCheckoutError'; - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'GuestCheckoutError'; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; - administrator?: Maybe; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - isPublic: Scalars['Boolean']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'HistoryEntry'; + administrator?: Maybe; + createdAt: Scalars['DateTime']['output']; + data: Scalars['JSON']['output']; + id: Scalars['ID']['output']; + isPublic: Scalars['Boolean']['output']; + type: HistoryEntryType; + updatedAt: Scalars['DateTime']['output']; }; export type HistoryEntryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - isPublic?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPublic?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'HistoryEntryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type HistoryEntrySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export enum HistoryEntryType { - CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', - CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', - CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', - CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', - CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', - CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', - CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', - CUSTOMER_NOTE = 'CUSTOMER_NOTE', - CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', - CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', - CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', - CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', - CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', - CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', - ORDER_CANCELLATION = 'ORDER_CANCELLATION', - ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', - ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', - ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', - ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', - ORDER_MODIFIED = 'ORDER_MODIFIED', - ORDER_NOTE = 'ORDER_NOTE', - ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', - ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', - ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION' + CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', + CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', + CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', + CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', + CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', + CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', + CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', + CUSTOMER_NOTE = 'CUSTOMER_NOTE', + CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', + CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', + CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', + CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', + CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', + CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', + ORDER_CANCELLATION = 'ORDER_CANCELLATION', + ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', + ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', + ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', + ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', + ORDER_MODIFIED = 'ORDER_MODIFIED', + ORDER_NOTE = 'ORDER_NOTE', + ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', + ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', + ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION', } /** Operators for filtering on a list of ID fields */ export type IdListOperators = { - inList: Scalars['ID']['input']; + inList: Scalars['ID']['input']; }; /** Operators for filtering on an ID field */ export type IdOperators = { - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; }; export type ImportInfo = { - __typename?: 'ImportInfo'; - errors?: Maybe>; - imported: Scalars['Int']['output']; - processed: Scalars['Int']['output']; + __typename?: 'ImportInfo'; + errors?: Maybe>; + imported: Scalars['Int']['output']; + processed: Scalars['Int']['output']; }; /** Returned when attempting to set a ShippingMethod for which the Order is not eligible */ export type IneligibleShippingMethodError = ErrorResult & { - __typename?: 'IneligibleShippingMethodError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'IneligibleShippingMethodError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - __typename?: 'InsufficientStockError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + __typename?: 'InsufficientStockError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; /** @@ -1967,125 +1993,125 @@ export type InsufficientStockError = ErrorResult & { * stockOnHand of a ProductVariant to satisfy the requested quantity. */ export type InsufficientStockOnHandError = ErrorResult & { - __typename?: 'InsufficientStockOnHandError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - stockOnHand: Scalars['Int']['output']; + __typename?: 'InsufficientStockOnHandError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + stockOnHand: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'IntCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - __typename?: 'InvalidCredentialsError'; - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidCredentialsError'; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified FulfillmentHandler code is not valid */ export type InvalidFulfillmentHandlerError = ErrorResult & { - __typename?: 'InvalidFulfillmentHandlerError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidFulfillmentHandlerError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified items are already part of a Fulfillment */ export type ItemsAlreadyFulfilledError = ErrorResult & { - __typename?: 'ItemsAlreadyFulfilledError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'ItemsAlreadyFulfilledError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Job = Node & { - __typename?: 'Job'; - attempts: Scalars['Int']['output']; - createdAt: Scalars['DateTime']['output']; - data?: Maybe; - duration: Scalars['Int']['output']; - error?: Maybe; - id: Scalars['ID']['output']; - isSettled: Scalars['Boolean']['output']; - progress: Scalars['Float']['output']; - queueName: Scalars['String']['output']; - result?: Maybe; - retries: Scalars['Int']['output']; - settledAt?: Maybe; - startedAt?: Maybe; - state: JobState; + __typename?: 'Job'; + attempts: Scalars['Int']['output']; + createdAt: Scalars['DateTime']['output']; + data?: Maybe; + duration: Scalars['Int']['output']; + error?: Maybe; + id: Scalars['ID']['output']; + isSettled: Scalars['Boolean']['output']; + progress: Scalars['Float']['output']; + queueName: Scalars['String']['output']; + result?: Maybe; + retries: Scalars['Int']['output']; + settledAt?: Maybe; + startedAt?: Maybe; + state: JobState; }; export type JobBufferSize = { - __typename?: 'JobBufferSize'; - bufferId: Scalars['String']['output']; - size: Scalars['Int']['output']; + __typename?: 'JobBufferSize'; + bufferId: Scalars['String']['output']; + size: Scalars['Int']['output']; }; export type JobFilterParameter = { - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - isSettled?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; - state?: InputMaybe; + attempts?: InputMaybe; + createdAt?: InputMaybe; + duration?: InputMaybe; + id?: InputMaybe; + isSettled?: InputMaybe; + progress?: InputMaybe; + queueName?: InputMaybe; + retries?: InputMaybe; + settledAt?: InputMaybe; + startedAt?: InputMaybe; + state?: InputMaybe; }; export type JobList = PaginatedList & { - __typename?: 'JobList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'JobList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type JobListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type JobQueue = { - __typename?: 'JobQueue'; - name: Scalars['String']['output']; - running: Scalars['Boolean']['output']; + __typename?: 'JobQueue'; + name: Scalars['String']['output']; + running: Scalars['Boolean']['output']; }; export type JobSortParameter = { - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; + attempts?: InputMaybe; + createdAt?: InputMaybe; + duration?: InputMaybe; + id?: InputMaybe; + progress?: InputMaybe; + queueName?: InputMaybe; + retries?: InputMaybe; + settledAt?: InputMaybe; + startedAt?: InputMaybe; }; /** @@ -2095,12 +2121,12 @@ export type JobSortParameter = { * @docsCategory common */ export enum JobState { - CANCELLED = 'CANCELLED', - COMPLETED = 'COMPLETED', - FAILED = 'FAILED', - PENDING = 'PENDING', - RETRYING = 'RETRYING', - RUNNING = 'RUNNING' + CANCELLED = 'CANCELLED', + COMPLETED = 'COMPLETED', + FAILED = 'FAILED', + PENDING = 'PENDING', + RETRYING = 'RETRYING', + RUNNING = 'RUNNING', } /** @@ -2113,374 +2139,374 @@ export enum JobState { * @docsCategory common */ export enum LanguageCode { - /** Afrikaans */ - af = 'af', - /** Akan */ - ak = 'ak', - /** Amharic */ - am = 'am', - /** Arabic */ - ar = 'ar', - /** Assamese */ - as = 'as', - /** Azerbaijani */ - az = 'az', - /** Belarusian */ - be = 'be', - /** Bulgarian */ - bg = 'bg', - /** Bambara */ - bm = 'bm', - /** Bangla */ - bn = 'bn', - /** Tibetan */ - bo = 'bo', - /** Breton */ - br = 'br', - /** Bosnian */ - bs = 'bs', - /** Catalan */ - ca = 'ca', - /** Chechen */ - ce = 'ce', - /** Corsican */ - co = 'co', - /** Czech */ - cs = 'cs', - /** Church Slavic */ - cu = 'cu', - /** Welsh */ - cy = 'cy', - /** Danish */ - da = 'da', - /** German */ - de = 'de', - /** Austrian German */ - de_AT = 'de_AT', - /** Swiss High German */ - de_CH = 'de_CH', - /** Dzongkha */ - dz = 'dz', - /** Ewe */ - ee = 'ee', - /** Greek */ - el = 'el', - /** English */ - en = 'en', - /** Australian English */ - en_AU = 'en_AU', - /** Canadian English */ - en_CA = 'en_CA', - /** British English */ - en_GB = 'en_GB', - /** American English */ - en_US = 'en_US', - /** Esperanto */ - eo = 'eo', - /** Spanish */ - es = 'es', - /** European Spanish */ - es_ES = 'es_ES', - /** Mexican Spanish */ - es_MX = 'es_MX', - /** Estonian */ - et = 'et', - /** Basque */ - eu = 'eu', - /** Persian */ - fa = 'fa', - /** Dari */ - fa_AF = 'fa_AF', - /** Fulah */ - ff = 'ff', - /** Finnish */ - fi = 'fi', - /** Faroese */ - fo = 'fo', - /** French */ - fr = 'fr', - /** Canadian French */ - fr_CA = 'fr_CA', - /** Swiss French */ - fr_CH = 'fr_CH', - /** Western Frisian */ - fy = 'fy', - /** Irish */ - ga = 'ga', - /** Scottish Gaelic */ - gd = 'gd', - /** Galician */ - gl = 'gl', - /** Gujarati */ - gu = 'gu', - /** Manx */ - gv = 'gv', - /** Hausa */ - ha = 'ha', - /** Hebrew */ - he = 'he', - /** Hindi */ - hi = 'hi', - /** Croatian */ - hr = 'hr', - /** Haitian Creole */ - ht = 'ht', - /** Hungarian */ - hu = 'hu', - /** Armenian */ - hy = 'hy', - /** Interlingua */ - ia = 'ia', - /** Indonesian */ - id = 'id', - /** Igbo */ - ig = 'ig', - /** Sichuan Yi */ - ii = 'ii', - /** Icelandic */ - is = 'is', - /** Italian */ - it = 'it', - /** Japanese */ - ja = 'ja', - /** Javanese */ - jv = 'jv', - /** Georgian */ - ka = 'ka', - /** Kikuyu */ - ki = 'ki', - /** Kazakh */ - kk = 'kk', - /** Kalaallisut */ - kl = 'kl', - /** Khmer */ - km = 'km', - /** Kannada */ - kn = 'kn', - /** Korean */ - ko = 'ko', - /** Kashmiri */ - ks = 'ks', - /** Kurdish */ - ku = 'ku', - /** Cornish */ - kw = 'kw', - /** Kyrgyz */ - ky = 'ky', - /** Latin */ - la = 'la', - /** Luxembourgish */ - lb = 'lb', - /** Ganda */ - lg = 'lg', - /** Lingala */ - ln = 'ln', - /** Lao */ - lo = 'lo', - /** Lithuanian */ - lt = 'lt', - /** Luba-Katanga */ - lu = 'lu', - /** Latvian */ - lv = 'lv', - /** Malagasy */ - mg = 'mg', - /** Maori */ - mi = 'mi', - /** Macedonian */ - mk = 'mk', - /** Malayalam */ - ml = 'ml', - /** Mongolian */ - mn = 'mn', - /** Marathi */ - mr = 'mr', - /** Malay */ - ms = 'ms', - /** Maltese */ - mt = 'mt', - /** Burmese */ - my = 'my', - /** Norwegian Bokmål */ - nb = 'nb', - /** North Ndebele */ - nd = 'nd', - /** Nepali */ - ne = 'ne', - /** Dutch */ - nl = 'nl', - /** Flemish */ - nl_BE = 'nl_BE', - /** Norwegian Nynorsk */ - nn = 'nn', - /** Nyanja */ - ny = 'ny', - /** Oromo */ - om = 'om', - /** Odia */ - or = 'or', - /** Ossetic */ - os = 'os', - /** Punjabi */ - pa = 'pa', - /** Polish */ - pl = 'pl', - /** Pashto */ - ps = 'ps', - /** Portuguese */ - pt = 'pt', - /** Brazilian Portuguese */ - pt_BR = 'pt_BR', - /** European Portuguese */ - pt_PT = 'pt_PT', - /** Quechua */ - qu = 'qu', - /** Romansh */ - rm = 'rm', - /** Rundi */ - rn = 'rn', - /** Romanian */ - ro = 'ro', - /** Moldavian */ - ro_MD = 'ro_MD', - /** Russian */ - ru = 'ru', - /** Kinyarwanda */ - rw = 'rw', - /** Sanskrit */ - sa = 'sa', - /** Sindhi */ - sd = 'sd', - /** Northern Sami */ - se = 'se', - /** Sango */ - sg = 'sg', - /** Sinhala */ - si = 'si', - /** Slovak */ - sk = 'sk', - /** Slovenian */ - sl = 'sl', - /** Samoan */ - sm = 'sm', - /** Shona */ - sn = 'sn', - /** Somali */ - so = 'so', - /** Albanian */ - sq = 'sq', - /** Serbian */ - sr = 'sr', - /** Southern Sotho */ - st = 'st', - /** Sundanese */ - su = 'su', - /** Swedish */ - sv = 'sv', - /** Swahili */ - sw = 'sw', - /** Congo Swahili */ - sw_CD = 'sw_CD', - /** Tamil */ - ta = 'ta', - /** Telugu */ - te = 'te', - /** Tajik */ - tg = 'tg', - /** Thai */ - th = 'th', - /** Tigrinya */ - ti = 'ti', - /** Turkmen */ - tk = 'tk', - /** Tongan */ - to = 'to', - /** Turkish */ - tr = 'tr', - /** Tatar */ - tt = 'tt', - /** Uyghur */ - ug = 'ug', - /** Ukrainian */ - uk = 'uk', - /** Urdu */ - ur = 'ur', - /** Uzbek */ - uz = 'uz', - /** Vietnamese */ - vi = 'vi', - /** Volapük */ - vo = 'vo', - /** Wolof */ - wo = 'wo', - /** Xhosa */ - xh = 'xh', - /** Yiddish */ - yi = 'yi', - /** Yoruba */ - yo = 'yo', - /** Chinese */ - zh = 'zh', - /** Simplified Chinese */ - zh_Hans = 'zh_Hans', - /** Traditional Chinese */ - zh_Hant = 'zh_Hant', - /** Zulu */ - zu = 'zu' + /** Afrikaans */ + af = 'af', + /** Akan */ + ak = 'ak', + /** Amharic */ + am = 'am', + /** Arabic */ + ar = 'ar', + /** Assamese */ + as = 'as', + /** Azerbaijani */ + az = 'az', + /** Belarusian */ + be = 'be', + /** Bulgarian */ + bg = 'bg', + /** Bambara */ + bm = 'bm', + /** Bangla */ + bn = 'bn', + /** Tibetan */ + bo = 'bo', + /** Breton */ + br = 'br', + /** Bosnian */ + bs = 'bs', + /** Catalan */ + ca = 'ca', + /** Chechen */ + ce = 'ce', + /** Corsican */ + co = 'co', + /** Czech */ + cs = 'cs', + /** Church Slavic */ + cu = 'cu', + /** Welsh */ + cy = 'cy', + /** Danish */ + da = 'da', + /** German */ + de = 'de', + /** Austrian German */ + de_AT = 'de_AT', + /** Swiss High German */ + de_CH = 'de_CH', + /** Dzongkha */ + dz = 'dz', + /** Ewe */ + ee = 'ee', + /** Greek */ + el = 'el', + /** English */ + en = 'en', + /** Australian English */ + en_AU = 'en_AU', + /** Canadian English */ + en_CA = 'en_CA', + /** British English */ + en_GB = 'en_GB', + /** American English */ + en_US = 'en_US', + /** Esperanto */ + eo = 'eo', + /** Spanish */ + es = 'es', + /** European Spanish */ + es_ES = 'es_ES', + /** Mexican Spanish */ + es_MX = 'es_MX', + /** Estonian */ + et = 'et', + /** Basque */ + eu = 'eu', + /** Persian */ + fa = 'fa', + /** Dari */ + fa_AF = 'fa_AF', + /** Fulah */ + ff = 'ff', + /** Finnish */ + fi = 'fi', + /** Faroese */ + fo = 'fo', + /** French */ + fr = 'fr', + /** Canadian French */ + fr_CA = 'fr_CA', + /** Swiss French */ + fr_CH = 'fr_CH', + /** Western Frisian */ + fy = 'fy', + /** Irish */ + ga = 'ga', + /** Scottish Gaelic */ + gd = 'gd', + /** Galician */ + gl = 'gl', + /** Gujarati */ + gu = 'gu', + /** Manx */ + gv = 'gv', + /** Hausa */ + ha = 'ha', + /** Hebrew */ + he = 'he', + /** Hindi */ + hi = 'hi', + /** Croatian */ + hr = 'hr', + /** Haitian Creole */ + ht = 'ht', + /** Hungarian */ + hu = 'hu', + /** Armenian */ + hy = 'hy', + /** Interlingua */ + ia = 'ia', + /** Indonesian */ + id = 'id', + /** Igbo */ + ig = 'ig', + /** Sichuan Yi */ + ii = 'ii', + /** Icelandic */ + is = 'is', + /** Italian */ + it = 'it', + /** Japanese */ + ja = 'ja', + /** Javanese */ + jv = 'jv', + /** Georgian */ + ka = 'ka', + /** Kikuyu */ + ki = 'ki', + /** Kazakh */ + kk = 'kk', + /** Kalaallisut */ + kl = 'kl', + /** Khmer */ + km = 'km', + /** Kannada */ + kn = 'kn', + /** Korean */ + ko = 'ko', + /** Kashmiri */ + ks = 'ks', + /** Kurdish */ + ku = 'ku', + /** Cornish */ + kw = 'kw', + /** Kyrgyz */ + ky = 'ky', + /** Latin */ + la = 'la', + /** Luxembourgish */ + lb = 'lb', + /** Ganda */ + lg = 'lg', + /** Lingala */ + ln = 'ln', + /** Lao */ + lo = 'lo', + /** Lithuanian */ + lt = 'lt', + /** Luba-Katanga */ + lu = 'lu', + /** Latvian */ + lv = 'lv', + /** Malagasy */ + mg = 'mg', + /** Maori */ + mi = 'mi', + /** Macedonian */ + mk = 'mk', + /** Malayalam */ + ml = 'ml', + /** Mongolian */ + mn = 'mn', + /** Marathi */ + mr = 'mr', + /** Malay */ + ms = 'ms', + /** Maltese */ + mt = 'mt', + /** Burmese */ + my = 'my', + /** Norwegian Bokmål */ + nb = 'nb', + /** North Ndebele */ + nd = 'nd', + /** Nepali */ + ne = 'ne', + /** Dutch */ + nl = 'nl', + /** Flemish */ + nl_BE = 'nl_BE', + /** Norwegian Nynorsk */ + nn = 'nn', + /** Nyanja */ + ny = 'ny', + /** Oromo */ + om = 'om', + /** Odia */ + or = 'or', + /** Ossetic */ + os = 'os', + /** Punjabi */ + pa = 'pa', + /** Polish */ + pl = 'pl', + /** Pashto */ + ps = 'ps', + /** Portuguese */ + pt = 'pt', + /** Brazilian Portuguese */ + pt_BR = 'pt_BR', + /** European Portuguese */ + pt_PT = 'pt_PT', + /** Quechua */ + qu = 'qu', + /** Romansh */ + rm = 'rm', + /** Rundi */ + rn = 'rn', + /** Romanian */ + ro = 'ro', + /** Moldavian */ + ro_MD = 'ro_MD', + /** Russian */ + ru = 'ru', + /** Kinyarwanda */ + rw = 'rw', + /** Sanskrit */ + sa = 'sa', + /** Sindhi */ + sd = 'sd', + /** Northern Sami */ + se = 'se', + /** Sango */ + sg = 'sg', + /** Sinhala */ + si = 'si', + /** Slovak */ + sk = 'sk', + /** Slovenian */ + sl = 'sl', + /** Samoan */ + sm = 'sm', + /** Shona */ + sn = 'sn', + /** Somali */ + so = 'so', + /** Albanian */ + sq = 'sq', + /** Serbian */ + sr = 'sr', + /** Southern Sotho */ + st = 'st', + /** Sundanese */ + su = 'su', + /** Swedish */ + sv = 'sv', + /** Swahili */ + sw = 'sw', + /** Congo Swahili */ + sw_CD = 'sw_CD', + /** Tamil */ + ta = 'ta', + /** Telugu */ + te = 'te', + /** Tajik */ + tg = 'tg', + /** Thai */ + th = 'th', + /** Tigrinya */ + ti = 'ti', + /** Turkmen */ + tk = 'tk', + /** Tongan */ + to = 'to', + /** Turkish */ + tr = 'tr', + /** Tatar */ + tt = 'tt', + /** Uyghur */ + ug = 'ug', + /** Ukrainian */ + uk = 'uk', + /** Urdu */ + ur = 'ur', + /** Uzbek */ + uz = 'uz', + /** Vietnamese */ + vi = 'vi', + /** Volapük */ + vo = 'vo', + /** Wolof */ + wo = 'wo', + /** Xhosa */ + xh = 'xh', + /** Yiddish */ + yi = 'yi', + /** Yoruba */ + yo = 'yo', + /** Chinese */ + zh = 'zh', + /** Simplified Chinese */ + zh_Hans = 'zh_Hans', + /** Traditional Chinese */ + zh_Hant = 'zh_Hant', + /** Zulu */ + zu = 'zu', } /** Returned if attempting to set a Channel's defaultLanguageCode to a language which is not enabled in GlobalSettings */ export type LanguageNotAvailableError = ErrorResult & { - __typename?: 'LanguageNotAvailableError'; - errorCode: ErrorCode; - languageCode: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'LanguageNotAvailableError'; + errorCode: ErrorCode; + languageCode: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleStringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - __typename?: 'LocaleTextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleTextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - __typename?: 'LocalizedString'; - languageCode: LanguageCode; - value: Scalars['String']['output']; + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: Scalars['String']['output']; }; export enum LogicalOperator { - AND = 'AND', - OR = 'OR' + AND = 'AND', + OR = 'OR', } export type ManualPaymentInput = { - metadata?: InputMaybe; - method: Scalars['String']['input']; - orderId: Scalars['ID']['input']; - transactionId?: InputMaybe; + metadata?: InputMaybe; + method: Scalars['String']['input']; + orderId: Scalars['ID']['input']; + transactionId?: InputMaybe; }; /** @@ -2488,1292 +2514,1138 @@ export type ManualPaymentInput = { * is not in the required state. */ export type ManualPaymentStateError = ErrorResult & { - __typename?: 'ManualPaymentStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'ManualPaymentStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum MetricInterval { - Daily = 'Daily' + Daily = 'Daily', } export type MetricSummary = { - __typename?: 'MetricSummary'; - entries: Array; - interval: MetricInterval; - title: Scalars['String']['output']; - type: MetricType; + __typename?: 'MetricSummary'; + entries: Array; + interval: MetricInterval; + title: Scalars['String']['output']; + type: MetricType; }; export type MetricSummaryEntry = { - __typename?: 'MetricSummaryEntry'; - label: Scalars['String']['output']; - value: Scalars['Float']['output']; + __typename?: 'MetricSummaryEntry'; + label: Scalars['String']['output']; + value: Scalars['Float']['output']; }; export type MetricSummaryInput = { - interval: MetricInterval; - refresh?: InputMaybe; - types: Array; + interval: MetricInterval; + refresh?: InputMaybe; + types: Array; }; export enum MetricType { - AverageOrderValue = 'AverageOrderValue', - OrderCount = 'OrderCount', - OrderTotal = 'OrderTotal' + AverageOrderValue = 'AverageOrderValue', + OrderCount = 'OrderCount', + OrderTotal = 'OrderTotal', } export type MimeTypeError = ErrorResult & { - __typename?: 'MimeTypeError'; - errorCode: ErrorCode; - fileName: Scalars['String']['output']; - message: Scalars['String']['output']; - mimeType: Scalars['String']['output']; + __typename?: 'MimeTypeError'; + errorCode: ErrorCode; + fileName: Scalars['String']['output']; + message: Scalars['String']['output']; + mimeType: Scalars['String']['output']; }; /** Returned if a PromotionCondition has neither a couponCode nor any conditions set */ export type MissingConditionsError = ErrorResult & { - __typename?: 'MissingConditionsError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MissingConditionsError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type ModifyOrderInput = { - addItems?: InputMaybe>; - adjustOrderLines?: InputMaybe>; - couponCodes?: InputMaybe>; - dryRun: Scalars['Boolean']['input']; - note?: InputMaybe; - options?: InputMaybe; - orderId: Scalars['ID']['input']; - refund?: InputMaybe; - surcharges?: InputMaybe>; - updateBillingAddress?: InputMaybe; - updateShippingAddress?: InputMaybe; + addItems?: InputMaybe>; + adjustOrderLines?: InputMaybe>; + couponCodes?: InputMaybe>; + dryRun: Scalars['Boolean']['input']; + note?: InputMaybe; + options?: InputMaybe; + orderId: Scalars['ID']['input']; + refund?: InputMaybe; + surcharges?: InputMaybe>; + updateBillingAddress?: InputMaybe; + updateShippingAddress?: InputMaybe; }; export type ModifyOrderOptions = { - freezePromotions?: InputMaybe; - recalculateShipping?: InputMaybe; -}; - -export type ModifyOrderResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | InsufficientStockError | NegativeQuantityError | NoChangesSpecifiedError | Order | OrderLimitError | OrderModificationStateError | PaymentMethodMissingError | RefundPaymentIdMissingError; + freezePromotions?: InputMaybe; + recalculateShipping?: InputMaybe; +}; + +export type ModifyOrderResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | InsufficientStockError + | NegativeQuantityError + | NoChangesSpecifiedError + | Order + | OrderLimitError + | OrderModificationStateError + | PaymentMethodMissingError + | RefundPaymentIdMissingError; export type MoveCollectionInput = { - collectionId: Scalars['ID']['input']; - index: Scalars['Int']['input']; - parentId: Scalars['ID']['input']; + collectionId: Scalars['ID']['input']; + index: Scalars['Int']['input']; + parentId: Scalars['ID']['input']; }; /** Returned if an operation has specified OrderLines from multiple Orders */ export type MultipleOrderError = ErrorResult & { - __typename?: 'MultipleOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MultipleOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Mutation = { - __typename?: 'Mutation'; - /** Add Customers to a CustomerGroup */ - addCustomersToGroup: CustomerGroup; - addFulfillmentToOrder: AddFulfillmentToOrderResult; - /** Adds an item to the draft Order. */ - addItemToDraftOrder: UpdateOrderItemsResult; - /** - * Used to manually create a new Payment against an Order. - * This can be used by an Administrator when an Order is in the ArrangingPayment state. - * - * It is also used when a completed Order - * has been modified (using `modifyOrder`) and the price has increased. The extra payment - * can then be manually arranged by the administrator, and the details used to create a new - * Payment. - */ - addManualPaymentToOrder: AddManualPaymentToOrderResult; - /** Add members to a Zone */ - addMembersToZone: Zone; - addNoteToCustomer: Customer; - addNoteToOrder: Order; - /** Add an OptionGroup to a Product */ - addOptionGroupToProduct: Product; - /** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ - adjustDraftOrderLine: UpdateOrderItemsResult; - /** Applies the given coupon code to the draft Order */ - applyCouponCodeToDraftOrder: ApplyCouponCodeResult; - /** Assign assets to channel */ - assignAssetsToChannel: Array; - /** Assigns Collections to the specified Channel */ - assignCollectionsToChannel: Array; - /** Assigns Facets to the specified Channel */ - assignFacetsToChannel: Array; - /** Assigns PaymentMethods to the specified Channel */ - assignPaymentMethodsToChannel: Array; - /** Assigns ProductVariants to the specified Channel */ - assignProductVariantsToChannel: Array; - /** Assigns all ProductVariants of Product to the specified Channel */ - assignProductsToChannel: Array; - /** Assigns Promotions to the specified Channel */ - assignPromotionsToChannel: Array; - /** Assign a Role to an Administrator */ - assignRoleToAdministrator: Administrator; - /** Assigns ShippingMethods to the specified Channel */ - assignShippingMethodsToChannel: Array; - /** Assigns StockLocations to the specified Channel */ - assignStockLocationsToChannel: Array; - /** Authenticates the user using a named authentication strategy */ - authenticate: AuthenticationResult; - cancelJob: Job; - cancelOrder: CancelOrderResult; - cancelPayment: CancelPaymentResult; - /** Create a new Administrator */ - createAdministrator: Administrator; - /** Create a new Asset */ - createAssets: Array; - /** Create a new Channel */ - createChannel: CreateChannelResult; - /** Create a new Collection */ - createCollection: Collection; - /** Create a new Country */ - createCountry: Country; - /** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */ - createCustomer: CreateCustomerResult; - /** Create a new Address and associate it with the Customer specified by customerId */ - createCustomerAddress: Address; - /** Create a new CustomerGroup */ - createCustomerGroup: CustomerGroup; - /** Creates a draft Order */ - createDraftOrder: Order; - /** Create a new Facet */ - createFacet: Facet; - /** Create one or more FacetValues */ - createFacetValues: Array; - /** Create existing PaymentMethod */ - createPaymentMethod: PaymentMethod; - /** Create a new Product */ - createProduct: Product; - /** Create a new ProductOption within a ProductOptionGroup */ - createProductOption: ProductOption; - /** Create a new ProductOptionGroup */ - createProductOptionGroup: ProductOptionGroup; - /** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */ - createProductVariants: Array>; - createPromotion: CreatePromotionResult; - /** Create a new Province */ - createProvince: Province; - /** Create a new Role */ - createRole: Role; - /** Create a new Seller */ - createSeller: Seller; - /** Create a new ShippingMethod */ - createShippingMethod: ShippingMethod; - createStockLocation: StockLocation; - /** Create a new Tag */ - createTag: Tag; - /** Create a new TaxCategory */ - createTaxCategory: TaxCategory; - /** Create a new TaxRate */ - createTaxRate: TaxRate; - /** Create a new Zone */ - createZone: Zone; - /** Delete an Administrator */ - deleteAdministrator: DeletionResponse; - /** Delete multiple Administrators */ - deleteAdministrators: Array; - /** Delete an Asset */ - deleteAsset: DeletionResponse; - /** Delete multiple Assets */ - deleteAssets: DeletionResponse; - /** Delete a Channel */ - deleteChannel: DeletionResponse; - /** Delete multiple Channels */ - deleteChannels: Array; - /** Delete a Collection and all of its descendants */ - deleteCollection: DeletionResponse; - /** Delete multiple Collections and all of their descendants */ - deleteCollections: Array; - /** Delete multiple Countries */ - deleteCountries: Array; - /** Delete a Country */ - deleteCountry: DeletionResponse; - /** Delete a Customer */ - deleteCustomer: DeletionResponse; - /** Update an existing Address */ - deleteCustomerAddress: Success; - /** Delete a CustomerGroup */ - deleteCustomerGroup: DeletionResponse; - /** Delete multiple CustomerGroups */ - deleteCustomerGroups: Array; - deleteCustomerNote: DeletionResponse; - /** Deletes Customers */ - deleteCustomers: Array; - /** Deletes a draft Order */ - deleteDraftOrder: DeletionResponse; - /** Delete an existing Facet */ - deleteFacet: DeletionResponse; - /** Delete one or more FacetValues */ - deleteFacetValues: Array; - /** Delete multiple existing Facets */ - deleteFacets: Array; - deleteOrderNote: DeletionResponse; - /** Delete a PaymentMethod */ - deletePaymentMethod: DeletionResponse; - /** Delete multiple PaymentMethods */ - deletePaymentMethods: Array; - /** Delete a Product */ - deleteProduct: DeletionResponse; - /** Delete a ProductOption */ - deleteProductOption: DeletionResponse; - /** Delete a ProductVariant */ - deleteProductVariant: DeletionResponse; - /** Delete multiple ProductVariants */ - deleteProductVariants: Array; - /** Delete multiple Products */ - deleteProducts: Array; - deletePromotion: DeletionResponse; - deletePromotions: Array; - /** Delete a Province */ - deleteProvince: DeletionResponse; - /** Delete an existing Role */ - deleteRole: DeletionResponse; - /** Delete multiple Roles */ - deleteRoles: Array; - /** Delete a Seller */ - deleteSeller: DeletionResponse; - /** Delete multiple Sellers */ - deleteSellers: Array; - /** Delete a ShippingMethod */ - deleteShippingMethod: DeletionResponse; - /** Delete multiple ShippingMethods */ - deleteShippingMethods: Array; - deleteStockLocation: DeletionResponse; - deleteStockLocations: Array; - /** Delete an existing Tag */ - deleteTag: DeletionResponse; - /** Deletes multiple TaxCategories */ - deleteTaxCategories: Array; - /** Deletes a TaxCategory */ - deleteTaxCategory: DeletionResponse; - /** Delete a TaxRate */ - deleteTaxRate: DeletionResponse; - /** Delete multiple TaxRates */ - deleteTaxRates: Array; - /** Delete a Zone */ - deleteZone: DeletionResponse; - /** Delete a Zone */ - deleteZones: Array; - flushBufferedJobs: Success; - importProducts?: Maybe; - /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ - login: NativeAuthenticationResult; - logout: Success; - /** - * Allows an Order to be modified after it has been completed by the Customer. The Order must first - * be in the `Modifying` state. - */ - modifyOrder: ModifyOrderResult; - /** Move a Collection to a different parent or index */ - moveCollection: Collection; - refundOrder: RefundOrderResult; - reindex: Job; - /** Removes Collections from the specified Channel */ - removeCollectionsFromChannel: Array; - /** Removes the given coupon code from the draft Order */ - removeCouponCodeFromDraftOrder?: Maybe; - /** Remove Customers from a CustomerGroup */ - removeCustomersFromGroup: CustomerGroup; - /** Remove an OrderLine from the draft Order */ - removeDraftOrderLine: RemoveOrderItemsResult; - /** Removes Facets from the specified Channel */ - removeFacetsFromChannel: Array; - /** Remove members from a Zone */ - removeMembersFromZone: Zone; - /** - * Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants - * the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed. - * Setting the `force` argument to `true` will override this and remove the OptionGroup anyway, - * as well as removing any of the group's options from the Product's ProductVariants. - */ - removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; - /** Removes PaymentMethods from the specified Channel */ - removePaymentMethodsFromChannel: Array; - /** Removes ProductVariants from the specified Channel */ - removeProductVariantsFromChannel: Array; - /** Removes all ProductVariants of Product from the specified Channel */ - removeProductsFromChannel: Array; - /** Removes Promotions from the specified Channel */ - removePromotionsFromChannel: Array; - /** Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted. */ - removeSettledJobs: Scalars['Int']['output']; - /** Removes ShippingMethods from the specified Channel */ - removeShippingMethodsFromChannel: Array; - /** Removes StockLocations from the specified Channel */ - removeStockLocationsFromChannel: Array; - requestCompleted: Scalars['Int']['output']; - requestStarted: Scalars['Int']['output']; - runPendingSearchIndexUpdates: Success; - setActiveChannel: UserStatus; - setAsLoggedIn: UserStatus; - setAsLoggedOut: UserStatus; - setContentLanguage: LanguageCode; - setCustomerForDraftOrder: SetCustomerForDraftOrderResult; - setDisplayUiExtensionPoints: Scalars['Boolean']['output']; - /** Sets the billing address for a draft Order */ - setDraftOrderBillingAddress: Order; - /** Allows any custom fields to be set for the active order */ - setDraftOrderCustomFields: Order; - /** Sets the shipping address for a draft Order */ - setDraftOrderShippingAddress: Order; - /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */ - setDraftOrderShippingMethod: SetOrderShippingMethodResult; - setMainNavExpanded: Scalars['Boolean']['output']; - setOrderCustomFields?: Maybe; - setUiLanguage: LanguageCode; - setUiLocale?: Maybe; - setUiTheme: Scalars['String']['output']; - settlePayment: SettlePaymentResult; - settleRefund: SettleRefundResult; - transitionFulfillmentToState: TransitionFulfillmentToStateResult; - transitionOrderToState?: Maybe; - transitionPaymentToState: TransitionPaymentToStateResult; - /** Update the active (currently logged-in) Administrator */ - updateActiveAdministrator: Administrator; - /** Update an existing Administrator */ - updateAdministrator: Administrator; - /** Update an existing Asset */ - updateAsset: Asset; - /** Update an existing Channel */ - updateChannel: UpdateChannelResult; - /** Update an existing Collection */ - updateCollection: Collection; - /** Update an existing Country */ - updateCountry: Country; - /** Update an existing Customer */ - updateCustomer: UpdateCustomerResult; - /** Update an existing Address */ - updateCustomerAddress: Address; - /** Update an existing CustomerGroup */ - updateCustomerGroup: CustomerGroup; - updateCustomerNote: HistoryEntry; - /** Update an existing Facet */ - updateFacet: Facet; - /** Update one or more FacetValues */ - updateFacetValues: Array; - updateGlobalSettings: UpdateGlobalSettingsResult; - updateOrderNote: HistoryEntry; - /** Update an existing PaymentMethod */ - updatePaymentMethod: PaymentMethod; - /** Update an existing Product */ - updateProduct: Product; - /** Create a new ProductOption within a ProductOptionGroup */ - updateProductOption: ProductOption; - /** Update an existing ProductOptionGroup */ - updateProductOptionGroup: ProductOptionGroup; - /** Update existing ProductVariants */ - updateProductVariants: Array>; - /** Update multiple existing Products */ - updateProducts: Array; - updatePromotion: UpdatePromotionResult; - /** Update an existing Province */ - updateProvince: Province; - /** Update an existing Role */ - updateRole: Role; - /** Update an existing Seller */ - updateSeller: Seller; - /** Update an existing ShippingMethod */ - updateShippingMethod: ShippingMethod; - updateStockLocation: StockLocation; - /** Update an existing Tag */ - updateTag: Tag; - /** Update an existing TaxCategory */ - updateTaxCategory: TaxCategory; - /** Update an existing TaxRate */ - updateTaxRate: TaxRate; - updateUserChannels: UserStatus; - /** Update an existing Zone */ - updateZone: Zone; + __typename?: 'Mutation'; + /** Add Customers to a CustomerGroup */ + addCustomersToGroup: CustomerGroup; + addFulfillmentToOrder: AddFulfillmentToOrderResult; + /** Adds an item to the draft Order. */ + addItemToDraftOrder: UpdateOrderItemsResult; + /** + * Used to manually create a new Payment against an Order. + * This can be used by an Administrator when an Order is in the ArrangingPayment state. + * + * It is also used when a completed Order + * has been modified (using `modifyOrder`) and the price has increased. The extra payment + * can then be manually arranged by the administrator, and the details used to create a new + * Payment. + */ + addManualPaymentToOrder: AddManualPaymentToOrderResult; + /** Add members to a Zone */ + addMembersToZone: Zone; + addNoteToCustomer: Customer; + addNoteToOrder: Order; + /** Add an OptionGroup to a Product */ + addOptionGroupToProduct: Product; + /** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ + adjustDraftOrderLine: UpdateOrderItemsResult; + /** Applies the given coupon code to the draft Order */ + applyCouponCodeToDraftOrder: ApplyCouponCodeResult; + /** Assign assets to channel */ + assignAssetsToChannel: Array; + /** Assigns Collections to the specified Channel */ + assignCollectionsToChannel: Array; + /** Assigns Facets to the specified Channel */ + assignFacetsToChannel: Array; + /** Assigns PaymentMethods to the specified Channel */ + assignPaymentMethodsToChannel: Array; + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Assigns all ProductVariants of Product to the specified Channel */ + assignProductsToChannel: Array; + /** Assigns Promotions to the specified Channel */ + assignPromotionsToChannel: Array; + /** Assign a Role to an Administrator */ + assignRoleToAdministrator: Administrator; + /** Assigns ShippingMethods to the specified Channel */ + assignShippingMethodsToChannel: Array; + /** Assigns StockLocations to the specified Channel */ + assignStockLocationsToChannel: Array; + /** Authenticates the user using a named authentication strategy */ + authenticate: AuthenticationResult; + cancelJob: Job; + cancelOrder: CancelOrderResult; + cancelPayment: CancelPaymentResult; + /** Create a new Administrator */ + createAdministrator: Administrator; + /** Create a new Asset */ + createAssets: Array; + /** Create a new Channel */ + createChannel: CreateChannelResult; + /** Create a new Collection */ + createCollection: Collection; + /** Create a new Country */ + createCountry: Country; + /** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */ + createCustomer: CreateCustomerResult; + /** Create a new Address and associate it with the Customer specified by customerId */ + createCustomerAddress: Address; + /** Create a new CustomerGroup */ + createCustomerGroup: CustomerGroup; + /** Creates a draft Order */ + createDraftOrder: Order; + /** Create a new Facet */ + createFacet: Facet; + /** Create one or more FacetValues */ + createFacetValues: Array; + /** Create existing PaymentMethod */ + createPaymentMethod: PaymentMethod; + /** Create a new Product */ + createProduct: Product; + /** Create a new ProductOption within a ProductOptionGroup */ + createProductOption: ProductOption; + /** Create a new ProductOptionGroup */ + createProductOptionGroup: ProductOptionGroup; + /** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */ + createProductVariants: Array>; + createPromotion: CreatePromotionResult; + /** Create a new Province */ + createProvince: Province; + /** Create a new Role */ + createRole: Role; + /** Create a new Seller */ + createSeller: Seller; + /** Create a new ShippingMethod */ + createShippingMethod: ShippingMethod; + createStockLocation: StockLocation; + /** Create a new Tag */ + createTag: Tag; + /** Create a new TaxCategory */ + createTaxCategory: TaxCategory; + /** Create a new TaxRate */ + createTaxRate: TaxRate; + /** Create a new Zone */ + createZone: Zone; + /** Delete an Administrator */ + deleteAdministrator: DeletionResponse; + /** Delete multiple Administrators */ + deleteAdministrators: Array; + /** Delete an Asset */ + deleteAsset: DeletionResponse; + /** Delete multiple Assets */ + deleteAssets: DeletionResponse; + /** Delete a Channel */ + deleteChannel: DeletionResponse; + /** Delete multiple Channels */ + deleteChannels: Array; + /** Delete a Collection and all of its descendants */ + deleteCollection: DeletionResponse; + /** Delete multiple Collections and all of their descendants */ + deleteCollections: Array; + /** Delete multiple Countries */ + deleteCountries: Array; + /** Delete a Country */ + deleteCountry: DeletionResponse; + /** Delete a Customer */ + deleteCustomer: DeletionResponse; + /** Update an existing Address */ + deleteCustomerAddress: Success; + /** Delete a CustomerGroup */ + deleteCustomerGroup: DeletionResponse; + /** Delete multiple CustomerGroups */ + deleteCustomerGroups: Array; + deleteCustomerNote: DeletionResponse; + /** Deletes Customers */ + deleteCustomers: Array; + /** Deletes a draft Order */ + deleteDraftOrder: DeletionResponse; + /** Delete an existing Facet */ + deleteFacet: DeletionResponse; + /** Delete one or more FacetValues */ + deleteFacetValues: Array; + /** Delete multiple existing Facets */ + deleteFacets: Array; + deleteOrderNote: DeletionResponse; + /** Delete a PaymentMethod */ + deletePaymentMethod: DeletionResponse; + /** Delete multiple PaymentMethods */ + deletePaymentMethods: Array; + /** Delete a Product */ + deleteProduct: DeletionResponse; + /** Delete a ProductOption */ + deleteProductOption: DeletionResponse; + /** Delete a ProductVariant */ + deleteProductVariant: DeletionResponse; + /** Delete multiple ProductVariants */ + deleteProductVariants: Array; + /** Delete multiple Products */ + deleteProducts: Array; + deletePromotion: DeletionResponse; + deletePromotions: Array; + /** Delete a Province */ + deleteProvince: DeletionResponse; + /** Delete an existing Role */ + deleteRole: DeletionResponse; + /** Delete multiple Roles */ + deleteRoles: Array; + /** Delete a Seller */ + deleteSeller: DeletionResponse; + /** Delete multiple Sellers */ + deleteSellers: Array; + /** Delete a ShippingMethod */ + deleteShippingMethod: DeletionResponse; + /** Delete multiple ShippingMethods */ + deleteShippingMethods: Array; + deleteStockLocation: DeletionResponse; + deleteStockLocations: Array; + /** Delete an existing Tag */ + deleteTag: DeletionResponse; + /** Deletes multiple TaxCategories */ + deleteTaxCategories: Array; + /** Deletes a TaxCategory */ + deleteTaxCategory: DeletionResponse; + /** Delete a TaxRate */ + deleteTaxRate: DeletionResponse; + /** Delete multiple TaxRates */ + deleteTaxRates: Array; + /** Delete a Zone */ + deleteZone: DeletionResponse; + /** Delete a Zone */ + deleteZones: Array; + flushBufferedJobs: Success; + importProducts?: Maybe; + /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ + login: NativeAuthenticationResult; + logout: Success; + /** + * Allows an Order to be modified after it has been completed by the Customer. The Order must first + * be in the `Modifying` state. + */ + modifyOrder: ModifyOrderResult; + /** Move a Collection to a different parent or index */ + moveCollection: Collection; + refundOrder: RefundOrderResult; + reindex: Job; + /** Removes Collections from the specified Channel */ + removeCollectionsFromChannel: Array; + /** Removes the given coupon code from the draft Order */ + removeCouponCodeFromDraftOrder?: Maybe; + /** Remove Customers from a CustomerGroup */ + removeCustomersFromGroup: CustomerGroup; + /** Remove an OrderLine from the draft Order */ + removeDraftOrderLine: RemoveOrderItemsResult; + /** Removes Facets from the specified Channel */ + removeFacetsFromChannel: Array; + /** Remove members from a Zone */ + removeMembersFromZone: Zone; + /** + * Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants + * the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed. + * Setting the `force` argument to `true` will override this and remove the OptionGroup anyway, + * as well as removing any of the group's options from the Product's ProductVariants. + */ + removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; + /** Removes PaymentMethods from the specified Channel */ + removePaymentMethodsFromChannel: Array; + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; + /** Removes all ProductVariants of Product from the specified Channel */ + removeProductsFromChannel: Array; + /** Removes Promotions from the specified Channel */ + removePromotionsFromChannel: Array; + /** Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted. */ + removeSettledJobs: Scalars['Int']['output']; + /** Removes ShippingMethods from the specified Channel */ + removeShippingMethodsFromChannel: Array; + /** Removes StockLocations from the specified Channel */ + removeStockLocationsFromChannel: Array; + requestCompleted: Scalars['Int']['output']; + requestStarted: Scalars['Int']['output']; + runPendingSearchIndexUpdates: Success; + setActiveChannel: UserStatus; + setAsLoggedIn: UserStatus; + setAsLoggedOut: UserStatus; + setContentLanguage: LanguageCode; + setCustomerForDraftOrder: SetCustomerForDraftOrderResult; + setDisplayUiExtensionPoints: Scalars['Boolean']['output']; + /** Sets the billing address for a draft Order */ + setDraftOrderBillingAddress: Order; + /** Allows any custom fields to be set for the active order */ + setDraftOrderCustomFields: Order; + /** Sets the shipping address for a draft Order */ + setDraftOrderShippingAddress: Order; + /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */ + setDraftOrderShippingMethod: SetOrderShippingMethodResult; + setMainNavExpanded: Scalars['Boolean']['output']; + setOrderCustomFields?: Maybe; + setUiLanguage: LanguageCode; + setUiLocale?: Maybe; + setUiTheme: Scalars['String']['output']; + settlePayment: SettlePaymentResult; + settleRefund: SettleRefundResult; + transitionFulfillmentToState: TransitionFulfillmentToStateResult; + transitionOrderToState?: Maybe; + transitionPaymentToState: TransitionPaymentToStateResult; + /** Update the active (currently logged-in) Administrator */ + updateActiveAdministrator: Administrator; + /** Update an existing Administrator */ + updateAdministrator: Administrator; + /** Update an existing Asset */ + updateAsset: Asset; + /** Update an existing Channel */ + updateChannel: UpdateChannelResult; + /** Update an existing Collection */ + updateCollection: Collection; + /** Update an existing Country */ + updateCountry: Country; + /** Update an existing Customer */ + updateCustomer: UpdateCustomerResult; + /** Update an existing Address */ + updateCustomerAddress: Address; + /** Update an existing CustomerGroup */ + updateCustomerGroup: CustomerGroup; + updateCustomerNote: HistoryEntry; + /** Update an existing Facet */ + updateFacet: Facet; + /** Update one or more FacetValues */ + updateFacetValues: Array; + updateGlobalSettings: UpdateGlobalSettingsResult; + updateOrderNote: HistoryEntry; + /** Update an existing PaymentMethod */ + updatePaymentMethod: PaymentMethod; + /** Update an existing Product */ + updateProduct: Product; + /** Create a new ProductOption within a ProductOptionGroup */ + updateProductOption: ProductOption; + /** Update an existing ProductOptionGroup */ + updateProductOptionGroup: ProductOptionGroup; + /** Update existing ProductVariants */ + updateProductVariants: Array>; + /** Update multiple existing Products */ + updateProducts: Array; + updatePromotion: UpdatePromotionResult; + /** Update an existing Province */ + updateProvince: Province; + /** Update an existing Role */ + updateRole: Role; + /** Update an existing Seller */ + updateSeller: Seller; + /** Update an existing ShippingMethod */ + updateShippingMethod: ShippingMethod; + updateStockLocation: StockLocation; + /** Update an existing Tag */ + updateTag: Tag; + /** Update an existing TaxCategory */ + updateTaxCategory: TaxCategory; + /** Update an existing TaxRate */ + updateTaxRate: TaxRate; + updateUserChannels: UserStatus; + /** Update an existing Zone */ + updateZone: Zone; }; - export type MutationAddCustomersToGroupArgs = { - customerGroupId: Scalars['ID']['input']; - customerIds: Array; + customerGroupId: Scalars['ID']['input']; + customerIds: Array; }; - export type MutationAddFulfillmentToOrderArgs = { - input: FulfillOrderInput; + input: FulfillOrderInput; }; - export type MutationAddItemToDraftOrderArgs = { - input: AddItemToDraftOrderInput; - orderId: Scalars['ID']['input']; + input: AddItemToDraftOrderInput; + orderId: Scalars['ID']['input']; }; - export type MutationAddManualPaymentToOrderArgs = { - input: ManualPaymentInput; + input: ManualPaymentInput; }; - export type MutationAddMembersToZoneArgs = { - memberIds: Array; - zoneId: Scalars['ID']['input']; + memberIds: Array; + zoneId: Scalars['ID']['input']; }; - export type MutationAddNoteToCustomerArgs = { - input: AddNoteToCustomerInput; + input: AddNoteToCustomerInput; }; - export type MutationAddNoteToOrderArgs = { - input: AddNoteToOrderInput; + input: AddNoteToOrderInput; }; - export type MutationAddOptionGroupToProductArgs = { - optionGroupId: Scalars['ID']['input']; - productId: Scalars['ID']['input']; + optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; }; - export type MutationAdjustDraftOrderLineArgs = { - input: AdjustDraftOrderLineInput; - orderId: Scalars['ID']['input']; + input: AdjustDraftOrderLineInput; + orderId: Scalars['ID']['input']; }; - export type MutationApplyCouponCodeToDraftOrderArgs = { - couponCode: Scalars['String']['input']; - orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationAssignAssetsToChannelArgs = { - input: AssignAssetsToChannelInput; + input: AssignAssetsToChannelInput; }; - export type MutationAssignCollectionsToChannelArgs = { - input: AssignCollectionsToChannelInput; + input: AssignCollectionsToChannelInput; }; - export type MutationAssignFacetsToChannelArgs = { - input: AssignFacetsToChannelInput; + input: AssignFacetsToChannelInput; }; - export type MutationAssignPaymentMethodsToChannelArgs = { - input: AssignPaymentMethodsToChannelInput; + input: AssignPaymentMethodsToChannelInput; }; - export type MutationAssignProductVariantsToChannelArgs = { - input: AssignProductVariantsToChannelInput; + input: AssignProductVariantsToChannelInput; }; - export type MutationAssignProductsToChannelArgs = { - input: AssignProductsToChannelInput; + input: AssignProductsToChannelInput; }; - export type MutationAssignPromotionsToChannelArgs = { - input: AssignPromotionsToChannelInput; + input: AssignPromotionsToChannelInput; }; - export type MutationAssignRoleToAdministratorArgs = { - administratorId: Scalars['ID']['input']; - roleId: Scalars['ID']['input']; + administratorId: Scalars['ID']['input']; + roleId: Scalars['ID']['input']; }; - export type MutationAssignShippingMethodsToChannelArgs = { - input: AssignShippingMethodsToChannelInput; + input: AssignShippingMethodsToChannelInput; }; - export type MutationAssignStockLocationsToChannelArgs = { - input: AssignStockLocationsToChannelInput; + input: AssignStockLocationsToChannelInput; }; - export type MutationAuthenticateArgs = { - input: AuthenticationInput; - rememberMe?: InputMaybe; + input: AuthenticationInput; + rememberMe?: InputMaybe; }; - export type MutationCancelJobArgs = { - jobId: Scalars['ID']['input']; + jobId: Scalars['ID']['input']; }; - export type MutationCancelOrderArgs = { - input: CancelOrderInput; + input: CancelOrderInput; }; - export type MutationCancelPaymentArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationCreateAdministratorArgs = { - input: CreateAdministratorInput; + input: CreateAdministratorInput; }; - export type MutationCreateAssetsArgs = { - input: Array; + input: Array; }; - export type MutationCreateChannelArgs = { - input: CreateChannelInput; + input: CreateChannelInput; }; - export type MutationCreateCollectionArgs = { - input: CreateCollectionInput; + input: CreateCollectionInput; }; - export type MutationCreateCountryArgs = { - input: CreateCountryInput; + input: CreateCountryInput; }; - export type MutationCreateCustomerArgs = { - input: CreateCustomerInput; - password?: InputMaybe; + input: CreateCustomerInput; + password?: InputMaybe; }; - export type MutationCreateCustomerAddressArgs = { - customerId: Scalars['ID']['input']; - input: CreateAddressInput; + customerId: Scalars['ID']['input']; + input: CreateAddressInput; }; - export type MutationCreateCustomerGroupArgs = { - input: CreateCustomerGroupInput; + input: CreateCustomerGroupInput; }; - export type MutationCreateFacetArgs = { - input: CreateFacetInput; + input: CreateFacetInput; }; - export type MutationCreateFacetValuesArgs = { - input: Array; + input: Array; }; - export type MutationCreatePaymentMethodArgs = { - input: CreatePaymentMethodInput; + input: CreatePaymentMethodInput; }; - export type MutationCreateProductArgs = { - input: CreateProductInput; + input: CreateProductInput; }; - export type MutationCreateProductOptionArgs = { - input: CreateProductOptionInput; + input: CreateProductOptionInput; }; - export type MutationCreateProductOptionGroupArgs = { - input: CreateProductOptionGroupInput; + input: CreateProductOptionGroupInput; }; - export type MutationCreateProductVariantsArgs = { - input: Array; + input: Array; }; - export type MutationCreatePromotionArgs = { - input: CreatePromotionInput; + input: CreatePromotionInput; }; - export type MutationCreateProvinceArgs = { - input: CreateProvinceInput; + input: CreateProvinceInput; }; - export type MutationCreateRoleArgs = { - input: CreateRoleInput; + input: CreateRoleInput; }; - export type MutationCreateSellerArgs = { - input: CreateSellerInput; + input: CreateSellerInput; }; - export type MutationCreateShippingMethodArgs = { - input: CreateShippingMethodInput; + input: CreateShippingMethodInput; }; - export type MutationCreateStockLocationArgs = { - input: CreateStockLocationInput; + input: CreateStockLocationInput; }; - export type MutationCreateTagArgs = { - input: CreateTagInput; + input: CreateTagInput; }; - export type MutationCreateTaxCategoryArgs = { - input: CreateTaxCategoryInput; + input: CreateTaxCategoryInput; }; - export type MutationCreateTaxRateArgs = { - input: CreateTaxRateInput; + input: CreateTaxRateInput; }; - export type MutationCreateZoneArgs = { - input: CreateZoneInput; + input: CreateZoneInput; }; - export type MutationDeleteAdministratorArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteAdministratorsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteAssetArgs = { - input: DeleteAssetInput; + input: DeleteAssetInput; }; - export type MutationDeleteAssetsArgs = { - input: DeleteAssetsInput; + input: DeleteAssetsInput; }; - export type MutationDeleteChannelArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteChannelsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCollectionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCollectionsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCountriesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCountryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerAddressArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerGroupsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCustomerNoteArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomersArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteDraftOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationDeleteFacetArgs = { - force?: InputMaybe; - id: Scalars['ID']['input']; + force?: InputMaybe; + id: Scalars['ID']['input']; }; - export type MutationDeleteFacetValuesArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteFacetsArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteOrderNoteArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeletePaymentMethodArgs = { - force?: InputMaybe; - id: Scalars['ID']['input']; + force?: InputMaybe; + id: Scalars['ID']['input']; }; - export type MutationDeletePaymentMethodsArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteProductArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductOptionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductVariantArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductVariantsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteProductsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeletePromotionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeletePromotionsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteProvinceArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteRoleArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteRolesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteSellerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteSellersArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteShippingMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteShippingMethodsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteStockLocationArgs = { - input: DeleteStockLocationInput; + input: DeleteStockLocationInput; }; - export type MutationDeleteStockLocationsArgs = { - input: Array; + input: Array; }; - export type MutationDeleteTagArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxCategoriesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteTaxCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxRateArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxRatesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteZoneArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteZonesArgs = { - ids: Array; + ids: Array; }; - export type MutationFlushBufferedJobsArgs = { - bufferIds?: InputMaybe>; + bufferIds?: InputMaybe>; }; - export type MutationImportProductsArgs = { - csvFile: Scalars['Upload']['input']; + csvFile: Scalars['Upload']['input']; }; - export type MutationLoginArgs = { - password: Scalars['String']['input']; - rememberMe?: InputMaybe; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + rememberMe?: InputMaybe; + username: Scalars['String']['input']; }; - export type MutationModifyOrderArgs = { - input: ModifyOrderInput; + input: ModifyOrderInput; }; - export type MutationMoveCollectionArgs = { - input: MoveCollectionInput; + input: MoveCollectionInput; }; - export type MutationRefundOrderArgs = { - input: RefundOrderInput; + input: RefundOrderInput; }; - export type MutationRemoveCollectionsFromChannelArgs = { - input: RemoveCollectionsFromChannelInput; + input: RemoveCollectionsFromChannelInput; }; - export type MutationRemoveCouponCodeFromDraftOrderArgs = { - couponCode: Scalars['String']['input']; - orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationRemoveCustomersFromGroupArgs = { - customerGroupId: Scalars['ID']['input']; - customerIds: Array; + customerGroupId: Scalars['ID']['input']; + customerIds: Array; }; - export type MutationRemoveDraftOrderLineArgs = { - orderId: Scalars['ID']['input']; - orderLineId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + orderLineId: Scalars['ID']['input']; }; - export type MutationRemoveFacetsFromChannelArgs = { - input: RemoveFacetsFromChannelInput; + input: RemoveFacetsFromChannelInput; }; - export type MutationRemoveMembersFromZoneArgs = { - memberIds: Array; - zoneId: Scalars['ID']['input']; + memberIds: Array; + zoneId: Scalars['ID']['input']; }; - export type MutationRemoveOptionGroupFromProductArgs = { - force?: InputMaybe; - optionGroupId: Scalars['ID']['input']; - productId: Scalars['ID']['input']; + force?: InputMaybe; + optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; }; - export type MutationRemovePaymentMethodsFromChannelArgs = { - input: RemovePaymentMethodsFromChannelInput; + input: RemovePaymentMethodsFromChannelInput; }; - export type MutationRemoveProductVariantsFromChannelArgs = { - input: RemoveProductVariantsFromChannelInput; + input: RemoveProductVariantsFromChannelInput; }; - export type MutationRemoveProductsFromChannelArgs = { - input: RemoveProductsFromChannelInput; + input: RemoveProductsFromChannelInput; }; - export type MutationRemovePromotionsFromChannelArgs = { - input: RemovePromotionsFromChannelInput; + input: RemovePromotionsFromChannelInput; }; - export type MutationRemoveSettledJobsArgs = { - olderThan?: InputMaybe; - queueNames?: InputMaybe>; + olderThan?: InputMaybe; + queueNames?: InputMaybe>; }; - export type MutationRemoveShippingMethodsFromChannelArgs = { - input: RemoveShippingMethodsFromChannelInput; + input: RemoveShippingMethodsFromChannelInput; }; - export type MutationRemoveStockLocationsFromChannelArgs = { - input: RemoveStockLocationsFromChannelInput; + input: RemoveStockLocationsFromChannelInput; }; - export type MutationSetActiveChannelArgs = { - channelId: Scalars['ID']['input']; + channelId: Scalars['ID']['input']; }; - export type MutationSetAsLoggedInArgs = { - input: UserStatusInput; + input: UserStatusInput; }; - export type MutationSetContentLanguageArgs = { - languageCode: LanguageCode; + languageCode: LanguageCode; }; - export type MutationSetCustomerForDraftOrderArgs = { - customerId?: InputMaybe; - input?: InputMaybe; - orderId: Scalars['ID']['input']; + customerId?: InputMaybe; + input?: InputMaybe; + orderId: Scalars['ID']['input']; }; - export type MutationSetDisplayUiExtensionPointsArgs = { - display: Scalars['Boolean']['input']; + display: Scalars['Boolean']['input']; }; - export type MutationSetDraftOrderBillingAddressArgs = { - input: CreateAddressInput; - orderId: Scalars['ID']['input']; + input: CreateAddressInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderCustomFieldsArgs = { - input: UpdateOrderInput; - orderId: Scalars['ID']['input']; + input: UpdateOrderInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderShippingAddressArgs = { - input: CreateAddressInput; - orderId: Scalars['ID']['input']; + input: CreateAddressInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderShippingMethodArgs = { - orderId: Scalars['ID']['input']; - shippingMethodId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + shippingMethodId: Scalars['ID']['input']; }; - export type MutationSetMainNavExpandedArgs = { - expanded: Scalars['Boolean']['input']; + expanded: Scalars['Boolean']['input']; }; - export type MutationSetOrderCustomFieldsArgs = { - input: UpdateOrderInput; + input: UpdateOrderInput; }; - export type MutationSetUiLanguageArgs = { - languageCode: LanguageCode; + languageCode: LanguageCode; }; - export type MutationSetUiLocaleArgs = { - locale?: InputMaybe; + locale?: InputMaybe; }; - export type MutationSetUiThemeArgs = { - theme: Scalars['String']['input']; + theme: Scalars['String']['input']; }; - export type MutationSettlePaymentArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationSettleRefundArgs = { - input: SettleRefundInput; + input: SettleRefundInput; }; - export type MutationTransitionFulfillmentToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationTransitionOrderToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationTransitionPaymentToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationUpdateActiveAdministratorArgs = { - input: UpdateActiveAdministratorInput; + input: UpdateActiveAdministratorInput; }; - export type MutationUpdateAdministratorArgs = { - input: UpdateAdministratorInput; + input: UpdateAdministratorInput; }; - export type MutationUpdateAssetArgs = { - input: UpdateAssetInput; + input: UpdateAssetInput; }; - export type MutationUpdateChannelArgs = { - input: UpdateChannelInput; + input: UpdateChannelInput; }; - export type MutationUpdateCollectionArgs = { - input: UpdateCollectionInput; + input: UpdateCollectionInput; }; - export type MutationUpdateCountryArgs = { - input: UpdateCountryInput; + input: UpdateCountryInput; }; - export type MutationUpdateCustomerArgs = { - input: UpdateCustomerInput; + input: UpdateCustomerInput; }; - export type MutationUpdateCustomerAddressArgs = { - input: UpdateAddressInput; + input: UpdateAddressInput; }; - export type MutationUpdateCustomerGroupArgs = { - input: UpdateCustomerGroupInput; + input: UpdateCustomerGroupInput; }; - export type MutationUpdateCustomerNoteArgs = { - input: UpdateCustomerNoteInput; + input: UpdateCustomerNoteInput; }; - export type MutationUpdateFacetArgs = { - input: UpdateFacetInput; + input: UpdateFacetInput; }; - export type MutationUpdateFacetValuesArgs = { - input: Array; + input: Array; }; - export type MutationUpdateGlobalSettingsArgs = { - input: UpdateGlobalSettingsInput; + input: UpdateGlobalSettingsInput; }; - export type MutationUpdateOrderNoteArgs = { - input: UpdateOrderNoteInput; + input: UpdateOrderNoteInput; }; - export type MutationUpdatePaymentMethodArgs = { - input: UpdatePaymentMethodInput; + input: UpdatePaymentMethodInput; }; - export type MutationUpdateProductArgs = { - input: UpdateProductInput; + input: UpdateProductInput; }; - export type MutationUpdateProductOptionArgs = { - input: UpdateProductOptionInput; + input: UpdateProductOptionInput; }; - export type MutationUpdateProductOptionGroupArgs = { - input: UpdateProductOptionGroupInput; + input: UpdateProductOptionGroupInput; }; - export type MutationUpdateProductVariantsArgs = { - input: Array; + input: Array; }; - export type MutationUpdateProductsArgs = { - input: Array; + input: Array; }; - export type MutationUpdatePromotionArgs = { - input: UpdatePromotionInput; + input: UpdatePromotionInput; }; - export type MutationUpdateProvinceArgs = { - input: UpdateProvinceInput; + input: UpdateProvinceInput; }; - export type MutationUpdateRoleArgs = { - input: UpdateRoleInput; + input: UpdateRoleInput; }; - export type MutationUpdateSellerArgs = { - input: UpdateSellerInput; + input: UpdateSellerInput; }; - export type MutationUpdateShippingMethodArgs = { - input: UpdateShippingMethodInput; + input: UpdateShippingMethodInput; }; - export type MutationUpdateStockLocationArgs = { - input: UpdateStockLocationInput; + input: UpdateStockLocationInput; }; - export type MutationUpdateTagArgs = { - input: UpdateTagInput; + input: UpdateTagInput; }; - export type MutationUpdateTaxCategoryArgs = { - input: UpdateTaxCategoryInput; + input: UpdateTaxCategoryInput; }; - export type MutationUpdateTaxRateArgs = { - input: UpdateTaxRateInput; + input: UpdateTaxRateInput; }; - export type MutationUpdateUserChannelsArgs = { - channels: Array; + channels: Array; }; - export type MutationUpdateZoneArgs = { - input: UpdateZoneInput; + input: UpdateZoneInput; }; export type NativeAuthInput = { - password: Scalars['String']['input']; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + username: Scalars['String']['input']; }; /** Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */ export type NativeAuthStrategyError = ErrorResult & { - __typename?: 'NativeAuthStrategyError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NativeAuthStrategyError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError; /** Returned when attempting to set a negative OrderLine quantity. */ export type NegativeQuantityError = ErrorResult & { - __typename?: 'NegativeQuantityError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NegativeQuantityError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type NetworkStatus = { - __typename?: 'NetworkStatus'; - inFlightRequests: Scalars['Int']['output']; + __typename?: 'NetworkStatus'; + inFlightRequests: Scalars['Int']['output']; }; /** @@ -3781,321 +3653,320 @@ export type NetworkStatus = { * current session. */ export type NoActiveOrderError = ErrorResult & { - __typename?: 'NoActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when a call to modifyOrder fails to specify any changes */ export type NoChangesSpecifiedError = ErrorResult & { - __typename?: 'NoChangesSpecifiedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoChangesSpecifiedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Node = { - id: Scalars['ID']['output']; + id: Scalars['ID']['output']; }; /** Returned if an attempting to refund an Order but neither items nor shipping refund was specified */ export type NothingToRefundError = ErrorResult & { - __typename?: 'NothingToRefundError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NothingToRefundError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Operators for filtering on a list of Number fields */ export type NumberListOperators = { - inList: Scalars['Float']['input']; + inList: Scalars['Float']['input']; }; /** Operators for filtering on a Int or Float field */ export type NumberOperators = { - between?: InputMaybe; - eq?: InputMaybe; - gt?: InputMaybe; - gte?: InputMaybe; - isNull?: InputMaybe; - lt?: InputMaybe; - lte?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + isNull?: InputMaybe; + lt?: InputMaybe; + lte?: InputMaybe; }; export type NumberRange = { - end: Scalars['Float']['input']; - start: Scalars['Float']['input']; + end: Scalars['Float']['input']; + start: Scalars['Float']['input']; }; export type Order = Node & { - __typename?: 'Order'; - /** An order is active as long as the payment process has not been completed */ - active: Scalars['Boolean']['output']; - aggregateOrder?: Maybe; - aggregateOrderId?: Maybe; - billingAddress?: Maybe; - channels: Array; - /** A unique code for the Order */ - code: Scalars['String']['output']; - /** An array of all coupon codes applied to the Order */ - couponCodes: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - customer?: Maybe; - discounts: Array; - fulfillments?: Maybe>; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lines: Array; - modifications: Array; - nextStates: Array; - /** - * The date & time that the Order was placed, i.e. the Customer - * completed the checkout and the Order is no longer "active" - */ - orderPlacedAt?: Maybe; - payments?: Maybe>; - /** Promotions applied to the order. Only gets populated after the payment process has completed. */ - promotions: Array; - sellerOrders?: Maybe>; - shipping: Scalars['Money']['output']; - shippingAddress?: Maybe; - shippingLines: Array; - shippingWithTax: Scalars['Money']['output']; - state: Scalars['String']['output']; - /** - * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level - * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. - * To get a total of all OrderLines which does not account for prorated discounts, use the - * sum of `OrderLine.discountedLinePrice` values. - */ - subTotal: Scalars['Money']['output']; - /** Same as subTotal, but inclusive of tax */ - subTotalWithTax: Scalars['Money']['output']; - /** - * Surcharges are arbitrary modifications to the Order total which are neither - * ProductVariants nor discounts resulting from applied Promotions. For example, - * one-off discounts based on customer interaction, or surcharges based on payment - * methods. - */ - surcharges: Array; - /** A summary of the taxes being applied to this Order */ - taxSummary: Array; - /** Equal to subTotal plus shipping */ - total: Scalars['Money']['output']; - totalQuantity: Scalars['Int']['output']; - /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ - totalWithTax: Scalars['Money']['output']; - type: OrderType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Order'; + /** An order is active as long as the payment process has not been completed */ + active: Scalars['Boolean']['output']; + aggregateOrder?: Maybe; + aggregateOrderId?: Maybe; + billingAddress?: Maybe; + channels: Array; + /** A unique code for the Order */ + code: Scalars['String']['output']; + /** An array of all coupon codes applied to the Order */ + couponCodes: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + customer?: Maybe; + discounts: Array; + fulfillments?: Maybe>; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lines: Array; + modifications: Array; + nextStates: Array; + /** + * The date & time that the Order was placed, i.e. the Customer + * completed the checkout and the Order is no longer "active" + */ + orderPlacedAt?: Maybe; + payments?: Maybe>; + /** Promotions applied to the order. Only gets populated after the payment process has completed. */ + promotions: Array; + sellerOrders?: Maybe>; + shipping: Scalars['Money']['output']; + shippingAddress?: Maybe; + shippingLines: Array; + shippingWithTax: Scalars['Money']['output']; + state: Scalars['String']['output']; + /** + * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level + * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. + * To get a total of all OrderLines which does not account for prorated discounts, use the + * sum of `OrderLine.discountedLinePrice` values. + */ + subTotal: Scalars['Money']['output']; + /** Same as subTotal, but inclusive of tax */ + subTotalWithTax: Scalars['Money']['output']; + /** + * Surcharges are arbitrary modifications to the Order total which are neither + * ProductVariants nor discounts resulting from applied Promotions. For example, + * one-off discounts based on customer interaction, or surcharges based on payment + * methods. + */ + surcharges: Array; + /** A summary of the taxes being applied to this Order */ + taxSummary: Array; + /** Equal to subTotal plus shipping */ + total: Scalars['Money']['output']; + totalQuantity: Scalars['Int']['output']; + /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ + totalWithTax: Scalars['Money']['output']; + type: OrderType; + updatedAt: Scalars['DateTime']['output']; }; - export type OrderHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type OrderAddress = { - __typename?: 'OrderAddress'; - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + __typename?: 'OrderAddress'; + city?: Maybe; + company?: Maybe; + country?: Maybe; + countryCode?: Maybe; + customFields?: Maybe; + fullName?: Maybe; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1?: Maybe; + streetLine2?: Maybe; }; export type OrderFilterParameter = { - active?: InputMaybe; - aggregateOrderId?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - customerLastName?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - transactionId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + active?: InputMaybe; + aggregateOrderId?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + customerLastName?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + transactionId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - __typename?: 'OrderLimitError'; - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'OrderLimitError'; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - __typename?: 'OrderLine'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - /** The price of the line including discounts, excluding tax */ - discountedLinePrice: Scalars['Money']['output']; - /** The price of the line including discounts and tax */ - discountedLinePriceWithTax: Scalars['Money']['output']; - /** - * The price of a single unit including discounts, excluding tax. - * - * If Order-level discounts have been applied, this will not be the - * actual taxable unit price (see `proratedUnitPrice`), but is generally the - * correct price to display to customers to avoid confusion - * about the internal handling of distributed Order-level discounts. - */ - discountedUnitPrice: Scalars['Money']['output']; - /** The price of a single unit including discounts and tax */ - discountedUnitPriceWithTax: Scalars['Money']['output']; - discounts: Array; - featuredAsset?: Maybe; - fulfillmentLines?: Maybe>; - id: Scalars['ID']['output']; - /** The total price of the line excluding tax and discounts. */ - linePrice: Scalars['Money']['output']; - /** The total price of the line including tax but excluding discounts. */ - linePriceWithTax: Scalars['Money']['output']; - /** The total tax on this line */ - lineTax: Scalars['Money']['output']; - order: Order; - /** The quantity at the time the Order was placed */ - orderPlacedQuantity: Scalars['Int']['output']; - productVariant: ProductVariant; - /** - * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax - * and refund calculations. - */ - proratedLinePrice: Scalars['Money']['output']; - /** The proratedLinePrice including tax */ - proratedLinePriceWithTax: Scalars['Money']['output']; - /** - * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax - * and refund calculations. - */ - proratedUnitPrice: Scalars['Money']['output']; - /** The proratedUnitPrice including tax */ - proratedUnitPriceWithTax: Scalars['Money']['output']; - quantity: Scalars['Int']['output']; - taxLines: Array; - taxRate: Scalars['Float']['output']; - /** The price of a single unit, excluding tax and discounts */ - unitPrice: Scalars['Money']['output']; - /** Non-zero if the unitPrice has changed since it was initially added to Order */ - unitPriceChangeSinceAdded: Scalars['Money']['output']; - /** The price of a single unit, including tax but excluding discounts */ - unitPriceWithTax: Scalars['Money']['output']; - /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ - unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderLine'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + /** The price of the line including discounts, excluding tax */ + discountedLinePrice: Scalars['Money']['output']; + /** The price of the line including discounts and tax */ + discountedLinePriceWithTax: Scalars['Money']['output']; + /** + * The price of a single unit including discounts, excluding tax. + * + * If Order-level discounts have been applied, this will not be the + * actual taxable unit price (see `proratedUnitPrice`), but is generally the + * correct price to display to customers to avoid confusion + * about the internal handling of distributed Order-level discounts. + */ + discountedUnitPrice: Scalars['Money']['output']; + /** The price of a single unit including discounts and tax */ + discountedUnitPriceWithTax: Scalars['Money']['output']; + discounts: Array; + featuredAsset?: Maybe; + fulfillmentLines?: Maybe>; + id: Scalars['ID']['output']; + /** The total price of the line excluding tax and discounts. */ + linePrice: Scalars['Money']['output']; + /** The total price of the line including tax but excluding discounts. */ + linePriceWithTax: Scalars['Money']['output']; + /** The total tax on this line */ + lineTax: Scalars['Money']['output']; + order: Order; + /** The quantity at the time the Order was placed */ + orderPlacedQuantity: Scalars['Int']['output']; + productVariant: ProductVariant; + /** + * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax + * and refund calculations. + */ + proratedLinePrice: Scalars['Money']['output']; + /** The proratedLinePrice including tax */ + proratedLinePriceWithTax: Scalars['Money']['output']; + /** + * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax + * and refund calculations. + */ + proratedUnitPrice: Scalars['Money']['output']; + /** The proratedUnitPrice including tax */ + proratedUnitPriceWithTax: Scalars['Money']['output']; + quantity: Scalars['Int']['output']; + taxLines: Array; + taxRate: Scalars['Float']['output']; + /** The price of a single unit, excluding tax and discounts */ + unitPrice: Scalars['Money']['output']; + /** Non-zero if the unitPrice has changed since it was initially added to Order */ + unitPriceChangeSinceAdded: Scalars['Money']['output']; + /** The price of a single unit, including tax but excluding discounts */ + unitPriceWithTax: Scalars['Money']['output']; + /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ + unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type OrderLineInput = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'OrderList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type OrderModification = Node & { - __typename?: 'OrderModification'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - isSettled: Scalars['Boolean']['output']; - lines: Array; - note: Scalars['String']['output']; - payment?: Maybe; - priceChange: Scalars['Money']['output']; - refund?: Maybe; - surcharges?: Maybe>; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderModification'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + isSettled: Scalars['Boolean']['output']; + lines: Array; + note: Scalars['String']['output']; + payment?: Maybe; + priceChange: Scalars['Money']['output']; + refund?: Maybe; + surcharges?: Maybe>; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */ export type OrderModificationError = ErrorResult & { - __typename?: 'OrderModificationError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderModificationLine = { - __typename?: 'OrderModificationLine'; - modification: OrderModification; - modificationId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'OrderModificationLine'; + modification: OrderModification; + modificationId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; /** Returned when attempting to modify the contents of an Order that is not in the `Modifying` state. */ export type OrderModificationStateError = ErrorResult & { - __typename?: 'OrderModificationStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderProcessState = { - __typename?: 'OrderProcessState'; - name: Scalars['String']['output']; - to: Array; + __typename?: 'OrderProcessState'; + name: Scalars['String']['output']; + to: Array; }; export type OrderSortParameter = { - aggregateOrderId?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - customerLastName?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - transactionId?: InputMaybe; - updatedAt?: InputMaybe; + aggregateOrderId?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + customerLastName?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + transactionId?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned if there is an error in transitioning the Order state */ export type OrderStateTransitionError = ErrorResult & { - __typename?: 'OrderStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'OrderStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4103,85 +3974,85 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type OrderTaxSummary = { - __typename?: 'OrderTaxSummary'; - /** A description of this tax */ - description: Scalars['String']['output']; - /** The total net price of OrderLines to which this taxRate applies */ - taxBase: Scalars['Money']['output']; - /** The taxRate as a percentage */ - taxRate: Scalars['Float']['output']; - /** The total tax being applied to the Order at this taxRate */ - taxTotal: Scalars['Money']['output']; + __typename?: 'OrderTaxSummary'; + /** A description of this tax */ + description: Scalars['String']['output']; + /** The total net price of OrderLines to which this taxRate applies */ + taxBase: Scalars['Money']['output']; + /** The taxRate as a percentage */ + taxRate: Scalars['Float']['output']; + /** The total tax being applied to the Order at this taxRate */ + taxTotal: Scalars['Money']['output']; }; export enum OrderType { - Aggregate = 'Aggregate', - Regular = 'Regular', - Seller = 'Seller' + Aggregate = 'Aggregate', + Regular = 'Regular', + Seller = 'Seller', } export type PaginatedList = { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type Payment = Node & { - __typename?: 'Payment'; - amount: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - errorMessage?: Maybe; - id: Scalars['ID']['output']; - metadata?: Maybe; - method: Scalars['String']['output']; - nextStates: Array; - refunds: Array; - state: Scalars['String']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Payment'; + amount: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + errorMessage?: Maybe; + id: Scalars['ID']['output']; + metadata?: Maybe; + method: Scalars['String']['output']; + nextStates: Array; + refunds: Array; + state: Scalars['String']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; - checker?: Maybe; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - handler: ConfigurableOperation; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethod'; + checker?: Maybe; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + handler: ConfigurableOperation; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodList = PaginatedList & { - __typename?: 'PaymentMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PaymentMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PaymentMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -4189,64 +4060,64 @@ export type PaymentMethodListOptions = { * though the price has increased as a result of the changes. */ export type PaymentMethodMissingError = ErrorResult & { - __typename?: 'PaymentMethodMissingError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PaymentMethodMissingError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type PaymentMethodQuote = { - __typename?: 'PaymentMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - eligibilityMessage?: Maybe; - id: Scalars['ID']['output']; - isEligible: Scalars['Boolean']['output']; - name: Scalars['String']['output']; + __typename?: 'PaymentMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + eligibilityMessage?: Maybe; + id: Scalars['ID']['output']; + isEligible: Scalars['Boolean']['output']; + name: Scalars['String']['output']; }; export type PaymentMethodSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodTranslation = { - __typename?: 'PaymentMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if an attempting to refund a Payment against OrderLines from a different Order */ export type PaymentOrderMismatchError = ErrorResult & { - __typename?: 'PaymentOrderMismatchError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PaymentOrderMismatchError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Payment state */ export type PaymentStateTransitionError = ErrorResult & { - __typename?: 'PaymentStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'PaymentStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4263,7 +4134,7 @@ export type PaymentStateTransitionError = ErrorResult & { * based on the activeUserId of the current session. As a result, the resolver code looks like this: * * @example - * ```TypeScript + * ```ts * \@Query() * \@Allow(Permission.Owner) * async activeCustomer(\@Ctx() ctx: RequestContext): Promise { @@ -4282,456 +4153,454 @@ export type PaymentStateTransitionError = ErrorResult & { * @docsCategory common */ export enum Permission { - /** Authenticated means simply that the user is logged in */ - Authenticated = 'Authenticated', - /** Grants permission to create Administrator */ - CreateAdministrator = 'CreateAdministrator', - /** Grants permission to create Asset */ - CreateAsset = 'CreateAsset', - /** Grants permission to create Products, Facets, Assets, Collections */ - CreateCatalog = 'CreateCatalog', - /** Grants permission to create Channel */ - CreateChannel = 'CreateChannel', - /** Grants permission to create Collection */ - CreateCollection = 'CreateCollection', - /** Grants permission to create Country */ - CreateCountry = 'CreateCountry', - /** Grants permission to create Customer */ - CreateCustomer = 'CreateCustomer', - /** Grants permission to create CustomerGroup */ - CreateCustomerGroup = 'CreateCustomerGroup', - /** Grants permission to create Facet */ - CreateFacet = 'CreateFacet', - /** Grants permission to create Order */ - CreateOrder = 'CreateOrder', - /** Grants permission to create PaymentMethod */ - CreatePaymentMethod = 'CreatePaymentMethod', - /** Grants permission to create Product */ - CreateProduct = 'CreateProduct', - /** Grants permission to create Promotion */ - CreatePromotion = 'CreatePromotion', - /** Grants permission to create Seller */ - CreateSeller = 'CreateSeller', - /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - CreateSettings = 'CreateSettings', - /** Grants permission to create ShippingMethod */ - CreateShippingMethod = 'CreateShippingMethod', - /** Grants permission to create StockLocation */ - CreateStockLocation = 'CreateStockLocation', - /** Grants permission to create System */ - CreateSystem = 'CreateSystem', - /** Grants permission to create Tag */ - CreateTag = 'CreateTag', - /** Grants permission to create TaxCategory */ - CreateTaxCategory = 'CreateTaxCategory', - /** Grants permission to create TaxRate */ - CreateTaxRate = 'CreateTaxRate', - /** Grants permission to create Zone */ - CreateZone = 'CreateZone', - /** Grants permission to delete Administrator */ - DeleteAdministrator = 'DeleteAdministrator', - /** Grants permission to delete Asset */ - DeleteAsset = 'DeleteAsset', - /** Grants permission to delete Products, Facets, Assets, Collections */ - DeleteCatalog = 'DeleteCatalog', - /** Grants permission to delete Channel */ - DeleteChannel = 'DeleteChannel', - /** Grants permission to delete Collection */ - DeleteCollection = 'DeleteCollection', - /** Grants permission to delete Country */ - DeleteCountry = 'DeleteCountry', - /** Grants permission to delete Customer */ - DeleteCustomer = 'DeleteCustomer', - /** Grants permission to delete CustomerGroup */ - DeleteCustomerGroup = 'DeleteCustomerGroup', - /** Grants permission to delete Facet */ - DeleteFacet = 'DeleteFacet', - /** Grants permission to delete Order */ - DeleteOrder = 'DeleteOrder', - /** Grants permission to delete PaymentMethod */ - DeletePaymentMethod = 'DeletePaymentMethod', - /** Grants permission to delete Product */ - DeleteProduct = 'DeleteProduct', - /** Grants permission to delete Promotion */ - DeletePromotion = 'DeletePromotion', - /** Grants permission to delete Seller */ - DeleteSeller = 'DeleteSeller', - /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - DeleteSettings = 'DeleteSettings', - /** Grants permission to delete ShippingMethod */ - DeleteShippingMethod = 'DeleteShippingMethod', - /** Grants permission to delete StockLocation */ - DeleteStockLocation = 'DeleteStockLocation', - /** Grants permission to delete System */ - DeleteSystem = 'DeleteSystem', - /** Grants permission to delete Tag */ - DeleteTag = 'DeleteTag', - /** Grants permission to delete TaxCategory */ - DeleteTaxCategory = 'DeleteTaxCategory', - /** Grants permission to delete TaxRate */ - DeleteTaxRate = 'DeleteTaxRate', - /** Grants permission to delete Zone */ - DeleteZone = 'DeleteZone', - /** Owner means the user owns this entity, e.g. a Customer's own Order */ - Owner = 'Owner', - Placeholder = 'Placeholder', - /** Public means any unauthenticated user may perform the operation */ - Public = 'Public', - /** Grants permission to read Administrator */ - ReadAdministrator = 'ReadAdministrator', - /** Grants permission to read Asset */ - ReadAsset = 'ReadAsset', - /** Grants permission to read Products, Facets, Assets, Collections */ - ReadCatalog = 'ReadCatalog', - /** Grants permission to read Channel */ - ReadChannel = 'ReadChannel', - /** Grants permission to read Collection */ - ReadCollection = 'ReadCollection', - /** Grants permission to read Country */ - ReadCountry = 'ReadCountry', - /** Grants permission to read Customer */ - ReadCustomer = 'ReadCustomer', - /** Grants permission to read CustomerGroup */ - ReadCustomerGroup = 'ReadCustomerGroup', - /** Grants permission to read Facet */ - ReadFacet = 'ReadFacet', - /** Grants permission to read Order */ - ReadOrder = 'ReadOrder', - /** Grants permission to read PaymentMethod */ - ReadPaymentMethod = 'ReadPaymentMethod', - /** Grants permission to read Product */ - ReadProduct = 'ReadProduct', - /** Grants permission to read Promotion */ - ReadPromotion = 'ReadPromotion', - /** Grants permission to read Seller */ - ReadSeller = 'ReadSeller', - /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - ReadSettings = 'ReadSettings', - /** Grants permission to read ShippingMethod */ - ReadShippingMethod = 'ReadShippingMethod', - /** Grants permission to read StockLocation */ - ReadStockLocation = 'ReadStockLocation', - /** Grants permission to read System */ - ReadSystem = 'ReadSystem', - /** Grants permission to read Tag */ - ReadTag = 'ReadTag', - /** Grants permission to read TaxCategory */ - ReadTaxCategory = 'ReadTaxCategory', - /** Grants permission to read TaxRate */ - ReadTaxRate = 'ReadTaxRate', - /** Grants permission to read Zone */ - ReadZone = 'ReadZone', - /** SuperAdmin has unrestricted access to all operations */ - SuperAdmin = 'SuperAdmin', - /** Grants permission to update Administrator */ - UpdateAdministrator = 'UpdateAdministrator', - /** Grants permission to update Asset */ - UpdateAsset = 'UpdateAsset', - /** Grants permission to update Products, Facets, Assets, Collections */ - UpdateCatalog = 'UpdateCatalog', - /** Grants permission to update Channel */ - UpdateChannel = 'UpdateChannel', - /** Grants permission to update Collection */ - UpdateCollection = 'UpdateCollection', - /** Grants permission to update Country */ - UpdateCountry = 'UpdateCountry', - /** Grants permission to update Customer */ - UpdateCustomer = 'UpdateCustomer', - /** Grants permission to update CustomerGroup */ - UpdateCustomerGroup = 'UpdateCustomerGroup', - /** Grants permission to update Facet */ - UpdateFacet = 'UpdateFacet', - /** Grants permission to update GlobalSettings */ - UpdateGlobalSettings = 'UpdateGlobalSettings', - /** Grants permission to update Order */ - UpdateOrder = 'UpdateOrder', - /** Grants permission to update PaymentMethod */ - UpdatePaymentMethod = 'UpdatePaymentMethod', - /** Grants permission to update Product */ - UpdateProduct = 'UpdateProduct', - /** Grants permission to update Promotion */ - UpdatePromotion = 'UpdatePromotion', - /** Grants permission to update Seller */ - UpdateSeller = 'UpdateSeller', - /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - UpdateSettings = 'UpdateSettings', - /** Grants permission to update ShippingMethod */ - UpdateShippingMethod = 'UpdateShippingMethod', - /** Grants permission to update StockLocation */ - UpdateStockLocation = 'UpdateStockLocation', - /** Grants permission to update System */ - UpdateSystem = 'UpdateSystem', - /** Grants permission to update Tag */ - UpdateTag = 'UpdateTag', - /** Grants permission to update TaxCategory */ - UpdateTaxCategory = 'UpdateTaxCategory', - /** Grants permission to update TaxRate */ - UpdateTaxRate = 'UpdateTaxRate', - /** Grants permission to update Zone */ - UpdateZone = 'UpdateZone' + /** Authenticated means simply that the user is logged in */ + Authenticated = 'Authenticated', + /** Grants permission to create Administrator */ + CreateAdministrator = 'CreateAdministrator', + /** Grants permission to create Asset */ + CreateAsset = 'CreateAsset', + /** Grants permission to create Products, Facets, Assets, Collections */ + CreateCatalog = 'CreateCatalog', + /** Grants permission to create Channel */ + CreateChannel = 'CreateChannel', + /** Grants permission to create Collection */ + CreateCollection = 'CreateCollection', + /** Grants permission to create Country */ + CreateCountry = 'CreateCountry', + /** Grants permission to create Customer */ + CreateCustomer = 'CreateCustomer', + /** Grants permission to create CustomerGroup */ + CreateCustomerGroup = 'CreateCustomerGroup', + /** Grants permission to create Facet */ + CreateFacet = 'CreateFacet', + /** Grants permission to create Order */ + CreateOrder = 'CreateOrder', + /** Grants permission to create PaymentMethod */ + CreatePaymentMethod = 'CreatePaymentMethod', + /** Grants permission to create Product */ + CreateProduct = 'CreateProduct', + /** Grants permission to create Promotion */ + CreatePromotion = 'CreatePromotion', + /** Grants permission to create Seller */ + CreateSeller = 'CreateSeller', + /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + CreateSettings = 'CreateSettings', + /** Grants permission to create ShippingMethod */ + CreateShippingMethod = 'CreateShippingMethod', + /** Grants permission to create StockLocation */ + CreateStockLocation = 'CreateStockLocation', + /** Grants permission to create System */ + CreateSystem = 'CreateSystem', + /** Grants permission to create Tag */ + CreateTag = 'CreateTag', + /** Grants permission to create TaxCategory */ + CreateTaxCategory = 'CreateTaxCategory', + /** Grants permission to create TaxRate */ + CreateTaxRate = 'CreateTaxRate', + /** Grants permission to create Zone */ + CreateZone = 'CreateZone', + /** Grants permission to delete Administrator */ + DeleteAdministrator = 'DeleteAdministrator', + /** Grants permission to delete Asset */ + DeleteAsset = 'DeleteAsset', + /** Grants permission to delete Products, Facets, Assets, Collections */ + DeleteCatalog = 'DeleteCatalog', + /** Grants permission to delete Channel */ + DeleteChannel = 'DeleteChannel', + /** Grants permission to delete Collection */ + DeleteCollection = 'DeleteCollection', + /** Grants permission to delete Country */ + DeleteCountry = 'DeleteCountry', + /** Grants permission to delete Customer */ + DeleteCustomer = 'DeleteCustomer', + /** Grants permission to delete CustomerGroup */ + DeleteCustomerGroup = 'DeleteCustomerGroup', + /** Grants permission to delete Facet */ + DeleteFacet = 'DeleteFacet', + /** Grants permission to delete Order */ + DeleteOrder = 'DeleteOrder', + /** Grants permission to delete PaymentMethod */ + DeletePaymentMethod = 'DeletePaymentMethod', + /** Grants permission to delete Product */ + DeleteProduct = 'DeleteProduct', + /** Grants permission to delete Promotion */ + DeletePromotion = 'DeletePromotion', + /** Grants permission to delete Seller */ + DeleteSeller = 'DeleteSeller', + /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + DeleteSettings = 'DeleteSettings', + /** Grants permission to delete ShippingMethod */ + DeleteShippingMethod = 'DeleteShippingMethod', + /** Grants permission to delete StockLocation */ + DeleteStockLocation = 'DeleteStockLocation', + /** Grants permission to delete System */ + DeleteSystem = 'DeleteSystem', + /** Grants permission to delete Tag */ + DeleteTag = 'DeleteTag', + /** Grants permission to delete TaxCategory */ + DeleteTaxCategory = 'DeleteTaxCategory', + /** Grants permission to delete TaxRate */ + DeleteTaxRate = 'DeleteTaxRate', + /** Grants permission to delete Zone */ + DeleteZone = 'DeleteZone', + /** Owner means the user owns this entity, e.g. a Customer's own Order */ + Owner = 'Owner', + Placeholder = 'Placeholder', + /** Public means any unauthenticated user may perform the operation */ + Public = 'Public', + /** Grants permission to read Administrator */ + ReadAdministrator = 'ReadAdministrator', + /** Grants permission to read Asset */ + ReadAsset = 'ReadAsset', + /** Grants permission to read Products, Facets, Assets, Collections */ + ReadCatalog = 'ReadCatalog', + /** Grants permission to read Channel */ + ReadChannel = 'ReadChannel', + /** Grants permission to read Collection */ + ReadCollection = 'ReadCollection', + /** Grants permission to read Country */ + ReadCountry = 'ReadCountry', + /** Grants permission to read Customer */ + ReadCustomer = 'ReadCustomer', + /** Grants permission to read CustomerGroup */ + ReadCustomerGroup = 'ReadCustomerGroup', + /** Grants permission to read Facet */ + ReadFacet = 'ReadFacet', + /** Grants permission to read Order */ + ReadOrder = 'ReadOrder', + /** Grants permission to read PaymentMethod */ + ReadPaymentMethod = 'ReadPaymentMethod', + /** Grants permission to read Product */ + ReadProduct = 'ReadProduct', + /** Grants permission to read Promotion */ + ReadPromotion = 'ReadPromotion', + /** Grants permission to read Seller */ + ReadSeller = 'ReadSeller', + /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + ReadSettings = 'ReadSettings', + /** Grants permission to read ShippingMethod */ + ReadShippingMethod = 'ReadShippingMethod', + /** Grants permission to read StockLocation */ + ReadStockLocation = 'ReadStockLocation', + /** Grants permission to read System */ + ReadSystem = 'ReadSystem', + /** Grants permission to read Tag */ + ReadTag = 'ReadTag', + /** Grants permission to read TaxCategory */ + ReadTaxCategory = 'ReadTaxCategory', + /** Grants permission to read TaxRate */ + ReadTaxRate = 'ReadTaxRate', + /** Grants permission to read Zone */ + ReadZone = 'ReadZone', + /** SuperAdmin has unrestricted access to all operations */ + SuperAdmin = 'SuperAdmin', + /** Grants permission to update Administrator */ + UpdateAdministrator = 'UpdateAdministrator', + /** Grants permission to update Asset */ + UpdateAsset = 'UpdateAsset', + /** Grants permission to update Products, Facets, Assets, Collections */ + UpdateCatalog = 'UpdateCatalog', + /** Grants permission to update Channel */ + UpdateChannel = 'UpdateChannel', + /** Grants permission to update Collection */ + UpdateCollection = 'UpdateCollection', + /** Grants permission to update Country */ + UpdateCountry = 'UpdateCountry', + /** Grants permission to update Customer */ + UpdateCustomer = 'UpdateCustomer', + /** Grants permission to update CustomerGroup */ + UpdateCustomerGroup = 'UpdateCustomerGroup', + /** Grants permission to update Facet */ + UpdateFacet = 'UpdateFacet', + /** Grants permission to update GlobalSettings */ + UpdateGlobalSettings = 'UpdateGlobalSettings', + /** Grants permission to update Order */ + UpdateOrder = 'UpdateOrder', + /** Grants permission to update PaymentMethod */ + UpdatePaymentMethod = 'UpdatePaymentMethod', + /** Grants permission to update Product */ + UpdateProduct = 'UpdateProduct', + /** Grants permission to update Promotion */ + UpdatePromotion = 'UpdatePromotion', + /** Grants permission to update Seller */ + UpdateSeller = 'UpdateSeller', + /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + UpdateSettings = 'UpdateSettings', + /** Grants permission to update ShippingMethod */ + UpdateShippingMethod = 'UpdateShippingMethod', + /** Grants permission to update StockLocation */ + UpdateStockLocation = 'UpdateStockLocation', + /** Grants permission to update System */ + UpdateSystem = 'UpdateSystem', + /** Grants permission to update Tag */ + UpdateTag = 'UpdateTag', + /** Grants permission to update TaxCategory */ + UpdateTaxCategory = 'UpdateTaxCategory', + /** Grants permission to update TaxRate */ + UpdateTaxRate = 'UpdateTaxRate', + /** Grants permission to update Zone */ + UpdateZone = 'UpdateZone', } export type PermissionDefinition = { - __typename?: 'PermissionDefinition'; - assignable: Scalars['Boolean']['output']; - description: Scalars['String']['output']; - name: Scalars['String']['output']; + __typename?: 'PermissionDefinition'; + assignable: Scalars['Boolean']['output']; + description: Scalars['String']['output']; + name: Scalars['String']['output']; }; export type PreviewCollectionVariantsInput = { - filters: Array; - inheritFilters: Scalars['Boolean']['input']; - parentId?: InputMaybe; + filters: Array; + inheritFilters: Scalars['Boolean']['input']; + parentId?: InputMaybe; }; /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + __typename?: 'PriceRange'; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - __typename?: 'Product'; - assets: Array; - channels: Array; - collections: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - optionGroups: Array; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - /** Returns a paginated, sortable, filterable list of ProductVariants */ - variantList: ProductVariantList; - /** Returns all ProductVariants */ - variants: Array; + __typename?: 'Product'; + assets: Array; + channels: Array; + collections: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + optionGroups: Array; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + /** Returns a paginated, sortable, filterable list of ProductVariants */ + variantList: ProductVariantList; + /** Returns all ProductVariants */ + variants: Array; }; - export type ProductVariantListArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductOption = Node & { - __typename?: 'ProductOption'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - group: ProductOptionGroup; - groupId: Scalars['ID']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOption'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + group: ProductOptionGroup; + groupId: Scalars['ID']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroup'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroupTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type ProductOptionInUseError = ErrorResult & { - __typename?: 'ProductOptionInUseError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - optionGroupCode: Scalars['String']['output']; - productVariantCount: Scalars['Int']['output']; + __typename?: 'ProductOptionInUseError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + optionGroupCode: Scalars['String']['output']; + productVariantCount: Scalars['Int']['output']; }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type ProductSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; - slug?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; + slug?: InputMaybe; }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; - assets: Array; - channels: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - outOfStockThreshold: Scalars['Int']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - prices: Array; - product: Product; - productId: Scalars['ID']['output']; - sku: Scalars['String']['output']; - /** @deprecated use stockLevels */ - stockAllocated: Scalars['Int']['output']; - stockLevel: Scalars['String']['output']; - stockLevels: Array; - stockMovements: StockMovementList; - /** @deprecated use stockLevels */ - stockOnHand: Scalars['Int']['output']; - taxCategory: TaxCategory; - taxRateApplied: TaxRate; - trackInventory: GlobalFlag; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - useGlobalOutOfStockThreshold: Scalars['Boolean']['output']; + __typename?: 'ProductVariant'; + assets: Array; + channels: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + outOfStockThreshold: Scalars['Int']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + prices: Array; + product: Product; + productId: Scalars['ID']['output']; + sku: Scalars['String']['output']; + /** @deprecated use stockLevels */ + stockAllocated: Scalars['Int']['output']; + stockLevel: Scalars['String']['output']; + stockLevels: Array; + stockMovements: StockMovementList; + /** @deprecated use stockLevels */ + stockOnHand: Scalars['Int']['output']; + taxCategory: TaxCategory; + taxRateApplied: TaxRate; + trackInventory: GlobalFlag; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + useGlobalOutOfStockThreshold: Scalars['Boolean']['output']; }; - export type ProductVariantStockMovementsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductVariantFilterParameter = { - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockAllocated?: InputMaybe; - stockLevel?: InputMaybe; - stockOnHand?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; - useGlobalOutOfStockThreshold?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockAllocated?: InputMaybe; + stockLevel?: InputMaybe; + stockOnHand?: InputMaybe; + trackInventory?: InputMaybe; + updatedAt?: InputMaybe; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductVariantList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductVariantPrice = { - __typename?: 'ProductVariantPrice'; - currencyCode: CurrencyCode; - price: Scalars['Int']['output']; + __typename?: 'ProductVariantPrice'; + currencyCode: CurrencyCode; + price: Scalars['Int']['output']; }; /** @@ -4739,616 +4608,569 @@ export type ProductVariantPrice = { * If the `delete` flag is `true`, the price will be deleted for the given Channel. */ export type ProductVariantPriceInput = { - currencyCode: CurrencyCode; - delete?: InputMaybe; - price: Scalars['Money']['input']; + currencyCode: CurrencyCode; + delete?: InputMaybe; + price: Scalars['Money']['input']; }; export type ProductVariantSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockAllocated?: InputMaybe; - stockLevel?: InputMaybe; - stockOnHand?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockAllocated?: InputMaybe; + stockLevel?: InputMaybe; + stockOnHand?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductVariantTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductVariantTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type Promotion = Node & { - __typename?: 'Promotion'; - actions: Array; - conditions: Array; - couponCode?: Maybe; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - endsAt?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - perCustomerUsageLimit?: Maybe; - startsAt?: Maybe; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - usageLimit?: Maybe; + __typename?: 'Promotion'; + actions: Array; + conditions: Array; + couponCode?: Maybe; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + endsAt?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + perCustomerUsageLimit?: Maybe; + startsAt?: Maybe; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + usageLimit?: Maybe; }; export type PromotionFilterParameter = { - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; - usageLimit?: InputMaybe; + couponCode?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + endsAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + updatedAt?: InputMaybe; + usageLimit?: InputMaybe; }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PromotionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type PromotionSortParameter = { - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; - usageLimit?: InputMaybe; + couponCode?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + endsAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + updatedAt?: InputMaybe; + usageLimit?: InputMaybe; }; export type PromotionTranslation = { - __typename?: 'PromotionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PromotionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type PromotionTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; -}; - -export type Province = Node & Region & { - __typename?: 'Province'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; +}; + +export type Province = Node & + Region & { + __typename?: 'Province'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type ProvinceFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceList = PaginatedList & { - __typename?: 'ProvinceList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProvinceList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProvinceListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProvinceSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if the specified quantity of an OrderLine is greater than the number of items in that line */ export type QuantityTooGreatError = ErrorResult & { - __typename?: 'QuantityTooGreatError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'QuantityTooGreatError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Query = { - __typename?: 'Query'; - activeAdministrator?: Maybe; - activeChannel: Channel; - administrator?: Maybe; - administrators: AdministratorList; - /** Get a single Asset by id */ - asset?: Maybe; - /** Get a list of Assets */ - assets: AssetList; - channel?: Maybe; - channels: ChannelList; - /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */ - collection?: Maybe; - collectionFilters: Array; - collections: CollectionList; - countries: CountryList; - country?: Maybe; - customer?: Maybe; - customerGroup?: Maybe; - customerGroups: CustomerGroupList; - customers: CustomerList; - /** Returns a list of eligible shipping methods for the draft Order */ - eligibleShippingMethodsForDraftOrder: Array; - facet?: Maybe; - facetValues: FacetValueList; - facets: FacetList; - fulfillmentHandlers: Array; - globalSettings: GlobalSettings; - job?: Maybe; - jobBufferSize: Array; - jobQueues: Array; - jobs: JobList; - jobsById: Array; - me?: Maybe; - /** Get metrics for the given interval and metric types. */ - metricSummary: Array; - networkStatus: NetworkStatus; - order?: Maybe; - orders: OrderList; - paymentMethod?: Maybe; - paymentMethodEligibilityCheckers: Array; - paymentMethodHandlers: Array; - paymentMethods: PaymentMethodList; - pendingSearchIndexUpdates: Scalars['Int']['output']; - /** Used for real-time previews of the contents of a Collection */ - previewCollectionVariants: ProductVariantList; - /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */ - product?: Maybe; - productOptionGroup?: Maybe; - productOptionGroups: Array; - /** Get a ProductVariant by id */ - productVariant?: Maybe; - /** List ProductVariants either all or for the specific product. */ - productVariants: ProductVariantList; - /** List Products */ - products: ProductList; - promotion?: Maybe; - promotionActions: Array; - promotionConditions: Array; - promotions: PromotionList; - province?: Maybe; - provinces: ProvinceList; - role?: Maybe; - roles: RoleList; - search: SearchResponse; - seller?: Maybe; - sellers: SellerList; - shippingCalculators: Array; - shippingEligibilityCheckers: Array; - shippingMethod?: Maybe; - shippingMethods: ShippingMethodList; - stockLocation?: Maybe; - stockLocations: StockLocationList; - tag: Tag; - tags: TagList; - taxCategories: TaxCategoryList; - taxCategory?: Maybe; - taxRate?: Maybe; - taxRates: TaxRateList; - testEligibleShippingMethods: Array; - testShippingMethod: TestShippingMethodResult; - uiState: UiState; - userStatus: UserStatus; - zone?: Maybe; - zones: ZoneList; + __typename?: 'Query'; + activeAdministrator?: Maybe; + activeChannel: Channel; + administrator?: Maybe; + administrators: AdministratorList; + /** Get a single Asset by id */ + asset?: Maybe; + /** Get a list of Assets */ + assets: AssetList; + channel?: Maybe; + channels: ChannelList; + /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */ + collection?: Maybe; + collectionFilters: Array; + collections: CollectionList; + countries: CountryList; + country?: Maybe; + customer?: Maybe; + customerGroup?: Maybe; + customerGroups: CustomerGroupList; + customers: CustomerList; + /** Returns a list of eligible shipping methods for the draft Order */ + eligibleShippingMethodsForDraftOrder: Array; + facet?: Maybe; + facetValues: FacetValueList; + facets: FacetList; + fulfillmentHandlers: Array; + globalSettings: GlobalSettings; + job?: Maybe; + jobBufferSize: Array; + jobQueues: Array; + jobs: JobList; + jobsById: Array; + me?: Maybe; + /** Get metrics for the given interval and metric types. */ + metricSummary: Array; + networkStatus: NetworkStatus; + order?: Maybe; + orders: OrderList; + paymentMethod?: Maybe; + paymentMethodEligibilityCheckers: Array; + paymentMethodHandlers: Array; + paymentMethods: PaymentMethodList; + pendingSearchIndexUpdates: Scalars['Int']['output']; + /** Used for real-time previews of the contents of a Collection */ + previewCollectionVariants: ProductVariantList; + /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */ + product?: Maybe; + productOptionGroup?: Maybe; + productOptionGroups: Array; + /** Get a ProductVariant by id */ + productVariant?: Maybe; + /** List ProductVariants either all or for the specific product. */ + productVariants: ProductVariantList; + /** List Products */ + products: ProductList; + promotion?: Maybe; + promotionActions: Array; + promotionConditions: Array; + promotions: PromotionList; + province?: Maybe; + provinces: ProvinceList; + role?: Maybe; + roles: RoleList; + search: SearchResponse; + seller?: Maybe; + sellers: SellerList; + shippingCalculators: Array; + shippingEligibilityCheckers: Array; + shippingMethod?: Maybe; + shippingMethods: ShippingMethodList; + stockLocation?: Maybe; + stockLocations: StockLocationList; + tag: Tag; + tags: TagList; + taxCategories: TaxCategoryList; + taxCategory?: Maybe; + taxRate?: Maybe; + taxRates: TaxRateList; + testEligibleShippingMethods: Array; + testShippingMethod: TestShippingMethodResult; + uiState: UiState; + userStatus: UserStatus; + zone?: Maybe; + zones: ZoneList; }; - export type QueryAdministratorArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryAdministratorsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryAssetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryAssetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryChannelArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryChannelsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCollectionArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryCollectionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCountriesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCountryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerGroupsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryEligibleShippingMethodsForDraftOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; - export type QueryFacetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryFacetValuesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryFacetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryJobArgs = { - jobId: Scalars['ID']['input']; + jobId: Scalars['ID']['input']; }; - export type QueryJobBufferSizeArgs = { - bufferIds?: InputMaybe>; + bufferIds?: InputMaybe>; }; - export type QueryJobsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryJobsByIdArgs = { - jobIds: Array; + jobIds: Array; }; - export type QueryMetricSummaryArgs = { - input?: InputMaybe; + input?: InputMaybe; }; - export type QueryOrderArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPaymentMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryPaymentMethodsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPreviewCollectionVariantsArgs = { - input: PreviewCollectionVariantsInput; - options?: InputMaybe; + input: PreviewCollectionVariantsInput; + options?: InputMaybe; }; - export type QueryProductArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryProductOptionGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductOptionGroupsArgs = { - filterTerm?: InputMaybe; + filterTerm?: InputMaybe; }; - export type QueryProductVariantArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductVariantsArgs = { - options?: InputMaybe; - productId?: InputMaybe; + options?: InputMaybe; + productId?: InputMaybe; }; - export type QueryProductsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPromotionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryPromotionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryProvinceArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProvincesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryRoleArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryRolesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QuerySearchArgs = { - input: SearchInput; + input: SearchInput; }; - export type QuerySellerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QuerySellersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryShippingMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryShippingMethodsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryStockLocationArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryStockLocationsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTagArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTagsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTaxCategoriesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTaxCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTaxRateArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTaxRatesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTestEligibleShippingMethodsArgs = { - input: TestEligibleShippingMethodsInput; + input: TestEligibleShippingMethodsInput; }; - export type QueryTestShippingMethodArgs = { - input: TestShippingMethodInput; + input: TestShippingMethodInput; }; - export type QueryZoneArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryZonesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type Refund = Node & { - __typename?: 'Refund'; - adjustment: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - items: Scalars['Money']['output']; - lines: Array; - metadata?: Maybe; - method?: Maybe; - paymentId: Scalars['ID']['output']; - reason?: Maybe; - shipping: Scalars['Money']['output']; - state: Scalars['String']['output']; - total: Scalars['Money']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Refund'; + adjustment: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + items: Scalars['Money']['output']; + lines: Array; + metadata?: Maybe; + method?: Maybe; + paymentId: Scalars['ID']['output']; + reason?: Maybe; + shipping: Scalars['Money']['output']; + state: Scalars['String']['output']; + total: Scalars['Money']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type RefundLine = { - __typename?: 'RefundLine'; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + __typename?: 'RefundLine'; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; - lines: Array; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; - shipping: Scalars['Money']['input']; -}; - -export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundOrderStateError | RefundStateTransitionError; + adjustment: Scalars['Money']['input']; + lines: Array; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; + shipping: Scalars['Money']['input']; +}; + +export type RefundOrderResult = + | AlreadyRefundedError + | MultipleOrderError + | NothingToRefundError + | OrderStateTransitionError + | PaymentOrderMismatchError + | QuantityTooGreatError + | Refund + | RefundOrderStateError + | RefundStateTransitionError; /** Returned if an attempting to refund an Order which is not in the expected state */ export type RefundOrderStateError = ErrorResult & { - __typename?: 'RefundOrderStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + __typename?: 'RefundOrderStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; /** @@ -5356,80 +5178,81 @@ export type RefundOrderStateError = ErrorResult & { * though the price has decreased as a result of the changes. */ export type RefundPaymentIdMissingError = ErrorResult & { - __typename?: 'RefundPaymentIdMissingError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'RefundPaymentIdMissingError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Refund state */ export type RefundStateTransitionError = ErrorResult & { - __typename?: 'RefundStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'RefundStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; export type Region = { - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RegionTranslation = { - __typename?: 'RegionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'RegionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RelationCustomFieldConfig = CustomField & { - __typename?: 'RelationCustomFieldConfig'; - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type Release = Node & StockMovement & { - __typename?: 'Release'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + __typename?: 'RelationCustomFieldConfig'; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type Release = Node & + StockMovement & { + __typename?: 'Release'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type RemoveCollectionsFromChannelInput = { - channelId: Scalars['ID']['input']; - collectionIds: Array; + channelId: Scalars['ID']['input']; + collectionIds: Array; }; export type RemoveFacetFromChannelResult = Facet | FacetInUseError; export type RemoveFacetsFromChannelInput = { - channelId: Scalars['ID']['input']; - facetIds: Array; - force?: InputMaybe; + channelId: Scalars['ID']['input']; + facetIds: Array; + force?: InputMaybe; }; export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseError; @@ -5437,701 +5260,712 @@ export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseErr export type RemoveOrderItemsResult = Order | OrderModificationError; export type RemovePaymentMethodsFromChannelInput = { - channelId: Scalars['ID']['input']; - paymentMethodIds: Array; + channelId: Scalars['ID']['input']; + paymentMethodIds: Array; }; export type RemoveProductVariantsFromChannelInput = { - channelId: Scalars['ID']['input']; - productVariantIds: Array; + channelId: Scalars['ID']['input']; + productVariantIds: Array; }; export type RemoveProductsFromChannelInput = { - channelId: Scalars['ID']['input']; - productIds: Array; + channelId: Scalars['ID']['input']; + productIds: Array; }; export type RemovePromotionsFromChannelInput = { - channelId: Scalars['ID']['input']; - promotionIds: Array; + channelId: Scalars['ID']['input']; + promotionIds: Array; }; export type RemoveShippingMethodsFromChannelInput = { - channelId: Scalars['ID']['input']; - shippingMethodIds: Array; + channelId: Scalars['ID']['input']; + shippingMethodIds: Array; }; export type RemoveStockLocationsFromChannelInput = { - channelId: Scalars['ID']['input']; - stockLocationIds: Array; + channelId: Scalars['ID']['input']; + stockLocationIds: Array; }; -export type Return = Node & StockMovement & { - __typename?: 'Return'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type Return = Node & + StockMovement & { + __typename?: 'Return'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type Role = Node & { - __typename?: 'Role'; - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Role'; + channels: Array; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + updatedAt: Scalars['DateTime']['output']; }; export type RoleFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'RoleList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type RoleListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type RoleSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type Sale = Node & StockMovement & { - __typename?: 'Sale'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Sale = Node & + StockMovement & { + __typename?: 'Sale'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type SearchInput = { - collectionId?: InputMaybe; - collectionSlug?: InputMaybe; - facetValueFilters?: InputMaybe>; - /** @deprecated Use `facetValueFilters` instead */ - facetValueIds?: InputMaybe>; - /** @deprecated Use `facetValueFilters` instead */ - facetValueOperator?: InputMaybe; - groupByProduct?: InputMaybe; - skip?: InputMaybe; - sort?: InputMaybe; - take?: InputMaybe; - term?: InputMaybe; + collectionId?: InputMaybe; + collectionSlug?: InputMaybe; + facetValueFilters?: InputMaybe>; + /** @deprecated Use `facetValueFilters` instead */ + facetValueIds?: InputMaybe>; + /** @deprecated Use `facetValueFilters` instead */ + facetValueOperator?: InputMaybe; + groupByProduct?: InputMaybe; + skip?: InputMaybe; + sort?: InputMaybe; + take?: InputMaybe; + term?: InputMaybe; }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; - success: Scalars['Boolean']['output']; + __typename?: 'SearchReindexResponse'; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SearchResponse'; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SearchResult = { - __typename?: 'SearchResult'; - /** An array of ids of the Channels in which this result appears */ - channelIds: Array; - /** An array of ids of the Collections in which this result appears */ - collectionIds: Array; - currencyCode: CurrencyCode; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - facetIds: Array; - facetValueIds: Array; - price: SearchResultPrice; - priceWithTax: SearchResultPrice; - productAsset?: Maybe; - productId: Scalars['ID']['output']; - productName: Scalars['String']['output']; - productVariantAsset?: Maybe; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - /** A relevance score for the result. Differs between database implementations */ - score: Scalars['Float']['output']; - sku: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'SearchResult'; + /** An array of ids of the Channels in which this result appears */ + channelIds: Array; + /** An array of ids of the Collections in which this result appears */ + collectionIds: Array; + currencyCode: CurrencyCode; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + facetIds: Array; + facetValueIds: Array; + price: SearchResultPrice; + priceWithTax: SearchResultPrice; + productAsset?: Maybe; + productId: Scalars['ID']['output']; + productName: Scalars['String']['output']; + productVariantAsset?: Maybe; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + /** A relevance score for the result. Differs between database implementations */ + score: Scalars['Float']['output']; + sku: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + __typename?: 'SearchResultAsset'; + focalPoint?: Maybe; + id: Scalars['ID']['output']; + preview: Scalars['String']['output']; }; /** The price of a search result product, either as a range or as a single price */ export type SearchResultPrice = PriceRange | SinglePrice; export type SearchResultSortParameter = { - name?: InputMaybe; - price?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; }; export type Seller = Node & { - __typename?: 'Seller'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Seller'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SellerFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type SellerList = PaginatedList & { - __typename?: 'SellerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SellerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SellerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type SellerSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ServerConfig = { - __typename?: 'ServerConfig'; - customFieldConfig: CustomFields; - orderProcess: Array; - permissions: Array; - permittedAssetTypes: Array; + __typename?: 'ServerConfig'; + customFieldConfig: CustomFields; + orderProcess: Array; + permissions: Array; + permittedAssetTypes: Array; }; export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order; -export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; +export type SetOrderShippingMethodResult = + | IneligibleShippingMethodError + | NoActiveOrderError + | Order + | OrderModificationError; /** Returned if the Payment settlement fails */ export type SettlePaymentError = ErrorResult & { - __typename?: 'SettlePaymentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'SettlePaymentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; -export type SettlePaymentResult = OrderStateTransitionError | Payment | PaymentStateTransitionError | SettlePaymentError; +export type SettlePaymentResult = + | OrderStateTransitionError + | Payment + | PaymentStateTransitionError + | SettlePaymentError; export type SettleRefundInput = { - id: Scalars['ID']['input']; - transactionId: Scalars['String']['input']; + id: Scalars['ID']['input']; + transactionId: Scalars['String']['input']; }; export type SettleRefundResult = Refund | RefundStateTransitionError; export type ShippingLine = { - __typename?: 'ShippingLine'; - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + __typename?: 'ShippingLine'; + discountedPrice: Scalars['Money']['output']; + discountedPriceWithTax: Scalars['Money']['output']; + discounts: Array; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + shippingMethod: ShippingMethod; }; export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; - calculator: ConfigurableOperation; - checker: ConfigurableOperation; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - fulfillmentHandlerCode: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethod'; + calculator: ConfigurableOperation; + checker: ConfigurableOperation; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + fulfillmentHandlerCode: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ShippingMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ - metadata?: Maybe; - name: Scalars['String']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'ShippingMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ + metadata?: Maybe; + name: Scalars['String']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type ShippingMethodSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodTranslation = { - __typename?: 'ShippingMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; - value: Scalars['Money']['output']; + __typename?: 'SinglePrice'; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC' + ASC = 'ASC', + DESC = 'DESC', } -export type StockAdjustment = Node & StockMovement & { - __typename?: 'StockAdjustment'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type StockAdjustment = Node & + StockMovement & { + __typename?: 'StockAdjustment'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type StockLevel = Node & { - __typename?: 'StockLevel'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - stockAllocated: Scalars['Int']['output']; - stockLocation: StockLocation; - stockLocationId: Scalars['ID']['output']; - stockOnHand: Scalars['Int']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'StockLevel'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + stockAllocated: Scalars['Int']['output']; + stockLocation: StockLocation; + stockLocationId: Scalars['ID']['output']; + stockOnHand: Scalars['Int']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type StockLevelInput = { - stockLocationId: Scalars['ID']['input']; - stockOnHand: Scalars['Int']['input']; + stockLocationId: Scalars['ID']['input']; + stockOnHand: Scalars['Int']['input']; }; export type StockLocation = Node & { - __typename?: 'StockLocation'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'StockLocation'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type StockLocationFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockLocationList = PaginatedList & { - __typename?: 'StockLocationList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'StockLocationList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockLocationListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type StockLocationSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockMovement = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; }; export type StockMovementItem = Allocation | Cancellation | Release | Return | Sale | StockAdjustment; export type StockMovementList = { - __typename?: 'StockMovementList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'StockMovementList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockMovementListOptions = { - skip?: InputMaybe; - take?: InputMaybe; - type?: InputMaybe; + skip?: InputMaybe; + take?: InputMaybe; + type?: InputMaybe; }; export enum StockMovementType { - ADJUSTMENT = 'ADJUSTMENT', - ALLOCATION = 'ALLOCATION', - CANCELLATION = 'CANCELLATION', - RELEASE = 'RELEASE', - RETURN = 'RETURN', - SALE = 'SALE' + ADJUSTMENT = 'ADJUSTMENT', + ALLOCATION = 'ALLOCATION', + CANCELLATION = 'CANCELLATION', + RELEASE = 'RELEASE', + RETURN = 'RETURN', + SALE = 'SALE', } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; - label?: Maybe>; - value: Scalars['String']['output']; + __typename?: 'StringFieldOption'; + label?: Maybe>; + value: Scalars['String']['output']; }; /** Operators for filtering on a list of String fields */ export type StringListOperators = { - inList: Scalars['String']['input']; + inList: Scalars['String']['input']; }; /** Operators for filtering on a String field */ export type StringOperators = { - contains?: InputMaybe; - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notContains?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; - regex?: InputMaybe; + contains?: InputMaybe; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notContains?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; + regex?: InputMaybe; }; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - __typename?: 'Success'; - success: Scalars['Boolean']['output']; + __typename?: 'Success'; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - __typename?: 'Surcharge'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - sku?: Maybe; - taxLines: Array; - taxRate: Scalars['Float']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Surcharge'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + sku?: Maybe; + taxLines: Array; + taxRate: Scalars['Float']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SurchargeInput = { - description: Scalars['String']['input']; - price: Scalars['Money']['input']; - priceIncludesTax: Scalars['Boolean']['input']; - sku?: InputMaybe; - taxDescription?: InputMaybe; - taxRate?: InputMaybe; + description: Scalars['String']['input']; + price: Scalars['Money']['input']; + priceIncludesTax: Scalars['Boolean']['input']; + sku?: InputMaybe; + taxDescription?: InputMaybe; + taxRate?: InputMaybe; }; export type Tag = Node & { - __typename?: 'Tag'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + __typename?: 'Tag'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TagList = PaginatedList & { - __typename?: 'TagList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TagList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TagListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TagSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxCategory = Node & { - __typename?: 'TaxCategory'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'TaxCategory'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isDefault: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type TaxCategoryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - isDefault?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isDefault?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxCategoryList = PaginatedList & { - __typename?: 'TaxCategoryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxCategoryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategoryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TaxCategorySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxLine = { - __typename?: 'TaxLine'; - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + __typename?: 'TaxLine'; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - __typename?: 'TaxRate'; - category: TaxCategory; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customerGroup?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['Float']['output']; - zone: Zone; + __typename?: 'TaxRate'; + category: TaxCategory; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customerGroup?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['Float']['output']; + zone: Zone; }; export type TaxRateFilterParameter = { - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxRateList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxRateListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TaxRateSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TestEligibleShippingMethodsInput = { - lines: Array; - shippingAddress: CreateAddressInput; + lines: Array; + shippingAddress: CreateAddressInput; }; export type TestShippingMethodInput = { - calculator: ConfigurableOperationInput; - checker: ConfigurableOperationInput; - lines: Array; - shippingAddress: CreateAddressInput; + calculator: ConfigurableOperationInput; + checker: ConfigurableOperationInput; + lines: Array; + shippingAddress: CreateAddressInput; }; export type TestShippingMethodOrderLineInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type TestShippingMethodQuote = { - __typename?: 'TestShippingMethodQuote'; - metadata?: Maybe; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'TestShippingMethodQuote'; + metadata?: Maybe; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type TestShippingMethodResult = { - __typename?: 'TestShippingMethodResult'; - eligible: Scalars['Boolean']['output']; - quote?: Maybe; + __typename?: 'TestShippingMethodResult'; + eligible: Scalars['Boolean']['output']; + quote?: Maybe; }; export type TextCustomFieldConfig = CustomField & { - __typename?: 'TextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'TextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError; @@ -6141,2895 +5975,51850 @@ export type TransitionOrderToStateResult = Order | OrderStateTransitionError; export type TransitionPaymentToStateResult = Payment | PaymentStateTransitionError; export type UiState = { - __typename?: 'UiState'; - contentLanguage: LanguageCode; - displayUiExtensionPoints: Scalars['Boolean']['output']; - language: LanguageCode; - locale?: Maybe; - mainNavExpanded: Scalars['Boolean']['output']; - theme: Scalars['String']['output']; + __typename?: 'UiState'; + contentLanguage: LanguageCode; + displayUiExtensionPoints: Scalars['Boolean']['output']; + language: LanguageCode; + locale?: Maybe; + mainNavExpanded: Scalars['Boolean']['output']; + theme: Scalars['String']['output']; }; export type UpdateActiveAdministratorInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - lastName?: InputMaybe; - password?: InputMaybe; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + lastName?: InputMaybe; + password?: InputMaybe; }; export type UpdateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - id: Scalars['ID']['input']; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + id: Scalars['ID']['input']; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; }; export type UpdateAdministratorInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - lastName?: InputMaybe; - password?: InputMaybe; - roleIds?: InputMaybe>; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id: Scalars['ID']['input']; + lastName?: InputMaybe; + password?: InputMaybe; + roleIds?: InputMaybe>; }; export type UpdateAssetInput = { - customFields?: InputMaybe; - focalPoint?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - tags?: InputMaybe>; + customFields?: InputMaybe; + focalPoint?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; + tags?: InputMaybe>; }; export type UpdateChannelInput = { - availableCurrencyCodes?: InputMaybe>; - availableLanguageCodes?: InputMaybe>; - code?: InputMaybe; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode?: InputMaybe; - customFields?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - defaultShippingZoneId?: InputMaybe; - defaultTaxZoneId?: InputMaybe; - id: Scalars['ID']['input']; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - sellerId?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; + availableCurrencyCodes?: InputMaybe>; + availableLanguageCodes?: InputMaybe>; + code?: InputMaybe; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode?: InputMaybe; + customFields?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode?: InputMaybe; + defaultShippingZoneId?: InputMaybe; + defaultTaxZoneId?: InputMaybe; + id: Scalars['ID']['input']; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax?: InputMaybe; + sellerId?: InputMaybe; + token?: InputMaybe; + trackInventory?: InputMaybe; }; export type UpdateChannelResult = Channel | LanguageNotAvailableError; export type UpdateCollectionInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - featuredAssetId?: InputMaybe; - filters?: InputMaybe>; - id: Scalars['ID']['input']; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - parentId?: InputMaybe; - translations?: InputMaybe>; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + featuredAssetId?: InputMaybe; + filters?: InputMaybe>; + id: Scalars['ID']['input']; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + parentId?: InputMaybe; + translations?: InputMaybe>; }; export type UpdateCollectionTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; - slug?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; + slug?: InputMaybe; }; export type UpdateCountryInput = { - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateCustomerGroupInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateCustomerInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id: Scalars['ID']['input']; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type UpdateCustomerNoteInput = { - note: Scalars['String']['input']; - noteId: Scalars['ID']['input']; + note: Scalars['String']['input']; + noteId: Scalars['ID']['input']; }; export type UpdateCustomerResult = Customer | EmailAddressConflictError; export type UpdateFacetInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - isPrivate?: InputMaybe; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + isPrivate?: InputMaybe; + translations?: InputMaybe>; }; export type UpdateFacetValueInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateGlobalSettingsInput = { - availableLanguages?: InputMaybe>; - customFields?: InputMaybe; - outOfStockThreshold?: InputMaybe; - trackInventory?: InputMaybe; + availableLanguages?: InputMaybe>; + customFields?: InputMaybe; + outOfStockThreshold?: InputMaybe; + trackInventory?: InputMaybe; }; export type UpdateGlobalSettingsResult = ChannelDefaultLanguageError | GlobalSettings; export type UpdateOrderAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; }; export type UpdateOrderInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; + customFields?: InputMaybe; + id: Scalars['ID']['input']; }; -export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError; +export type UpdateOrderItemsResult = + | InsufficientStockError + | NegativeQuantityError + | Order + | OrderLimitError + | OrderModificationError; export type UpdateOrderNoteInput = { - isPublic?: InputMaybe; - note?: InputMaybe; - noteId: Scalars['ID']['input']; + isPublic?: InputMaybe; + note?: InputMaybe; + noteId: Scalars['ID']['input']; }; export type UpdatePaymentMethodInput = { - checker?: InputMaybe; - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - handler?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + checker?: InputMaybe; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + handler?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductOptionGroupInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductOptionInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductVariantInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - id: Scalars['ID']['input']; - optionIds?: InputMaybe>; - outOfStockThreshold?: InputMaybe; - /** Sets the price for the ProductVariant in the Channel's default currency */ - price?: InputMaybe; - /** Allows multiple prices to be set for the ProductVariant in different currencies. */ - prices?: InputMaybe>; - sku?: InputMaybe; - stockLevels?: InputMaybe>; - stockOnHand?: InputMaybe; - taxCategoryId?: InputMaybe; - trackInventory?: InputMaybe; - translations?: InputMaybe>; - useGlobalOutOfStockThreshold?: InputMaybe; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + id: Scalars['ID']['input']; + optionIds?: InputMaybe>; + outOfStockThreshold?: InputMaybe; + /** Sets the price for the ProductVariant in the Channel's default currency */ + price?: InputMaybe; + /** Allows multiple prices to be set for the ProductVariant in different currencies. */ + prices?: InputMaybe>; + sku?: InputMaybe; + stockLevels?: InputMaybe>; + stockOnHand?: InputMaybe; + taxCategoryId?: InputMaybe; + trackInventory?: InputMaybe; + translations?: InputMaybe>; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type UpdatePromotionInput = { - actions?: InputMaybe>; - conditions?: InputMaybe>; - couponCode?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id: Scalars['ID']['input']; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - translations?: InputMaybe>; - usageLimit?: InputMaybe; + actions?: InputMaybe>; + conditions?: InputMaybe>; + couponCode?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + endsAt?: InputMaybe; + id: Scalars['ID']['input']; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + translations?: InputMaybe>; + usageLimit?: InputMaybe; }; export type UpdatePromotionResult = MissingConditionsError | Promotion; export type UpdateProvinceInput = { - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateRoleInput = { - channelIds?: InputMaybe>; - code?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - permissions?: InputMaybe>; + channelIds?: InputMaybe>; + code?: InputMaybe; + description?: InputMaybe; + id: Scalars['ID']['input']; + permissions?: InputMaybe>; }; export type UpdateSellerInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateShippingMethodInput = { - calculator?: InputMaybe; - checker?: InputMaybe; - code?: InputMaybe; - customFields?: InputMaybe; - fulfillmentHandler?: InputMaybe; - id: Scalars['ID']['input']; - translations: Array; + calculator?: InputMaybe; + checker?: InputMaybe; + code?: InputMaybe; + customFields?: InputMaybe; + fulfillmentHandler?: InputMaybe; + id: Scalars['ID']['input']; + translations: Array; }; export type UpdateStockLocationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateTagInput = { - id: Scalars['ID']['input']; - value?: InputMaybe; + id: Scalars['ID']['input']; + value?: InputMaybe; }; export type UpdateTaxCategoryInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - isDefault?: InputMaybe; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + isDefault?: InputMaybe; + name?: InputMaybe; }; export type UpdateTaxRateInput = { - categoryId?: InputMaybe; - customFields?: InputMaybe; - customerGroupId?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - value?: InputMaybe; - zoneId?: InputMaybe; + categoryId?: InputMaybe; + customFields?: InputMaybe; + customerGroupId?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; + value?: InputMaybe; + zoneId?: InputMaybe; }; export type UpdateZoneInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type User = Node & { - __typename?: 'User'; - authenticationMethods: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; - lastLogin?: Maybe; - roles: Array; - updatedAt: Scalars['DateTime']['output']; - verified: Scalars['Boolean']['output']; + __typename?: 'User'; + authenticationMethods: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; + lastLogin?: Maybe; + roles: Array; + updatedAt: Scalars['DateTime']['output']; + verified: Scalars['Boolean']['output']; }; export type UserStatus = { - __typename?: 'UserStatus'; - activeChannelId?: Maybe; - administratorId?: Maybe; - channels: Array; - isLoggedIn: Scalars['Boolean']['output']; - loginTime: Scalars['String']['output']; - permissions: Array; - username: Scalars['String']['output']; + __typename?: 'UserStatus'; + activeChannelId?: Maybe; + administratorId?: Maybe; + channels: Array; + isLoggedIn: Scalars['Boolean']['output']; + loginTime: Scalars['String']['output']; + permissions: Array; + username: Scalars['String']['output']; }; export type UserStatusInput = { - activeChannelId: Scalars['ID']['input']; - administratorId: Scalars['ID']['input']; - channels: Array; - loginTime: Scalars['String']['input']; - username: Scalars['String']['input']; + activeChannelId: Scalars['ID']['input']; + administratorId: Scalars['ID']['input']; + channels: Array; + loginTime: Scalars['String']['input']; + username: Scalars['String']['input']; }; export type Zone = Node & { - __typename?: 'Zone'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Zone'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ZoneFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ZoneList = PaginatedList & { - __typename?: 'ZoneList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ZoneList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ZoneListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ZoneSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type AssetDetailQueryQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type AssetDetailQueryQuery = { asset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, tags: Array<{ __typename?: 'Tag', id: string, value: string }>, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }; +export type AssetDetailQueryQuery = { + asset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + tags: Array<{ __typename?: 'Tag'; id: string; value: string }>; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; +}; export type GetProductsWithFacetValuesByIdsQueryVariables = Exact<{ - ids: Array | Scalars['String']['input']; + ids: Array | Scalars['String']['input']; }>; - -export type GetProductsWithFacetValuesByIdsQuery = { products: { __typename?: 'ProductList', items: Array<{ __typename?: 'Product', id: string, name: string, facetValues: Array<{ __typename?: 'FacetValue', id: string, name: string, code: string, facet: { __typename?: 'Facet', id: string, name: string, code: string } }> }> } }; +export type GetProductsWithFacetValuesByIdsQuery = { + products: { + __typename?: 'ProductList'; + items: Array<{ + __typename?: 'Product'; + id: string; + name: string; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + name: string; + code: string; + facet: { __typename?: 'Facet'; id: string; name: string; code: string }; + }>; + }>; + }; +}; export type GetVariantsWithFacetValuesByIdsQueryVariables = Exact<{ - ids: Array | Scalars['String']['input']; + ids: Array | Scalars['String']['input']; }>; - -export type GetVariantsWithFacetValuesByIdsQuery = { productVariants: { __typename?: 'ProductVariantList', items: Array<{ __typename?: 'ProductVariant', id: string, name: string, sku: string, facetValues: Array<{ __typename?: 'FacetValue', id: string, name: string, code: string, facet: { __typename?: 'Facet', id: string, name: string, code: string } }> }> } }; +export type GetVariantsWithFacetValuesByIdsQuery = { + productVariants: { + __typename?: 'ProductVariantList'; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + name: string; + code: string; + facet: { __typename?: 'Facet'; id: string; name: string; code: string }; + }>; + }>; + }; +}; export type UpdateProductsBulkMutationVariables = Exact<{ - input: Array | UpdateProductInput; + input: Array | UpdateProductInput; }>; - -export type UpdateProductsBulkMutation = { updateProducts: Array<{ __typename?: 'Product', id: string, name: string, facetValues: Array<{ __typename?: 'FacetValue', id: string, name: string, code: string }> }> }; +export type UpdateProductsBulkMutation = { + updateProducts: Array<{ + __typename?: 'Product'; + id: string; + name: string; + facetValues: Array<{ __typename?: 'FacetValue'; id: string; name: string; code: string }>; + }>; +}; export type UpdateVariantsBulkMutationVariables = Exact<{ - input: Array | UpdateProductVariantInput; + input: Array | UpdateProductVariantInput; }>; - -export type UpdateVariantsBulkMutation = { updateProductVariants: Array<{ __typename?: 'ProductVariant', id: string, name: string, facetValues: Array<{ __typename?: 'FacetValue', id: string, name: string, code: string }> } | null> }; +export type UpdateVariantsBulkMutation = { + updateProductVariants: Array<{ + __typename?: 'ProductVariant'; + id: string; + name: string; + facetValues: Array<{ __typename?: 'FacetValue'; id: string; name: string; code: string }>; + } | null>; +}; export type CollectionDetailQueryQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type CollectionDetailQueryQuery = { collection?: { __typename?: 'Collection', id: string, createdAt: any, updatedAt: any, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, inheritFilters: boolean, breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb', id: string, name: string, slug: string }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, filters: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'CollectionTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { __typename?: 'Collection', id: string, name: string } | null, children?: Array<{ __typename?: 'Collection', id: string, name: string }> | null } | null }; +export type CollectionDetailQueryQuery = { + collection?: { + __typename?: 'Collection'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + slug: string; + description: string; + isPrivate: boolean; + languageCode?: LanguageCode | null; + inheritFilters: boolean; + breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb'; id: string; name: string; slug: string }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + filters: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'CollectionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + parent?: { __typename?: 'Collection'; id: string; name: string } | null; + children?: Array<{ __typename?: 'Collection'; id: string; name: string }> | null; + } | null; +}; export type GetFacetDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetFacetDetailQuery = { facet?: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ __typename?: 'FacetTranslation', id: string, languageCode: LanguageCode, name: string }>, values: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> } | null }; +export type GetFacetDetailQuery = { + facet?: { + __typename?: 'Facet'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + isPrivate: boolean; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + values: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; + } | null; +}; export type GetFacetListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetFacetListQuery = { facets: { __typename?: 'FacetList', totalItems: number, items: Array<{ __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ __typename?: 'FacetTranslation', id: string, languageCode: LanguageCode, name: string }>, valueList: { __typename?: 'FacetValueList', totalItems: number, items: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> } }> } }; +export type GetFacetListQuery = { + facets: { + __typename?: 'FacetList'; + totalItems: number; + items: Array<{ + __typename?: 'Facet'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + isPrivate: boolean; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + valueList: { + __typename?: 'FacetValueList'; + totalItems: number; + items: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; + }; + }>; + }; +}; export type GetProductDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetProductDetailQuery = { product?: { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> } | null }; - -export type ProductListQueryProductFragmentFragment = { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, variantList: { __typename?: 'ProductVariantList', totalItems: number } }; +export type GetProductDetailQuery = { + product?: { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + } | null; +}; + +export type ProductListQueryProductFragmentFragment = { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + variantList: { __typename?: 'ProductVariantList'; totalItems: number }; +}; export type ProductListQueryQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type ProductListQueryQuery = { products: { __typename?: 'ProductList', totalItems: number, items: Array<{ __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, variantList: { __typename?: 'ProductVariantList', totalItems: number } }> } }; - -export type ProductVariantDetailQueryProductVariantFragmentFragment = { __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, prices: Array<{ __typename?: 'ProductVariantPrice', price: number, currencyCode: CurrencyCode }>, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, stockLevels: Array<{ __typename?: 'StockLevel', id: string, createdAt: any, updatedAt: any, stockOnHand: number, stockAllocated: number, stockLocationId: string, stockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string } }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }>, product: { __typename?: 'Product', id: string, name: string, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, name: string, code: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }> } }; +export type ProductListQueryQuery = { + products: { + __typename?: 'ProductList'; + totalItems: number; + items: Array<{ + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + variantList: { __typename?: 'ProductVariantList'; totalItems: number }; + }>; + }; +}; + +export type ProductVariantDetailQueryProductVariantFragmentFragment = { + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + prices: Array<{ __typename?: 'ProductVariantPrice'; price: number; currencyCode: CurrencyCode }>; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + stockLevels: Array<{ + __typename?: 'StockLevel'; + id: string; + createdAt: any; + updatedAt: any; + stockOnHand: number; + stockAllocated: number; + stockLocationId: string; + stockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + product: { + __typename?: 'Product'; + id: string; + name: string; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + name: string; + code: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + }; +}; export type GetProductVariantDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetProductVariantDetailQuery = { productVariant?: { __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, prices: Array<{ __typename?: 'ProductVariantPrice', price: number, currencyCode: CurrencyCode }>, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, stockLevels: Array<{ __typename?: 'StockLevel', id: string, createdAt: any, updatedAt: any, stockOnHand: number, stockAllocated: number, stockLocationId: string, stockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string } }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }>, product: { __typename?: 'Product', id: string, name: string, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, name: string, code: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }> } } | null, stockLocations: { __typename?: 'StockLocationList', items: Array<{ __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string, description: string }> }, taxCategories: { __typename?: 'TaxCategoryList', totalItems: number, items: Array<{ __typename?: 'TaxCategory', id: string, createdAt: any, updatedAt: any, name: string, isDefault: boolean }> }, activeChannel: { __typename?: 'Channel', id: string, availableCurrencyCodes: Array, defaultCurrencyCode: CurrencyCode } }; +export type GetProductVariantDetailQuery = { + productVariant?: { + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + prices: Array<{ __typename?: 'ProductVariantPrice'; price: number; currencyCode: CurrencyCode }>; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + stockLevels: Array<{ + __typename?: 'StockLevel'; + id: string; + createdAt: any; + updatedAt: any; + stockOnHand: number; + stockAllocated: number; + stockLocationId: string; + stockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + product: { + __typename?: 'Product'; + id: string; + name: string; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + name: string; + code: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + }; + } | null; + stockLocations: { + __typename?: 'StockLocationList'; + items: Array<{ + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + }>; + }; + taxCategories: { + __typename?: 'TaxCategoryList'; + totalItems: number; + items: Array<{ + __typename?: 'TaxCategory'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + isDefault: boolean; + }>; + }; + activeChannel: { + __typename?: 'Channel'; + id: string; + availableCurrencyCodes: Array; + defaultCurrencyCode: CurrencyCode; + }; +}; export type ProductVariantUpdateMutationMutationVariables = Exact<{ - input: Array | UpdateProductVariantInput; + input: Array | UpdateProductVariantInput; }>; - -export type ProductVariantUpdateMutationMutation = { updateProductVariants: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, prices: Array<{ __typename?: 'ProductVariantPrice', price: number, currencyCode: CurrencyCode }>, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, stockLevels: Array<{ __typename?: 'StockLevel', id: string, createdAt: any, updatedAt: any, stockOnHand: number, stockAllocated: number, stockLocationId: string, stockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string } }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }>, product: { __typename?: 'Product', id: string, name: string, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, name: string, code: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }> } } | null> }; - -export type ProductVariantListQueryProductVariantFragmentFragment = { __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, productId: string, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, stockLevels: Array<{ __typename?: 'StockLevel', id: string, createdAt: any, updatedAt: any, stockLocationId: string, stockOnHand: number, stockAllocated: number, stockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }; +export type ProductVariantUpdateMutationMutation = { + updateProductVariants: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + prices: Array<{ __typename?: 'ProductVariantPrice'; price: number; currencyCode: CurrencyCode }>; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + stockLevels: Array<{ + __typename?: 'StockLevel'; + id: string; + createdAt: any; + updatedAt: any; + stockOnHand: number; + stockAllocated: number; + stockLocationId: string; + stockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + product: { + __typename?: 'Product'; + id: string; + name: string; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + name: string; + code: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + }; + } | null>; +}; + +export type ProductVariantListQueryProductVariantFragmentFragment = { + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + productId: string; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + stockLevels: Array<{ + __typename?: 'StockLevel'; + id: string; + createdAt: any; + updatedAt: any; + stockLocationId: string; + stockOnHand: number; + stockAllocated: number; + stockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; +}; export type ProductVariantListQueryQueryVariables = Exact<{ - options: ProductVariantListOptions; + options: ProductVariantListOptions; }>; - -export type ProductVariantListQueryQuery = { productVariants: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, productId: string, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, stockLevels: Array<{ __typename?: 'StockLevel', id: string, createdAt: any, updatedAt: any, stockLocationId: string, stockOnHand: number, stockAllocated: number, stockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }> } }; +export type ProductVariantListQueryQuery = { + productVariants: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + productId: string; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + stockLevels: Array<{ + __typename?: 'StockLevel'; + id: string; + createdAt: any; + updatedAt: any; + stockLocationId: string; + stockOnHand: number; + stockAllocated: number; + stockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + }>; + }; +}; export type GetProductVariantsQuickJumpQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; +export type GetProductVariantsQuickJumpQuery = { + product?: { + __typename?: 'Product'; + id: string; + variants: Array<{ __typename?: 'ProductVariant'; id: string; name: string; sku: string }>; + } | null; +}; -export type GetProductVariantsQuickJumpQuery = { product?: { __typename?: 'Product', id: string, variants: Array<{ __typename?: 'ProductVariant', id: string, name: string, sku: string }> } | null }; - -export type StockLocationDetailFragment = { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string, description: string }; +export type StockLocationDetailFragment = { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; +}; export type GetStockLocationDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetStockLocationDetailQuery = { stockLocation?: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string, description: string } | null }; +export type GetStockLocationDetailQuery = { + stockLocation?: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + } | null; +}; export type CreateStockLocationMutationVariables = Exact<{ - input: CreateStockLocationInput; + input: CreateStockLocationInput; }>; - -export type CreateStockLocationMutation = { createStockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string, description: string } }; +export type CreateStockLocationMutation = { + createStockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + }; +}; export type UpdateStockLocationMutationVariables = Exact<{ - input: UpdateStockLocationInput; + input: UpdateStockLocationInput; }>; - -export type UpdateStockLocationMutation = { updateStockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string, description: string } }; +export type UpdateStockLocationMutation = { + updateStockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + }; +}; export type DeleteStockLocationsMutationVariables = Exact<{ - input: Array | DeleteStockLocationInput; + input: Array | DeleteStockLocationInput; }>; - -export type DeleteStockLocationsMutation = { deleteStockLocations: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteStockLocationsMutation = { + deleteStockLocations: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type AssignStockLocationsToChannelMutationVariables = Exact<{ - input: AssignStockLocationsToChannelInput; + input: AssignStockLocationsToChannelInput; }>; - -export type AssignStockLocationsToChannelMutation = { assignStockLocationsToChannel: Array<{ __typename?: 'StockLocation', id: string, name: string }> }; +export type AssignStockLocationsToChannelMutation = { + assignStockLocationsToChannel: Array<{ __typename?: 'StockLocation'; id: string; name: string }>; +}; export type RemoveStockLocationsFromChannelMutationVariables = Exact<{ - input: RemoveStockLocationsFromChannelInput; + input: RemoveStockLocationsFromChannelInput; }>; - -export type RemoveStockLocationsFromChannelMutation = { removeStockLocationsFromChannel: Array<{ __typename?: 'StockLocation', id: string, name: string }> }; +export type RemoveStockLocationsFromChannelMutation = { + removeStockLocationsFromChannel: Array<{ __typename?: 'StockLocation'; id: string; name: string }>; +}; export type GetStockLocationListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetStockLocationListQuery = { stockLocations: { __typename?: 'StockLocationList', totalItems: number, items: Array<{ __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string, description: string }> } }; - -export type StockLocationListItemFragment = { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string, description: string }; - -export type RoleFragment = { __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }; - -export type AdministratorFragment = { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } }; - -export type GetActiveAdministratorQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetActiveAdministratorQuery = { activeAdministrator?: { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } } | null }; +export type GetStockLocationListQuery = { + stockLocations: { + __typename?: 'StockLocationList'; + totalItems: number; + items: Array<{ + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + }>; + }; +}; + +export type StockLocationListItemFragment = { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; +}; + +export type RoleFragment = { + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; +}; + +export type AdministratorFragment = { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; +}; + +export type GetActiveAdministratorQueryVariables = Exact<{ [key: string]: never }>; + +export type GetActiveAdministratorQuery = { + activeAdministrator?: { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; + } | null; +}; export type CreateAdministratorMutationVariables = Exact<{ - input: CreateAdministratorInput; + input: CreateAdministratorInput; }>; - -export type CreateAdministratorMutation = { createAdministrator: { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } } }; +export type CreateAdministratorMutation = { + createAdministrator: { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; + }; +}; export type UpdateAdministratorMutationVariables = Exact<{ - input: UpdateAdministratorInput; + input: UpdateAdministratorInput; }>; - -export type UpdateAdministratorMutation = { updateAdministrator: { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } } }; +export type UpdateAdministratorMutation = { + updateAdministrator: { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; + }; +}; export type UpdateActiveAdministratorMutationVariables = Exact<{ - input: UpdateActiveAdministratorInput; + input: UpdateActiveAdministratorInput; }>; - -export type UpdateActiveAdministratorMutation = { updateActiveAdministrator: { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } } }; +export type UpdateActiveAdministratorMutation = { + updateActiveAdministrator: { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; + }; +}; export type DeleteAdministratorMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteAdministratorMutation = { deleteAdministrator: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteAdministratorMutation = { + deleteAdministrator: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteAdministratorsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteAdministratorsMutation = { deleteAdministrators: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteAdministratorsMutation = { + deleteAdministrators: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type GetRolesQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetRolesQuery = { roles: { __typename?: 'RoleList', totalItems: number, items: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } }; +export type GetRolesQuery = { + roles: { + __typename?: 'RoleList'; + totalItems: number; + items: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; +}; export type CreateRoleMutationVariables = Exact<{ - input: CreateRoleInput; + input: CreateRoleInput; }>; - -export type CreateRoleMutation = { createRole: { __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> } }; +export type CreateRoleMutation = { + createRole: { + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }; +}; export type UpdateRoleMutationVariables = Exact<{ - input: UpdateRoleInput; + input: UpdateRoleInput; }>; - -export type UpdateRoleMutation = { updateRole: { __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> } }; +export type UpdateRoleMutation = { + updateRole: { + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }; +}; export type DeleteRoleMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteRoleMutation = { deleteRole: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteRoleMutation = { + deleteRole: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteRolesMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteRolesMutation = { deleteRoles: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteRolesMutation = { + deleteRoles: Array<{ __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }>; +}; export type AssignRoleToAdministratorMutationVariables = Exact<{ - administratorId: Scalars['ID']['input']; - roleId: Scalars['ID']['input']; + administratorId: Scalars['ID']['input']; + roleId: Scalars['ID']['input']; }>; - -export type AssignRoleToAdministratorMutation = { assignRoleToAdministrator: { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } } }; - -export type CurrentUserFragment = { __typename?: 'CurrentUser', id: string, identifier: string, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> }; +export type AssignRoleToAdministratorMutation = { + assignRoleToAdministrator: { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; + }; +}; + +export type CurrentUserFragment = { + __typename?: 'CurrentUser'; + id: string; + identifier: string; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; +}; export type AttemptLoginMutationVariables = Exact<{ - username: Scalars['String']['input']; - password: Scalars['String']['input']; - rememberMe: Scalars['Boolean']['input']; + username: Scalars['String']['input']; + password: Scalars['String']['input']; + rememberMe: Scalars['Boolean']['input']; }>; - -export type AttemptLoginMutation = { login: { __typename?: 'CurrentUser', id: string, identifier: string, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> } | { __typename?: 'InvalidCredentialsError', errorCode: ErrorCode, message: string } | { __typename?: 'NativeAuthStrategyError', errorCode: ErrorCode, message: string } }; - -export type LogOutMutationVariables = Exact<{ [key: string]: never; }>; - - -export type LogOutMutation = { logout: { __typename?: 'Success', success: boolean } }; - -export type GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetCurrentUserQuery = { me?: { __typename?: 'CurrentUser', id: string, identifier: string, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> } | null }; - -export type RequestStartedMutationVariables = Exact<{ [key: string]: never; }>; - +export type AttemptLoginMutation = { + login: + | { + __typename?: 'CurrentUser'; + id: string; + identifier: string; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; + } + | { __typename?: 'InvalidCredentialsError'; errorCode: ErrorCode; message: string } + | { __typename?: 'NativeAuthStrategyError'; errorCode: ErrorCode; message: string }; +}; + +export type LogOutMutationVariables = Exact<{ [key: string]: never }>; + +export type LogOutMutation = { logout: { __typename?: 'Success'; success: boolean } }; + +export type GetCurrentUserQueryVariables = Exact<{ [key: string]: never }>; + +export type GetCurrentUserQuery = { + me?: { + __typename?: 'CurrentUser'; + id: string; + identifier: string; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; + } | null; +}; + +export type RequestStartedMutationVariables = Exact<{ [key: string]: never }>; export type RequestStartedMutation = { requestStarted: number }; -export type RequestCompletedMutationVariables = Exact<{ [key: string]: never; }>; - +export type RequestCompletedMutationVariables = Exact<{ [key: string]: never }>; export type RequestCompletedMutation = { requestCompleted: number }; -export type UserStatusFragment = { __typename?: 'UserStatus', administratorId?: string | null, username: string, isLoggedIn: boolean, loginTime: string, activeChannelId?: string | null, permissions: Array, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> }; +export type UserStatusFragment = { + __typename?: 'UserStatus'; + administratorId?: string | null; + username: string; + isLoggedIn: boolean; + loginTime: string; + activeChannelId?: string | null; + permissions: Array; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; +}; export type SetAsLoggedInMutationVariables = Exact<{ - input: UserStatusInput; + input: UserStatusInput; }>; - -export type SetAsLoggedInMutation = { setAsLoggedIn: { __typename?: 'UserStatus', administratorId?: string | null, username: string, isLoggedIn: boolean, loginTime: string, activeChannelId?: string | null, permissions: Array, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> } }; - -export type SetAsLoggedOutMutationVariables = Exact<{ [key: string]: never; }>; - - -export type SetAsLoggedOutMutation = { setAsLoggedOut: { __typename?: 'UserStatus', administratorId?: string | null, username: string, isLoggedIn: boolean, loginTime: string, activeChannelId?: string | null, permissions: Array, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> } }; +export type SetAsLoggedInMutation = { + setAsLoggedIn: { + __typename?: 'UserStatus'; + administratorId?: string | null; + username: string; + isLoggedIn: boolean; + loginTime: string; + activeChannelId?: string | null; + permissions: Array; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; + }; +}; + +export type SetAsLoggedOutMutationVariables = Exact<{ [key: string]: never }>; + +export type SetAsLoggedOutMutation = { + setAsLoggedOut: { + __typename?: 'UserStatus'; + administratorId?: string | null; + username: string; + isLoggedIn: boolean; + loginTime: string; + activeChannelId?: string | null; + permissions: Array; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; + }; +}; export type SetUiLanguageMutationVariables = Exact<{ - languageCode: LanguageCode; - locale?: InputMaybe; + languageCode: LanguageCode; + locale?: InputMaybe; }>; - -export type SetUiLanguageMutation = { setUiLanguage: LanguageCode, setUiLocale?: string | null }; +export type SetUiLanguageMutation = { setUiLanguage: LanguageCode; setUiLocale?: string | null }; export type SetUiLocaleMutationVariables = Exact<{ - locale?: InputMaybe; + locale?: InputMaybe; }>; - export type SetUiLocaleMutation = { setUiLocale?: string | null }; export type SetDisplayUiExtensionPointsMutationVariables = Exact<{ - display: Scalars['Boolean']['input']; + display: Scalars['Boolean']['input']; }>; - export type SetDisplayUiExtensionPointsMutation = { setDisplayUiExtensionPoints: boolean }; export type SetMainNavExpandedMutationVariables = Exact<{ - expanded: Scalars['Boolean']['input']; + expanded: Scalars['Boolean']['input']; }>; - export type SetMainNavExpandedMutation = { setMainNavExpanded: boolean }; export type SetContentLanguageMutationVariables = Exact<{ - languageCode: LanguageCode; + languageCode: LanguageCode; }>; - export type SetContentLanguageMutation = { setContentLanguage: LanguageCode }; export type SetUiThemeMutationVariables = Exact<{ - theme: Scalars['String']['input']; + theme: Scalars['String']['input']; }>; - export type SetUiThemeMutation = { setUiTheme: string }; -export type GetNetworkStatusQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetNetworkStatusQuery = { networkStatus: { __typename?: 'NetworkStatus', inFlightRequests: number } }; - -export type GetUserStatusQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetUserStatusQuery = { userStatus: { __typename?: 'UserStatus', administratorId?: string | null, username: string, isLoggedIn: boolean, loginTime: string, activeChannelId?: string | null, permissions: Array, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> } }; - -export type GetUiStateQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetUiStateQuery = { uiState: { __typename?: 'UiState', language: LanguageCode, locale?: string | null, contentLanguage: LanguageCode, theme: string, displayUiExtensionPoints: boolean, mainNavExpanded: boolean } }; - -export type GetClientStateQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetClientStateQuery = { networkStatus: { __typename?: 'NetworkStatus', inFlightRequests: number }, userStatus: { __typename?: 'UserStatus', administratorId?: string | null, username: string, isLoggedIn: boolean, loginTime: string, activeChannelId?: string | null, permissions: Array, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> }, uiState: { __typename?: 'UiState', language: LanguageCode, locale?: string | null, contentLanguage: LanguageCode, theme: string, displayUiExtensionPoints: boolean, mainNavExpanded: boolean } }; +export type GetNetworkStatusQueryVariables = Exact<{ [key: string]: never }>; + +export type GetNetworkStatusQuery = { + networkStatus: { __typename?: 'NetworkStatus'; inFlightRequests: number }; +}; + +export type GetUserStatusQueryVariables = Exact<{ [key: string]: never }>; + +export type GetUserStatusQuery = { + userStatus: { + __typename?: 'UserStatus'; + administratorId?: string | null; + username: string; + isLoggedIn: boolean; + loginTime: string; + activeChannelId?: string | null; + permissions: Array; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; + }; +}; + +export type GetUiStateQueryVariables = Exact<{ [key: string]: never }>; + +export type GetUiStateQuery = { + uiState: { + __typename?: 'UiState'; + language: LanguageCode; + locale?: string | null; + contentLanguage: LanguageCode; + theme: string; + displayUiExtensionPoints: boolean; + mainNavExpanded: boolean; + }; +}; + +export type GetClientStateQueryVariables = Exact<{ [key: string]: never }>; + +export type GetClientStateQuery = { + networkStatus: { __typename?: 'NetworkStatus'; inFlightRequests: number }; + userStatus: { + __typename?: 'UserStatus'; + administratorId?: string | null; + username: string; + isLoggedIn: boolean; + loginTime: string; + activeChannelId?: string | null; + permissions: Array; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; + }; + uiState: { + __typename?: 'UiState'; + language: LanguageCode; + locale?: string | null; + contentLanguage: LanguageCode; + theme: string; + displayUiExtensionPoints: boolean; + mainNavExpanded: boolean; + }; +}; export type SetActiveChannelMutationVariables = Exact<{ - channelId: Scalars['ID']['input']; + channelId: Scalars['ID']['input']; }>; - -export type SetActiveChannelMutation = { setActiveChannel: { __typename?: 'UserStatus', administratorId?: string | null, username: string, isLoggedIn: boolean, loginTime: string, activeChannelId?: string | null, permissions: Array, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> } }; +export type SetActiveChannelMutation = { + setActiveChannel: { + __typename?: 'UserStatus'; + administratorId?: string | null; + username: string; + isLoggedIn: boolean; + loginTime: string; + activeChannelId?: string | null; + permissions: Array; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; + }; +}; export type UpdateUserChannelsMutationVariables = Exact<{ - channels: Array | CurrentUserChannelInput; + channels: Array | CurrentUserChannelInput; }>; - -export type UpdateUserChannelsMutation = { updateUserChannels: { __typename?: 'UserStatus', administratorId?: string | null, username: string, isLoggedIn: boolean, loginTime: string, activeChannelId?: string | null, permissions: Array, channels: Array<{ __typename?: 'CurrentUserChannel', id: string, code: string, token: string, permissions: Array }> } }; - -export type GetCollectionFiltersQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetCollectionFiltersQuery = { collectionFilters: Array<{ __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }> }; - -export type CollectionFragment = { __typename?: 'Collection', id: string, createdAt: any, updatedAt: any, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, inheritFilters: boolean, breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb', id: string, name: string, slug: string }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, filters: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'CollectionTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { __typename?: 'Collection', id: string, name: string } | null, children?: Array<{ __typename?: 'Collection', id: string, name: string }> | null }; - -export type CollectionForListFragment = { __typename?: 'Collection', id: string, createdAt: any, updatedAt: any, name: string, slug: string, position: number, isPrivate: boolean, parentId: string, breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb', id: string, name: string, slug: string }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, children?: Array<{ __typename?: 'Collection', id: string }> | null }; +export type UpdateUserChannelsMutation = { + updateUserChannels: { + __typename?: 'UserStatus'; + administratorId?: string | null; + username: string; + isLoggedIn: boolean; + loginTime: string; + activeChannelId?: string | null; + permissions: Array; + channels: Array<{ + __typename?: 'CurrentUserChannel'; + id: string; + code: string; + token: string; + permissions: Array; + }>; + }; +}; + +export type GetCollectionFiltersQueryVariables = Exact<{ [key: string]: never }>; + +export type GetCollectionFiltersQuery = { + collectionFilters: Array<{ + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; + }>; +}; + +export type CollectionFragment = { + __typename?: 'Collection'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + slug: string; + description: string; + isPrivate: boolean; + languageCode?: LanguageCode | null; + inheritFilters: boolean; + breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb'; id: string; name: string; slug: string }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + filters: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'CollectionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + parent?: { __typename?: 'Collection'; id: string; name: string } | null; + children?: Array<{ __typename?: 'Collection'; id: string; name: string }> | null; +}; + +export type CollectionForListFragment = { + __typename?: 'Collection'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + slug: string; + position: number; + isPrivate: boolean; + parentId: string; + breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb'; id: string; name: string; slug: string }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + children?: Array<{ __typename?: 'Collection'; id: string }> | null; +}; export type GetCollectionListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetCollectionListQuery = { collections: { __typename?: 'CollectionList', totalItems: number, items: Array<{ __typename?: 'Collection', id: string, createdAt: any, updatedAt: any, name: string, slug: string, position: number, isPrivate: boolean, parentId: string, breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb', id: string, name: string, slug: string }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, children?: Array<{ __typename?: 'Collection', id: string }> | null }> } }; +export type GetCollectionListQuery = { + collections: { + __typename?: 'CollectionList'; + totalItems: number; + items: Array<{ + __typename?: 'Collection'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + slug: string; + position: number; + isPrivate: boolean; + parentId: string; + breadcrumbs: Array<{ + __typename?: 'CollectionBreadcrumb'; + id: string; + name: string; + slug: string; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + children?: Array<{ __typename?: 'Collection'; id: string }> | null; + }>; + }; +}; export type CreateCollectionMutationVariables = Exact<{ - input: CreateCollectionInput; + input: CreateCollectionInput; }>; - -export type CreateCollectionMutation = { createCollection: { __typename?: 'Collection', id: string, createdAt: any, updatedAt: any, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, inheritFilters: boolean, breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb', id: string, name: string, slug: string }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, filters: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'CollectionTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { __typename?: 'Collection', id: string, name: string } | null, children?: Array<{ __typename?: 'Collection', id: string, name: string }> | null } }; +export type CreateCollectionMutation = { + createCollection: { + __typename?: 'Collection'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + slug: string; + description: string; + isPrivate: boolean; + languageCode?: LanguageCode | null; + inheritFilters: boolean; + breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb'; id: string; name: string; slug: string }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + filters: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'CollectionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + parent?: { __typename?: 'Collection'; id: string; name: string } | null; + children?: Array<{ __typename?: 'Collection'; id: string; name: string }> | null; + }; +}; export type UpdateCollectionMutationVariables = Exact<{ - input: UpdateCollectionInput; + input: UpdateCollectionInput; }>; - -export type UpdateCollectionMutation = { updateCollection: { __typename?: 'Collection', id: string, createdAt: any, updatedAt: any, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, inheritFilters: boolean, breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb', id: string, name: string, slug: string }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, filters: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'CollectionTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { __typename?: 'Collection', id: string, name: string } | null, children?: Array<{ __typename?: 'Collection', id: string, name: string }> | null } }; +export type UpdateCollectionMutation = { + updateCollection: { + __typename?: 'Collection'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + slug: string; + description: string; + isPrivate: boolean; + languageCode?: LanguageCode | null; + inheritFilters: boolean; + breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb'; id: string; name: string; slug: string }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + filters: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'CollectionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + parent?: { __typename?: 'Collection'; id: string; name: string } | null; + children?: Array<{ __typename?: 'Collection'; id: string; name: string }> | null; + }; +}; export type MoveCollectionMutationVariables = Exact<{ - input: MoveCollectionInput; + input: MoveCollectionInput; }>; - -export type MoveCollectionMutation = { moveCollection: { __typename?: 'Collection', id: string, createdAt: any, updatedAt: any, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, inheritFilters: boolean, breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb', id: string, name: string, slug: string }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, filters: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'CollectionTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { __typename?: 'Collection', id: string, name: string } | null, children?: Array<{ __typename?: 'Collection', id: string, name: string }> | null } }; +export type MoveCollectionMutation = { + moveCollection: { + __typename?: 'Collection'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + slug: string; + description: string; + isPrivate: boolean; + languageCode?: LanguageCode | null; + inheritFilters: boolean; + breadcrumbs: Array<{ __typename?: 'CollectionBreadcrumb'; id: string; name: string; slug: string }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + filters: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'CollectionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + parent?: { __typename?: 'Collection'; id: string; name: string } | null; + children?: Array<{ __typename?: 'Collection'; id: string; name: string }> | null; + }; +}; export type DeleteCollectionMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteCollectionMutation = { deleteCollection: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteCollectionMutation = { + deleteCollection: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteCollectionsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteCollectionsMutation = { deleteCollections: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteCollectionsMutation = { + deleteCollections: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type GetCollectionContentsQueryVariables = Exact<{ - id: Scalars['ID']['input']; - options?: InputMaybe; + id: Scalars['ID']['input']; + options?: InputMaybe; }>; - -export type GetCollectionContentsQuery = { collection?: { __typename?: 'Collection', id: string, name: string, productVariants: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, productId: string, name: string, sku: string }> } } | null }; +export type GetCollectionContentsQuery = { + collection?: { + __typename?: 'Collection'; + id: string; + name: string; + productVariants: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + productId: string; + name: string; + sku: string; + }>; + }; + } | null; +}; export type PreviewCollectionContentsQueryVariables = Exact<{ - input: PreviewCollectionVariantsInput; - options?: InputMaybe; + input: PreviewCollectionVariantsInput; + options?: InputMaybe; }>; - -export type PreviewCollectionContentsQuery = { previewCollectionVariants: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, productId: string, name: string, sku: string }> } }; +export type PreviewCollectionContentsQuery = { + previewCollectionVariants: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + productId: string; + name: string; + sku: string; + }>; + }; +}; export type AssignCollectionsToChannelMutationVariables = Exact<{ - input: AssignCollectionsToChannelInput; + input: AssignCollectionsToChannelInput; }>; - -export type AssignCollectionsToChannelMutation = { assignCollectionsToChannel: Array<{ __typename?: 'Collection', id: string, name: string }> }; +export type AssignCollectionsToChannelMutation = { + assignCollectionsToChannel: Array<{ __typename?: 'Collection'; id: string; name: string }>; +}; export type RemoveCollectionsFromChannelMutationVariables = Exact<{ - input: RemoveCollectionsFromChannelInput; + input: RemoveCollectionsFromChannelInput; }>; - -export type RemoveCollectionsFromChannelMutation = { removeCollectionsFromChannel: Array<{ __typename?: 'Collection', id: string, name: string }> }; - -export type AddressFragment = { __typename?: 'Address', id: string, createdAt: any, updatedAt: any, fullName?: string | null, company?: string | null, streetLine1: string, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, phoneNumber?: string | null, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { __typename?: 'Country', id: string, code: string, name: string } }; - -export type CustomerFragment = { __typename?: 'Customer', id: string, createdAt: any, updatedAt: any, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, user?: { __typename?: 'User', id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ __typename?: 'Address', id: string, createdAt: any, updatedAt: any, fullName?: string | null, company?: string | null, streetLine1: string, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, phoneNumber?: string | null, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { __typename?: 'Country', id: string, code: string, name: string } }> | null }; - -export type CustomerGroupFragment = { __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string }; +export type RemoveCollectionsFromChannelMutation = { + removeCollectionsFromChannel: Array<{ __typename?: 'Collection'; id: string; name: string }>; +}; + +export type AddressFragment = { + __typename?: 'Address'; + id: string; + createdAt: any; + updatedAt: any; + fullName?: string | null; + company?: string | null; + streetLine1: string; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + phoneNumber?: string | null; + defaultShippingAddress?: boolean | null; + defaultBillingAddress?: boolean | null; + country: { __typename?: 'Country'; id: string; code: string; name: string }; +}; + +export type CustomerFragment = { + __typename?: 'Customer'; + id: string; + createdAt: any; + updatedAt: any; + title?: string | null; + firstName: string; + lastName: string; + phoneNumber?: string | null; + emailAddress: string; + user?: { + __typename?: 'User'; + id: string; + identifier: string; + verified: boolean; + lastLogin?: any | null; + } | null; + addresses?: Array<{ + __typename?: 'Address'; + id: string; + createdAt: any; + updatedAt: any; + fullName?: string | null; + company?: string | null; + streetLine1: string; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + phoneNumber?: string | null; + defaultShippingAddress?: boolean | null; + defaultBillingAddress?: boolean | null; + country: { __typename?: 'Country'; id: string; code: string; name: string }; + }> | null; +}; + +export type CustomerGroupFragment = { + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; +}; export type GetCustomerListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetCustomerListQuery = { customers: { __typename?: 'CustomerList', totalItems: number, items: Array<{ __typename?: 'Customer', id: string, createdAt: any, updatedAt: any, title?: string | null, firstName: string, lastName: string, emailAddress: string, user?: { __typename?: 'User', id: string, verified: boolean } | null }> } }; +export type GetCustomerListQuery = { + customers: { + __typename?: 'CustomerList'; + totalItems: number; + items: Array<{ + __typename?: 'Customer'; + id: string; + createdAt: any; + updatedAt: any; + title?: string | null; + firstName: string; + lastName: string; + emailAddress: string; + user?: { __typename?: 'User'; id: string; verified: boolean } | null; + }>; + }; +}; export type CreateCustomerMutationVariables = Exact<{ - input: CreateCustomerInput; - password?: InputMaybe; + input: CreateCustomerInput; + password?: InputMaybe; }>; - -export type CreateCustomerMutation = { createCustomer: { __typename?: 'Customer', id: string, createdAt: any, updatedAt: any, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, user?: { __typename?: 'User', id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ __typename?: 'Address', id: string, createdAt: any, updatedAt: any, fullName?: string | null, company?: string | null, streetLine1: string, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, phoneNumber?: string | null, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { __typename?: 'Country', id: string, code: string, name: string } }> | null } | { __typename?: 'EmailAddressConflictError', errorCode: ErrorCode, message: string } }; +export type CreateCustomerMutation = { + createCustomer: + | { + __typename?: 'Customer'; + id: string; + createdAt: any; + updatedAt: any; + title?: string | null; + firstName: string; + lastName: string; + phoneNumber?: string | null; + emailAddress: string; + user?: { + __typename?: 'User'; + id: string; + identifier: string; + verified: boolean; + lastLogin?: any | null; + } | null; + addresses?: Array<{ + __typename?: 'Address'; + id: string; + createdAt: any; + updatedAt: any; + fullName?: string | null; + company?: string | null; + streetLine1: string; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + phoneNumber?: string | null; + defaultShippingAddress?: boolean | null; + defaultBillingAddress?: boolean | null; + country: { __typename?: 'Country'; id: string; code: string; name: string }; + }> | null; + } + | { __typename?: 'EmailAddressConflictError'; errorCode: ErrorCode; message: string }; +}; export type UpdateCustomerMutationVariables = Exact<{ - input: UpdateCustomerInput; + input: UpdateCustomerInput; }>; - -export type UpdateCustomerMutation = { updateCustomer: { __typename?: 'Customer', id: string, createdAt: any, updatedAt: any, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, user?: { __typename?: 'User', id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ __typename?: 'Address', id: string, createdAt: any, updatedAt: any, fullName?: string | null, company?: string | null, streetLine1: string, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, phoneNumber?: string | null, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { __typename?: 'Country', id: string, code: string, name: string } }> | null } | { __typename?: 'EmailAddressConflictError', errorCode: ErrorCode, message: string } }; +export type UpdateCustomerMutation = { + updateCustomer: + | { + __typename?: 'Customer'; + id: string; + createdAt: any; + updatedAt: any; + title?: string | null; + firstName: string; + lastName: string; + phoneNumber?: string | null; + emailAddress: string; + user?: { + __typename?: 'User'; + id: string; + identifier: string; + verified: boolean; + lastLogin?: any | null; + } | null; + addresses?: Array<{ + __typename?: 'Address'; + id: string; + createdAt: any; + updatedAt: any; + fullName?: string | null; + company?: string | null; + streetLine1: string; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + phoneNumber?: string | null; + defaultShippingAddress?: boolean | null; + defaultBillingAddress?: boolean | null; + country: { __typename?: 'Country'; id: string; code: string; name: string }; + }> | null; + } + | { __typename?: 'EmailAddressConflictError'; errorCode: ErrorCode; message: string }; +}; export type DeleteCustomerMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteCustomerMutation = { deleteCustomer: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteCustomerMutation = { + deleteCustomer: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteCustomersMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteCustomersMutation = { deleteCustomers: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteCustomersMutation = { + deleteCustomers: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type CreateCustomerAddressMutationVariables = Exact<{ - customerId: Scalars['ID']['input']; - input: CreateAddressInput; + customerId: Scalars['ID']['input']; + input: CreateAddressInput; }>; - -export type CreateCustomerAddressMutation = { createCustomerAddress: { __typename?: 'Address', id: string, createdAt: any, updatedAt: any, fullName?: string | null, company?: string | null, streetLine1: string, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, phoneNumber?: string | null, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { __typename?: 'Country', id: string, code: string, name: string } } }; +export type CreateCustomerAddressMutation = { + createCustomerAddress: { + __typename?: 'Address'; + id: string; + createdAt: any; + updatedAt: any; + fullName?: string | null; + company?: string | null; + streetLine1: string; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + phoneNumber?: string | null; + defaultShippingAddress?: boolean | null; + defaultBillingAddress?: boolean | null; + country: { __typename?: 'Country'; id: string; code: string; name: string }; + }; +}; export type UpdateCustomerAddressMutationVariables = Exact<{ - input: UpdateAddressInput; + input: UpdateAddressInput; }>; - -export type UpdateCustomerAddressMutation = { updateCustomerAddress: { __typename?: 'Address', id: string, createdAt: any, updatedAt: any, fullName?: string | null, company?: string | null, streetLine1: string, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, phoneNumber?: string | null, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { __typename?: 'Country', id: string, code: string, name: string } } }; +export type UpdateCustomerAddressMutation = { + updateCustomerAddress: { + __typename?: 'Address'; + id: string; + createdAt: any; + updatedAt: any; + fullName?: string | null; + company?: string | null; + streetLine1: string; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + phoneNumber?: string | null; + defaultShippingAddress?: boolean | null; + defaultBillingAddress?: boolean | null; + country: { __typename?: 'Country'; id: string; code: string; name: string }; + }; +}; export type DeleteCustomerAddressMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteCustomerAddressMutation = { deleteCustomerAddress: { __typename?: 'Success', success: boolean } }; +export type DeleteCustomerAddressMutation = { + deleteCustomerAddress: { __typename?: 'Success'; success: boolean }; +}; export type CreateCustomerGroupMutationVariables = Exact<{ - input: CreateCustomerGroupInput; + input: CreateCustomerGroupInput; }>; - -export type CreateCustomerGroupMutation = { createCustomerGroup: { __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string } }; +export type CreateCustomerGroupMutation = { + createCustomerGroup: { + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; +}; export type UpdateCustomerGroupMutationVariables = Exact<{ - input: UpdateCustomerGroupInput; + input: UpdateCustomerGroupInput; }>; - -export type UpdateCustomerGroupMutation = { updateCustomerGroup: { __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string } }; +export type UpdateCustomerGroupMutation = { + updateCustomerGroup: { + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; +}; export type DeleteCustomerGroupMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteCustomerGroupMutation = { deleteCustomerGroup: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteCustomerGroupMutation = { + deleteCustomerGroup: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteCustomerGroupsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteCustomerGroupsMutation = { deleteCustomerGroups: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteCustomerGroupsMutation = { + deleteCustomerGroups: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type GetCustomerGroupsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetCustomerGroupsQuery = { customerGroups: { __typename?: 'CustomerGroupList', totalItems: number, items: Array<{ __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string }> } }; +export type GetCustomerGroupsQuery = { + customerGroups: { + __typename?: 'CustomerGroupList'; + totalItems: number; + items: Array<{ + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }>; + }; +}; export type GetCustomerGroupWithCustomersQueryVariables = Exact<{ - id: Scalars['ID']['input']; - options?: InputMaybe; + id: Scalars['ID']['input']; + options?: InputMaybe; }>; - -export type GetCustomerGroupWithCustomersQuery = { customerGroup?: { __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string, customers: { __typename?: 'CustomerList', totalItems: number, items: Array<{ __typename?: 'Customer', id: string, createdAt: any, updatedAt: any, emailAddress: string, firstName: string, lastName: string, user?: { __typename?: 'User', id: string } | null }> } } | null }; +export type GetCustomerGroupWithCustomersQuery = { + customerGroup?: { + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + customers: { + __typename?: 'CustomerList'; + totalItems: number; + items: Array<{ + __typename?: 'Customer'; + id: string; + createdAt: any; + updatedAt: any; + emailAddress: string; + firstName: string; + lastName: string; + user?: { __typename?: 'User'; id: string } | null; + }>; + }; + } | null; +}; export type AddCustomersToGroupMutationVariables = Exact<{ - groupId: Scalars['ID']['input']; - customerIds: Array | Scalars['ID']['input']; + groupId: Scalars['ID']['input']; + customerIds: Array | Scalars['ID']['input']; }>; - -export type AddCustomersToGroupMutation = { addCustomersToGroup: { __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string } }; +export type AddCustomersToGroupMutation = { + addCustomersToGroup: { + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; +}; export type RemoveCustomersFromGroupMutationVariables = Exact<{ - groupId: Scalars['ID']['input']; - customerIds: Array | Scalars['ID']['input']; + groupId: Scalars['ID']['input']; + customerIds: Array | Scalars['ID']['input']; }>; - -export type RemoveCustomersFromGroupMutation = { removeCustomersFromGroup: { __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string } }; +export type RemoveCustomersFromGroupMutation = { + removeCustomersFromGroup: { + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; +}; export type GetCustomerHistoryQueryVariables = Exact<{ - id: Scalars['ID']['input']; - options?: InputMaybe; + id: Scalars['ID']['input']; + options?: InputMaybe; }>; - -export type GetCustomerHistoryQuery = { customer?: { __typename?: 'Customer', id: string, history: { __typename?: 'HistoryEntryList', totalItems: number, items: Array<{ __typename?: 'HistoryEntry', id: string, type: HistoryEntryType, createdAt: any, isPublic: boolean, data: any, administrator?: { __typename?: 'Administrator', id: string, firstName: string, lastName: string } | null }> } } | null }; +export type GetCustomerHistoryQuery = { + customer?: { + __typename?: 'Customer'; + id: string; + history: { + __typename?: 'HistoryEntryList'; + totalItems: number; + items: Array<{ + __typename?: 'HistoryEntry'; + id: string; + type: HistoryEntryType; + createdAt: any; + isPublic: boolean; + data: any; + administrator?: { + __typename?: 'Administrator'; + id: string; + firstName: string; + lastName: string; + } | null; + }>; + }; + } | null; +}; export type AddNoteToCustomerMutationVariables = Exact<{ - input: AddNoteToCustomerInput; + input: AddNoteToCustomerInput; }>; - -export type AddNoteToCustomerMutation = { addNoteToCustomer: { __typename?: 'Customer', id: string } }; +export type AddNoteToCustomerMutation = { addNoteToCustomer: { __typename?: 'Customer'; id: string } }; export type UpdateCustomerNoteMutationVariables = Exact<{ - input: UpdateCustomerNoteInput; + input: UpdateCustomerNoteInput; }>; - -export type UpdateCustomerNoteMutation = { updateCustomerNote: { __typename?: 'HistoryEntry', id: string, data: any, isPublic: boolean } }; +export type UpdateCustomerNoteMutation = { + updateCustomerNote: { __typename?: 'HistoryEntry'; id: string; data: any; isPublic: boolean }; +}; export type DeleteCustomerNoteMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteCustomerNoteMutation = { deleteCustomerNote: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; - -export type FacetValueFragment = { __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }; - -export type FacetWithValuesFragment = { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ __typename?: 'FacetTranslation', id: string, languageCode: LanguageCode, name: string }>, values: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> }; - -export type FacetWithValueListFragment = { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ __typename?: 'FacetTranslation', id: string, languageCode: LanguageCode, name: string }>, valueList: { __typename?: 'FacetValueList', totalItems: number, items: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> } }; +export type DeleteCustomerNoteMutation = { + deleteCustomerNote: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; + +export type FacetValueFragment = { + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; +}; + +export type FacetWithValuesFragment = { + __typename?: 'Facet'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + isPrivate: boolean; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + values: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; +}; + +export type FacetWithValueListFragment = { + __typename?: 'Facet'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + isPrivate: boolean; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + valueList: { + __typename?: 'FacetValueList'; + totalItems: number; + items: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; + }; +}; export type CreateFacetMutationVariables = Exact<{ - input: CreateFacetInput; + input: CreateFacetInput; }>; - -export type CreateFacetMutation = { createFacet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ __typename?: 'FacetTranslation', id: string, languageCode: LanguageCode, name: string }>, values: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> } }; +export type CreateFacetMutation = { + createFacet: { + __typename?: 'Facet'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + isPrivate: boolean; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + values: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; + }; +}; export type UpdateFacetMutationVariables = Exact<{ - input: UpdateFacetInput; + input: UpdateFacetInput; }>; - -export type UpdateFacetMutation = { updateFacet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ __typename?: 'FacetTranslation', id: string, languageCode: LanguageCode, name: string }>, values: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> } }; +export type UpdateFacetMutation = { + updateFacet: { + __typename?: 'Facet'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + isPrivate: boolean; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + values: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; + }; +}; export type DeleteFacetMutationVariables = Exact<{ - id: Scalars['ID']['input']; - force?: InputMaybe; + id: Scalars['ID']['input']; + force?: InputMaybe; }>; - -export type DeleteFacetMutation = { deleteFacet: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteFacetMutation = { + deleteFacet: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteFacetsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; - force?: InputMaybe; + ids: Array | Scalars['ID']['input']; + force?: InputMaybe; }>; - -export type DeleteFacetsMutation = { deleteFacets: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteFacetsMutation = { + deleteFacets: Array<{ __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }>; +}; export type CreateFacetValuesMutationVariables = Exact<{ - input: Array | CreateFacetValueInput; + input: Array | CreateFacetValueInput; }>; - -export type CreateFacetValuesMutation = { createFacetValues: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> }; +export type CreateFacetValuesMutation = { + createFacetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; +}; export type UpdateFacetValuesMutationVariables = Exact<{ - input: Array | UpdateFacetValueInput; + input: Array | UpdateFacetValueInput; }>; - -export type UpdateFacetValuesMutation = { updateFacetValues: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> }; +export type UpdateFacetValuesMutation = { + updateFacetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; +}; export type DeleteFacetValuesMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; - force?: InputMaybe; + ids: Array | Scalars['ID']['input']; + force?: InputMaybe; }>; - -export type DeleteFacetValuesMutation = { deleteFacetValues: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteFacetValuesMutation = { + deleteFacetValues: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type GetFacetValueListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetFacetValueListQuery = { facetValues: { __typename?: 'FacetValueList', totalItems: number, items: Array<{ __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'FacetValueTranslation', id: string, languageCode: LanguageCode, name: string }>, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } }> } }; +export type GetFacetValueListQuery = { + facetValues: { + __typename?: 'FacetValueList'; + totalItems: number; + items: Array<{ + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ + __typename?: 'FacetValueTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }>; + }; +}; export type AssignFacetsToChannelMutationVariables = Exact<{ - input: AssignFacetsToChannelInput; + input: AssignFacetsToChannelInput; }>; - -export type AssignFacetsToChannelMutation = { assignFacetsToChannel: Array<{ __typename?: 'Facet', id: string }> }; +export type AssignFacetsToChannelMutation = { + assignFacetsToChannel: Array<{ __typename?: 'Facet'; id: string }>; +}; export type RemoveFacetsFromChannelMutationVariables = Exact<{ - input: RemoveFacetsFromChannelInput; + input: RemoveFacetsFromChannelInput; }>; - -export type RemoveFacetsFromChannelMutation = { removeFacetsFromChannel: Array<{ __typename?: 'Facet', id: string } | { __typename?: 'FacetInUseError', errorCode: ErrorCode, message: string, variantCount: number, productCount: number }> }; - -export type DiscountFragment = { __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }; - -export type PaymentFragment = { __typename?: 'Payment', id: string, transactionId?: string | null, amount: number, method: string, state: string, metadata?: any | null }; - -export type RefundFragment = { __typename?: 'Refund', id: string, state: string, items: number, shipping: number, adjustment: number, transactionId?: string | null, paymentId: string }; - -export type OrderAddressFragment = { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null }; - -export type OrderFragment = { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, orderPlacedAt?: any | null, code: string, state: string, nextStates: Array, total: number, totalWithTax: number, currencyCode: CurrencyCode, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', name: string } }> }; - -export type FulfillmentFragment = { __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }; - -export type PaymentWithRefundsFragment = { __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }; - -export type OrderLineFragment = { __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }; - -export type OrderDetailFragment = { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> }; +export type RemoveFacetsFromChannelMutation = { + removeFacetsFromChannel: Array< + | { __typename?: 'Facet'; id: string } + | { + __typename?: 'FacetInUseError'; + errorCode: ErrorCode; + message: string; + variantCount: number; + productCount: number; + } + >; +}; + +export type DiscountFragment = { + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; +}; + +export type PaymentFragment = { + __typename?: 'Payment'; + id: string; + transactionId?: string | null; + amount: number; + method: string; + state: string; + metadata?: any | null; +}; + +export type RefundFragment = { + __typename?: 'Refund'; + id: string; + state: string; + items: number; + shipping: number; + adjustment: number; + transactionId?: string | null; + paymentId: string; +}; + +export type OrderAddressFragment = { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; +}; + +export type OrderFragment = { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + orderPlacedAt?: any | null; + code: string; + state: string; + nextStates: Array; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { __typename?: 'ShippingMethod'; name: string }; + }>; +}; + +export type FulfillmentFragment = { + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; +}; + +export type PaymentWithRefundsFragment = { + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; +}; + +export type OrderLineFragment = { + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; +}; + +export type OrderDetailFragment = { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ __typename?: 'OrderModificationLine'; orderLineId: string; quantity: number }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; +}; export type GetOrderListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetOrderListQuery = { orders: { __typename?: 'OrderList', totalItems: number, items: Array<{ __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, orderPlacedAt?: any | null, code: string, state: string, nextStates: Array, total: number, totalWithTax: number, currencyCode: CurrencyCode, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', name: string } }> }> } }; +export type GetOrderListQuery = { + orders: { + __typename?: 'OrderList'; + totalItems: number; + items: Array<{ + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + orderPlacedAt?: any | null; + code: string; + state: string; + nextStates: Array; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { __typename?: 'ShippingMethod'; name: string }; + }>; + }>; + }; +}; export type GetOrderQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetOrderQuery = { order?: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | null }; +export type GetOrderQuery = { + order?: { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ __typename?: 'OrderModificationLine'; orderLineId: string; quantity: number }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } | null; +}; export type SettlePaymentMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type SettlePaymentMutation = { settlePayment: { __typename?: 'OrderStateTransitionError', transitionError: string, errorCode: ErrorCode, message: string } | { __typename?: 'Payment', id: string, transactionId?: string | null, amount: number, method: string, state: string, metadata?: any | null } | { __typename?: 'PaymentStateTransitionError', transitionError: string, errorCode: ErrorCode, message: string } | { __typename?: 'SettlePaymentError', paymentErrorMessage: string, errorCode: ErrorCode, message: string } }; +export type SettlePaymentMutation = { + settlePayment: + | { + __typename?: 'OrderStateTransitionError'; + transitionError: string; + errorCode: ErrorCode; + message: string; + } + | { + __typename?: 'Payment'; + id: string; + transactionId?: string | null; + amount: number; + method: string; + state: string; + metadata?: any | null; + } + | { + __typename?: 'PaymentStateTransitionError'; + transitionError: string; + errorCode: ErrorCode; + message: string; + } + | { + __typename?: 'SettlePaymentError'; + paymentErrorMessage: string; + errorCode: ErrorCode; + message: string; + }; +}; export type CancelPaymentMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type CancelPaymentMutation = { cancelPayment: { __typename?: 'CancelPaymentError', paymentErrorMessage: string, errorCode: ErrorCode, message: string } | { __typename?: 'Payment', id: string, transactionId?: string | null, amount: number, method: string, state: string, metadata?: any | null } | { __typename?: 'PaymentStateTransitionError', transitionError: string, errorCode: ErrorCode, message: string } }; +export type CancelPaymentMutation = { + cancelPayment: + | { + __typename?: 'CancelPaymentError'; + paymentErrorMessage: string; + errorCode: ErrorCode; + message: string; + } + | { + __typename?: 'Payment'; + id: string; + transactionId?: string | null; + amount: number; + method: string; + state: string; + metadata?: any | null; + } + | { + __typename?: 'PaymentStateTransitionError'; + transitionError: string; + errorCode: ErrorCode; + message: string; + }; +}; export type TransitionPaymentToStateMutationVariables = Exact<{ - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }>; - -export type TransitionPaymentToStateMutation = { transitionPaymentToState: { __typename?: 'Payment', id: string, transactionId?: string | null, amount: number, method: string, state: string, metadata?: any | null } | { __typename?: 'PaymentStateTransitionError', transitionError: string, errorCode: ErrorCode, message: string } }; +export type TransitionPaymentToStateMutation = { + transitionPaymentToState: + | { + __typename?: 'Payment'; + id: string; + transactionId?: string | null; + amount: number; + method: string; + state: string; + metadata?: any | null; + } + | { + __typename?: 'PaymentStateTransitionError'; + transitionError: string; + errorCode: ErrorCode; + message: string; + }; +}; export type CreateFulfillmentMutationVariables = Exact<{ - input: FulfillOrderInput; + input: FulfillOrderInput; }>; - -export type CreateFulfillmentMutation = { addFulfillmentToOrder: { __typename?: 'CreateFulfillmentError', errorCode: ErrorCode, message: string, fulfillmentHandlerError: string } | { __typename?: 'EmptyOrderLineSelectionError', errorCode: ErrorCode, message: string } | { __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> } | { __typename?: 'FulfillmentStateTransitionError', errorCode: ErrorCode, message: string, transitionError: string } | { __typename?: 'InsufficientStockOnHandError', errorCode: ErrorCode, message: string } | { __typename?: 'InvalidFulfillmentHandlerError', errorCode: ErrorCode, message: string } | { __typename?: 'ItemsAlreadyFulfilledError', errorCode: ErrorCode, message: string } }; +export type CreateFulfillmentMutation = { + addFulfillmentToOrder: + | { + __typename?: 'CreateFulfillmentError'; + errorCode: ErrorCode; + message: string; + fulfillmentHandlerError: string; + } + | { __typename?: 'EmptyOrderLineSelectionError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + } + | { + __typename?: 'FulfillmentStateTransitionError'; + errorCode: ErrorCode; + message: string; + transitionError: string; + } + | { __typename?: 'InsufficientStockOnHandError'; errorCode: ErrorCode; message: string } + | { __typename?: 'InvalidFulfillmentHandlerError'; errorCode: ErrorCode; message: string } + | { __typename?: 'ItemsAlreadyFulfilledError'; errorCode: ErrorCode; message: string }; +}; export type CancelOrderMutationVariables = Exact<{ - input: CancelOrderInput; + input: CancelOrderInput; }>; - -export type CancelOrderMutation = { cancelOrder: { __typename?: 'CancelActiveOrderError', errorCode: ErrorCode, message: string } | { __typename?: 'EmptyOrderLineSelectionError', errorCode: ErrorCode, message: string } | { __typename?: 'MultipleOrderError', errorCode: ErrorCode, message: string } | { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | { __typename?: 'OrderStateTransitionError', errorCode: ErrorCode, message: string } | { __typename?: 'QuantityTooGreatError', errorCode: ErrorCode, message: string } }; +export type CancelOrderMutation = { + cancelOrder: + | { __typename?: 'CancelActiveOrderError'; errorCode: ErrorCode; message: string } + | { __typename?: 'EmptyOrderLineSelectionError'; errorCode: ErrorCode; message: string } + | { __typename?: 'MultipleOrderError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } + | { __typename?: 'OrderStateTransitionError'; errorCode: ErrorCode; message: string } + | { __typename?: 'QuantityTooGreatError'; errorCode: ErrorCode; message: string }; +}; export type RefundOrderMutationVariables = Exact<{ - input: RefundOrderInput; + input: RefundOrderInput; }>; - -export type RefundOrderMutation = { refundOrder: { __typename?: 'AlreadyRefundedError', errorCode: ErrorCode, message: string } | { __typename?: 'MultipleOrderError', errorCode: ErrorCode, message: string } | { __typename?: 'NothingToRefundError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderStateTransitionError', errorCode: ErrorCode, message: string } | { __typename?: 'PaymentOrderMismatchError', errorCode: ErrorCode, message: string } | { __typename?: 'QuantityTooGreatError', errorCode: ErrorCode, message: string } | { __typename?: 'Refund', id: string, state: string, items: number, shipping: number, adjustment: number, transactionId?: string | null, paymentId: string } | { __typename?: 'RefundOrderStateError', errorCode: ErrorCode, message: string } | { __typename?: 'RefundStateTransitionError', errorCode: ErrorCode, message: string } }; +export type RefundOrderMutation = { + refundOrder: + | { __typename?: 'AlreadyRefundedError'; errorCode: ErrorCode; message: string } + | { __typename?: 'MultipleOrderError'; errorCode: ErrorCode; message: string } + | { __typename?: 'NothingToRefundError'; errorCode: ErrorCode; message: string } + | { __typename?: 'OrderStateTransitionError'; errorCode: ErrorCode; message: string } + | { __typename?: 'PaymentOrderMismatchError'; errorCode: ErrorCode; message: string } + | { __typename?: 'QuantityTooGreatError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Refund'; + id: string; + state: string; + items: number; + shipping: number; + adjustment: number; + transactionId?: string | null; + paymentId: string; + } + | { __typename?: 'RefundOrderStateError'; errorCode: ErrorCode; message: string } + | { __typename?: 'RefundStateTransitionError'; errorCode: ErrorCode; message: string }; +}; export type SettleRefundMutationVariables = Exact<{ - input: SettleRefundInput; + input: SettleRefundInput; }>; - -export type SettleRefundMutation = { settleRefund: { __typename?: 'Refund', id: string, state: string, items: number, shipping: number, adjustment: number, transactionId?: string | null, paymentId: string } | { __typename?: 'RefundStateTransitionError', errorCode: ErrorCode, message: string } }; +export type SettleRefundMutation = { + settleRefund: + | { + __typename?: 'Refund'; + id: string; + state: string; + items: number; + shipping: number; + adjustment: number; + transactionId?: string | null; + paymentId: string; + } + | { __typename?: 'RefundStateTransitionError'; errorCode: ErrorCode; message: string }; +}; export type GetOrderHistoryQueryVariables = Exact<{ - id: Scalars['ID']['input']; - options?: InputMaybe; + id: Scalars['ID']['input']; + options?: InputMaybe; }>; - -export type GetOrderHistoryQuery = { order?: { __typename?: 'Order', id: string, history: { __typename?: 'HistoryEntryList', totalItems: number, items: Array<{ __typename?: 'HistoryEntry', id: string, type: HistoryEntryType, createdAt: any, isPublic: boolean, data: any, administrator?: { __typename?: 'Administrator', id: string, firstName: string, lastName: string } | null }> } } | null }; +export type GetOrderHistoryQuery = { + order?: { + __typename?: 'Order'; + id: string; + history: { + __typename?: 'HistoryEntryList'; + totalItems: number; + items: Array<{ + __typename?: 'HistoryEntry'; + id: string; + type: HistoryEntryType; + createdAt: any; + isPublic: boolean; + data: any; + administrator?: { + __typename?: 'Administrator'; + id: string; + firstName: string; + lastName: string; + } | null; + }>; + }; + } | null; +}; export type AddNoteToOrderMutationVariables = Exact<{ - input: AddNoteToOrderInput; + input: AddNoteToOrderInput; }>; - -export type AddNoteToOrderMutation = { addNoteToOrder: { __typename?: 'Order', id: string } }; +export type AddNoteToOrderMutation = { addNoteToOrder: { __typename?: 'Order'; id: string } }; export type UpdateOrderNoteMutationVariables = Exact<{ - input: UpdateOrderNoteInput; + input: UpdateOrderNoteInput; }>; - -export type UpdateOrderNoteMutation = { updateOrderNote: { __typename?: 'HistoryEntry', id: string, data: any, isPublic: boolean } }; +export type UpdateOrderNoteMutation = { + updateOrderNote: { __typename?: 'HistoryEntry'; id: string; data: any; isPublic: boolean }; +}; export type DeleteOrderNoteMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteOrderNoteMutation = { deleteOrderNote: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteOrderNoteMutation = { + deleteOrderNote: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type TransitionOrderToStateMutationVariables = Exact<{ - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }>; - -export type TransitionOrderToStateMutation = { transitionOrderToState?: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, orderPlacedAt?: any | null, code: string, state: string, nextStates: Array, total: number, totalWithTax: number, currencyCode: CurrencyCode, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', name: string } }> } | { __typename?: 'OrderStateTransitionError', transitionError: string, errorCode: ErrorCode, message: string } | null }; +export type TransitionOrderToStateMutation = { + transitionOrderToState?: + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + orderPlacedAt?: any | null; + code: string; + state: string; + nextStates: Array; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { __typename?: 'ShippingMethod'; name: string }; + }>; + } + | { + __typename?: 'OrderStateTransitionError'; + transitionError: string; + errorCode: ErrorCode; + message: string; + } + | null; +}; export type UpdateOrderCustomFieldsMutationVariables = Exact<{ - input: UpdateOrderInput; + input: UpdateOrderInput; }>; - -export type UpdateOrderCustomFieldsMutation = { setOrderCustomFields?: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, orderPlacedAt?: any | null, code: string, state: string, nextStates: Array, total: number, totalWithTax: number, currencyCode: CurrencyCode, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', name: string } }> } | null }; +export type UpdateOrderCustomFieldsMutation = { + setOrderCustomFields?: { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + orderPlacedAt?: any | null; + code: string; + state: string; + nextStates: Array; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { __typename?: 'ShippingMethod'; name: string }; + }>; + } | null; +}; export type TransitionFulfillmentToStateMutationVariables = Exact<{ - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }>; - -export type TransitionFulfillmentToStateMutation = { transitionFulfillmentToState: { __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> } | { __typename?: 'FulfillmentStateTransitionError', transitionError: string, errorCode: ErrorCode, message: string } }; +export type TransitionFulfillmentToStateMutation = { + transitionFulfillmentToState: + | { + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + } + | { + __typename?: 'FulfillmentStateTransitionError'; + transitionError: string; + errorCode: ErrorCode; + message: string; + }; +}; export type ModifyOrderMutationVariables = Exact<{ - input: ModifyOrderInput; + input: ModifyOrderInput; }>; - -export type ModifyOrderMutation = { modifyOrder: { __typename?: 'CouponCodeExpiredError', errorCode: ErrorCode, message: string } | { __typename?: 'CouponCodeInvalidError', errorCode: ErrorCode, message: string } | { __typename?: 'CouponCodeLimitError', errorCode: ErrorCode, message: string } | { __typename?: 'InsufficientStockError', errorCode: ErrorCode, message: string } | { __typename?: 'NegativeQuantityError', errorCode: ErrorCode, message: string } | { __typename?: 'NoChangesSpecifiedError', errorCode: ErrorCode, message: string } | { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | { __typename?: 'OrderLimitError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderModificationStateError', errorCode: ErrorCode, message: string } | { __typename?: 'PaymentMethodMissingError', errorCode: ErrorCode, message: string } | { __typename?: 'RefundPaymentIdMissingError', errorCode: ErrorCode, message: string } }; +export type ModifyOrderMutation = { + modifyOrder: + | { __typename?: 'CouponCodeExpiredError'; errorCode: ErrorCode; message: string } + | { __typename?: 'CouponCodeInvalidError'; errorCode: ErrorCode; message: string } + | { __typename?: 'CouponCodeLimitError'; errorCode: ErrorCode; message: string } + | { __typename?: 'InsufficientStockError'; errorCode: ErrorCode; message: string } + | { __typename?: 'NegativeQuantityError'; errorCode: ErrorCode; message: string } + | { __typename?: 'NoChangesSpecifiedError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } + | { __typename?: 'OrderLimitError'; errorCode: ErrorCode; message: string } + | { __typename?: 'OrderModificationStateError'; errorCode: ErrorCode; message: string } + | { __typename?: 'PaymentMethodMissingError'; errorCode: ErrorCode; message: string } + | { __typename?: 'RefundPaymentIdMissingError'; errorCode: ErrorCode; message: string }; +}; export type AddManualPaymentMutationVariables = Exact<{ - input: ManualPaymentInput; + input: ManualPaymentInput; }>; - -export type AddManualPaymentMutation = { addManualPaymentToOrder: { __typename?: 'ManualPaymentStateError', errorCode: ErrorCode, message: string } | { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } }; - -export type CreateDraftOrderMutationVariables = Exact<{ [key: string]: never; }>; - - -export type CreateDraftOrderMutation = { createDraftOrder: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } }; +export type AddManualPaymentMutation = { + addManualPaymentToOrder: + | { __typename?: 'ManualPaymentStateError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + }; +}; + +export type CreateDraftOrderMutationVariables = Exact<{ [key: string]: never }>; + +export type CreateDraftOrderMutation = { + createDraftOrder: { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ __typename?: 'OrderModificationLine'; orderLineId: string; quantity: number }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + }; +}; export type DeleteDraftOrderMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }>; - -export type DeleteDraftOrderMutation = { deleteDraftOrder: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteDraftOrderMutation = { + deleteDraftOrder: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type AddItemToDraftOrderMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - input: AddItemToDraftOrderInput; + orderId: Scalars['ID']['input']; + input: AddItemToDraftOrderInput; }>; - -export type AddItemToDraftOrderMutation = { addItemToDraftOrder: { __typename?: 'InsufficientStockError', errorCode: ErrorCode, message: string } | { __typename?: 'NegativeQuantityError', errorCode: ErrorCode, message: string } | { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | { __typename?: 'OrderLimitError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string } }; +export type AddItemToDraftOrderMutation = { + addItemToDraftOrder: + | { __typename?: 'InsufficientStockError'; errorCode: ErrorCode; message: string } + | { __typename?: 'NegativeQuantityError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } + | { __typename?: 'OrderLimitError'; errorCode: ErrorCode; message: string } + | { __typename?: 'OrderModificationError'; errorCode: ErrorCode; message: string }; +}; export type AdjustDraftOrderLineMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - input: AdjustDraftOrderLineInput; + orderId: Scalars['ID']['input']; + input: AdjustDraftOrderLineInput; }>; - -export type AdjustDraftOrderLineMutation = { adjustDraftOrderLine: { __typename?: 'InsufficientStockError', errorCode: ErrorCode, message: string } | { __typename?: 'NegativeQuantityError', errorCode: ErrorCode, message: string } | { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | { __typename?: 'OrderLimitError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string } }; +export type AdjustDraftOrderLineMutation = { + adjustDraftOrderLine: + | { __typename?: 'InsufficientStockError'; errorCode: ErrorCode; message: string } + | { __typename?: 'NegativeQuantityError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } + | { __typename?: 'OrderLimitError'; errorCode: ErrorCode; message: string } + | { __typename?: 'OrderModificationError'; errorCode: ErrorCode; message: string }; +}; export type RemoveDraftOrderLineMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - orderLineId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + orderLineId: Scalars['ID']['input']; }>; - -export type RemoveDraftOrderLineMutation = { removeDraftOrderLine: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string } }; +export type RemoveDraftOrderLineMutation = { + removeDraftOrderLine: + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } + | { __typename?: 'OrderModificationError'; errorCode: ErrorCode; message: string }; +}; export type SetCustomerForDraftOrderMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - customerId?: InputMaybe; - input?: InputMaybe; + orderId: Scalars['ID']['input']; + customerId?: InputMaybe; + input?: InputMaybe; }>; - -export type SetCustomerForDraftOrderMutation = { setCustomerForDraftOrder: { __typename?: 'EmailAddressConflictError', errorCode: ErrorCode, message: string } | { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } }; +export type SetCustomerForDraftOrderMutation = { + setCustomerForDraftOrder: + | { __typename?: 'EmailAddressConflictError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + }; +}; export type SetDraftOrderShippingAddressMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - input: CreateAddressInput; + orderId: Scalars['ID']['input']; + input: CreateAddressInput; }>; - -export type SetDraftOrderShippingAddressMutation = { setDraftOrderShippingAddress: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } }; +export type SetDraftOrderShippingAddressMutation = { + setDraftOrderShippingAddress: { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ __typename?: 'OrderModificationLine'; orderLineId: string; quantity: number }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + }; +}; export type SetDraftOrderBillingAddressMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - input: CreateAddressInput; + orderId: Scalars['ID']['input']; + input: CreateAddressInput; }>; - -export type SetDraftOrderBillingAddressMutation = { setDraftOrderBillingAddress: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } }; +export type SetDraftOrderBillingAddressMutation = { + setDraftOrderBillingAddress: { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ __typename?: 'OrderModificationLine'; orderLineId: string; quantity: number }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + }; +}; export type ApplyCouponCodeToDraftOrderMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; }>; - -export type ApplyCouponCodeToDraftOrderMutation = { applyCouponCodeToDraftOrder: { __typename?: 'CouponCodeExpiredError', errorCode: ErrorCode, message: string } | { __typename?: 'CouponCodeInvalidError', errorCode: ErrorCode, message: string } | { __typename?: 'CouponCodeLimitError', errorCode: ErrorCode, message: string } | { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } }; +export type ApplyCouponCodeToDraftOrderMutation = { + applyCouponCodeToDraftOrder: + | { __typename?: 'CouponCodeExpiredError'; errorCode: ErrorCode; message: string } + | { __typename?: 'CouponCodeInvalidError'; errorCode: ErrorCode; message: string } + | { __typename?: 'CouponCodeLimitError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + }; +}; export type RemoveCouponCodeFromDraftOrderMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; }>; - -export type RemoveCouponCodeFromDraftOrderMutation = { removeCouponCodeFromDraftOrder?: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | null }; +export type RemoveCouponCodeFromDraftOrderMutation = { + removeCouponCodeFromDraftOrder?: { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ __typename?: 'OrderModificationLine'; orderLineId: string; quantity: number }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } | null; +}; export type DraftOrderEligibleShippingMethodsQueryVariables = Exact<{ - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }>; - -export type DraftOrderEligibleShippingMethodsQuery = { eligibleShippingMethodsForDraftOrder: Array<{ __typename?: 'ShippingMethodQuote', id: string, name: string, code: string, description: string, price: number, priceWithTax: number, metadata?: any | null }> }; +export type DraftOrderEligibleShippingMethodsQuery = { + eligibleShippingMethodsForDraftOrder: Array<{ + __typename?: 'ShippingMethodQuote'; + id: string; + name: string; + code: string; + description: string; + price: number; + priceWithTax: number; + metadata?: any | null; + }>; +}; export type SetDraftOrderShippingMethodMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - shippingMethodId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + shippingMethodId: Scalars['ID']['input']; }>; - -export type SetDraftOrderShippingMethodMutation = { setDraftOrderShippingMethod: { __typename?: 'IneligibleShippingMethodError', errorCode: ErrorCode, message: string } | { __typename?: 'NoActiveOrderError', errorCode: ErrorCode, message: string } | { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string } }; - -export type AssetFragment = { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }; - -export type TagFragment = { __typename?: 'Tag', id: string, value: string }; - -export type ProductOptionGroupFragment = { __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }; - -export type ProductOptionFragment = { __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }; - -export type ProductVariantFragment = { __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }; - -export type ProductDetailFragment = { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }; - -export type ProductOptionGroupWithOptionsFragment = { __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, name: string }>, options: Array<{ __typename?: 'ProductOption', id: string, languageCode: LanguageCode, name: string, code: string, translations: Array<{ __typename?: 'ProductOptionTranslation', name: string }> }> }; +export type SetDraftOrderShippingMethodMutation = { + setDraftOrderShippingMethod: + | { __typename?: 'IneligibleShippingMethodError'; errorCode: ErrorCode; message: string } + | { __typename?: 'NoActiveOrderError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ + __typename?: 'OrderModificationLine'; + orderLineId: string; + quantity: number; + }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } + | { __typename?: 'OrderModificationError'; errorCode: ErrorCode; message: string }; +}; + +export type AssetFragment = { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; +}; + +export type TagFragment = { __typename?: 'Tag'; id: string; value: string }; + +export type ProductOptionGroupFragment = { + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; +}; + +export type ProductOptionFragment = { + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; +}; + +export type ProductVariantFragment = { + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; +}; + +export type ProductDetailFragment = { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; +}; + +export type ProductOptionGroupWithOptionsFragment = { + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ __typename?: 'ProductOptionGroupTranslation'; id: string; name: string }>; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + languageCode: LanguageCode; + name: string; + code: string; + translations: Array<{ __typename?: 'ProductOptionTranslation'; name: string }>; + }>; +}; export type UpdateProductMutationVariables = Exact<{ - input: UpdateProductInput; - variantListOptions?: InputMaybe; + input: UpdateProductInput; + variantListOptions?: InputMaybe; }>; - -export type UpdateProductMutation = { updateProduct: { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, variantList: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> }, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> } }; +export type UpdateProductMutation = { + updateProduct: { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + variantList: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }>; + }; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }; +}; export type CreateProductMutationVariables = Exact<{ - input: CreateProductInput; - variantListOptions?: InputMaybe; + input: CreateProductInput; + variantListOptions?: InputMaybe; }>; - -export type CreateProductMutation = { createProduct: { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, variantList: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> }, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> } }; +export type CreateProductMutation = { + createProduct: { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + variantList: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }>; + }; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }; +}; export type DeleteProductMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteProductMutation = { deleteProduct: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteProductMutation = { + deleteProduct: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteProductsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteProductsMutation = { deleteProducts: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteProductsMutation = { + deleteProducts: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type CreateProductVariantsMutationVariables = Exact<{ - input: Array | CreateProductVariantInput; + input: Array | CreateProductVariantInput; }>; - -export type CreateProductVariantsMutation = { createProductVariants: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> } | null> }; +export type CreateProductVariantsMutation = { + createProductVariants: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + } | null>; +}; export type UpdateProductVariantsMutationVariables = Exact<{ - input: Array | UpdateProductVariantInput; + input: Array | UpdateProductVariantInput; }>; - -export type UpdateProductVariantsMutation = { updateProductVariants: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> } | null> }; +export type UpdateProductVariantsMutation = { + updateProductVariants: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + } | null>; +}; export type CreateProductOptionGroupMutationVariables = Exact<{ - input: CreateProductOptionGroupInput; + input: CreateProductOptionGroupInput; }>; - -export type CreateProductOptionGroupMutation = { createProductOptionGroup: { __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, name: string }>, options: Array<{ __typename?: 'ProductOption', id: string, languageCode: LanguageCode, name: string, code: string, translations: Array<{ __typename?: 'ProductOptionTranslation', name: string }> }> } }; +export type CreateProductOptionGroupMutation = { + createProductOptionGroup: { + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ __typename?: 'ProductOptionGroupTranslation'; id: string; name: string }>; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + languageCode: LanguageCode; + name: string; + code: string; + translations: Array<{ __typename?: 'ProductOptionTranslation'; name: string }>; + }>; + }; +}; export type GetProductOptionGroupQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetProductOptionGroupQuery = { productOptionGroup?: { __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, name: string }>, options: Array<{ __typename?: 'ProductOption', id: string, languageCode: LanguageCode, name: string, code: string, translations: Array<{ __typename?: 'ProductOptionTranslation', name: string }> }> } | null }; +export type GetProductOptionGroupQuery = { + productOptionGroup?: { + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + translations: Array<{ __typename?: 'ProductOptionGroupTranslation'; id: string; name: string }>; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + languageCode: LanguageCode; + name: string; + code: string; + translations: Array<{ __typename?: 'ProductOptionTranslation'; name: string }>; + }>; + } | null; +}; export type AddOptionToGroupMutationVariables = Exact<{ - input: CreateProductOptionInput; + input: CreateProductOptionInput; }>; - -export type AddOptionToGroupMutation = { createProductOption: { __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, name: string, code: string, groupId: string } }; +export type AddOptionToGroupMutation = { + createProductOption: { + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + code: string; + groupId: string; + }; +}; export type AddOptionGroupToProductMutationVariables = Exact<{ - productId: Scalars['ID']['input']; - optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; + optionGroupId: Scalars['ID']['input']; }>; - -export type AddOptionGroupToProductMutation = { addOptionGroupToProduct: { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string }> }> } }; +export type AddOptionGroupToProductMutation = { + addOptionGroupToProduct: { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + }>; + }>; + }; +}; export type RemoveOptionGroupFromProductMutationVariables = Exact<{ - productId: Scalars['ID']['input']; - optionGroupId: Scalars['ID']['input']; - force?: InputMaybe; + productId: Scalars['ID']['input']; + optionGroupId: Scalars['ID']['input']; + force?: InputMaybe; }>; - -export type RemoveOptionGroupFromProductMutation = { removeOptionGroupFromProduct: { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string }> }> } | { __typename?: 'ProductOptionInUseError', errorCode: ErrorCode, message: string } }; +export type RemoveOptionGroupFromProductMutation = { + removeOptionGroupFromProduct: + | { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + }>; + }>; + } + | { __typename?: 'ProductOptionInUseError'; errorCode: ErrorCode; message: string }; +}; export type GetProductWithVariantsQueryVariables = Exact<{ - id: Scalars['ID']['input']; - variantListOptions?: InputMaybe; + id: Scalars['ID']['input']; + variantListOptions?: InputMaybe; }>; - -export type GetProductWithVariantsQuery = { product?: { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, variantList: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> }, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductTranslation', id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> } | null }; +export type GetProductWithVariantsQuery = { + product?: { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + variantList: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }>; + }; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + }>; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + } | null; +}; export type GetProductSimpleQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetProductSimpleQuery = { product?: { __typename?: 'Product', id: string, name: string, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null } | null }; - -export type ProductForListFragment = { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, variantList: { __typename?: 'ProductVariantList', totalItems: number } }; +export type GetProductSimpleQuery = { + product?: { + __typename?: 'Product'; + id: string; + name: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + } | null; +}; + +export type ProductForListFragment = { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + variantList: { __typename?: 'ProductVariantList'; totalItems: number }; +}; export type GetProductListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetProductListQuery = { products: { __typename?: 'ProductList', totalItems: number, items: Array<{ __typename?: 'Product', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, variantList: { __typename?: 'ProductVariantList', totalItems: number } }> } }; +export type GetProductListQuery = { + products: { + __typename?: 'ProductList'; + totalItems: number; + items: Array<{ + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + slug: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + variantList: { __typename?: 'ProductVariantList'; totalItems: number }; + }>; + }; +}; export type GetProductOptionGroupsQueryVariables = Exact<{ - filterTerm?: InputMaybe; + filterTerm?: InputMaybe; }>; - -export type GetProductOptionGroupsQuery = { productOptionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, languageCode: LanguageCode, code: string, name: string }> }> }; +export type GetProductOptionGroupsQuery = { + productOptionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + languageCode: LanguageCode; + code: string; + name: string; + }>; + }>; +}; export type GetAssetListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetAssetListQuery = { assets: { __typename?: 'AssetList', totalItems: number, items: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, tags: Array<{ __typename?: 'Tag', id: string, value: string }>, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }> } }; +export type GetAssetListQuery = { + assets: { + __typename?: 'AssetList'; + totalItems: number; + items: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + tags: Array<{ __typename?: 'Tag'; id: string; value: string }>; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + }; +}; export type GetAssetQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetAssetQuery = { asset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, tags: Array<{ __typename?: 'Tag', id: string, value: string }>, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }; +export type GetAssetQuery = { + asset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + tags: Array<{ __typename?: 'Tag'; id: string; value: string }>; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; +}; export type CreateAssetsMutationVariables = Exact<{ - input: Array | CreateAssetInput; + input: Array | CreateAssetInput; }>; - -export type CreateAssetsMutation = { createAssets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, tags: Array<{ __typename?: 'Tag', id: string, value: string }>, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | { __typename?: 'MimeTypeError', message: string }> }; +export type CreateAssetsMutation = { + createAssets: Array< + | { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + tags: Array<{ __typename?: 'Tag'; id: string; value: string }>; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } + | { __typename?: 'MimeTypeError'; message: string } + >; +}; export type UpdateAssetMutationVariables = Exact<{ - input: UpdateAssetInput; + input: UpdateAssetInput; }>; - -export type UpdateAssetMutation = { updateAsset: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, tags: Array<{ __typename?: 'Tag', id: string, value: string }>, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } }; +export type UpdateAssetMutation = { + updateAsset: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + tags: Array<{ __typename?: 'Tag'; id: string; value: string }>; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }; +}; export type DeleteAssetsMutationVariables = Exact<{ - input: DeleteAssetsInput; + input: DeleteAssetsInput; }>; - -export type DeleteAssetsMutation = { deleteAssets: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteAssetsMutation = { + deleteAssets: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type SearchProductsQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; - -export type SearchProductsQuery = { search: { __typename?: 'SearchResponse', totalItems: number, items: Array<{ __typename?: 'SearchResult', enabled: boolean, productId: string, productName: string, slug: string, currencyCode: CurrencyCode, productVariantId: string, productVariantName: string, sku: string, channelIds: Array, priceWithTax: { __typename?: 'PriceRange', min: number, max: number } | { __typename?: 'SinglePrice', value: number }, productAsset?: { __typename?: 'SearchResultAsset', id: string, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, productVariantAsset?: { __typename?: 'SearchResultAsset', id: string, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }>, facetValues: Array<{ __typename?: 'FacetValueResult', count: number, facetValue: { __typename?: 'FacetValue', id: string, createdAt: any, updatedAt: any, name: string, facet: { __typename?: 'Facet', id: string, createdAt: any, updatedAt: any, name: string } } }> } }; +export type SearchProductsQuery = { + search: { + __typename?: 'SearchResponse'; + totalItems: number; + items: Array<{ + __typename?: 'SearchResult'; + enabled: boolean; + productId: string; + productName: string; + slug: string; + currencyCode: CurrencyCode; + productVariantId: string; + productVariantName: string; + sku: string; + channelIds: Array; + priceWithTax: + | { __typename?: 'PriceRange'; min: number; max: number } + | { __typename?: 'SinglePrice'; value: number }; + productAsset?: { + __typename?: 'SearchResultAsset'; + id: string; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + productVariantAsset?: { + __typename?: 'SearchResultAsset'; + id: string; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + }>; + facetValues: Array<{ + __typename?: 'FacetValueResult'; + count: number; + facetValue: { + __typename?: 'FacetValue'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + facet: { __typename?: 'Facet'; id: string; createdAt: any; updatedAt: any; name: string }; + }; + }>; + }; +}; export type ProductSelectorSearchQueryVariables = Exact<{ - term: Scalars['String']['input']; - take: Scalars['Int']['input']; + term: Scalars['String']['input']; + take: Scalars['Int']['input']; }>; - -export type ProductSelectorSearchQuery = { search: { __typename?: 'SearchResponse', items: Array<{ __typename?: 'SearchResult', productVariantId: string, productVariantName: string, sku: string, productAsset?: { __typename?: 'SearchResultAsset', id: string, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, price: { __typename?: 'PriceRange' } | { __typename?: 'SinglePrice', value: number }, priceWithTax: { __typename?: 'PriceRange' } | { __typename?: 'SinglePrice', value: number } }> } }; +export type ProductSelectorSearchQuery = { + search: { + __typename?: 'SearchResponse'; + items: Array<{ + __typename?: 'SearchResult'; + productVariantId: string; + productVariantName: string; + sku: string; + productAsset?: { + __typename?: 'SearchResultAsset'; + id: string; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + price: { __typename?: 'PriceRange' } | { __typename?: 'SinglePrice'; value: number }; + priceWithTax: { __typename?: 'PriceRange' } | { __typename?: 'SinglePrice'; value: number }; + }>; + }; +}; export type UpdateProductOptionGroupMutationVariables = Exact<{ - input: UpdateProductOptionGroupInput; + input: UpdateProductOptionGroupInput; }>; - -export type UpdateProductOptionGroupMutation = { updateProductOptionGroup: { __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> } }; +export type UpdateProductOptionGroupMutation = { + updateProductOptionGroup: { + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }; +}; export type UpdateProductOptionMutationVariables = Exact<{ - input: UpdateProductOptionInput; + input: UpdateProductOptionInput; }>; - -export type UpdateProductOptionMutation = { updateProductOption: { __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> } }; +export type UpdateProductOptionMutation = { + updateProductOption: { + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }; +}; export type DeleteProductOptionMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteProductOptionMutation = { deleteProductOption: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteProductOptionMutation = { + deleteProductOption: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteProductVariantMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteProductVariantMutation = { deleteProductVariant: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteProductVariantMutation = { + deleteProductVariant: { + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }; +}; export type DeleteProductVariantsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteProductVariantsMutation = { deleteProductVariants: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteProductVariantsMutation = { + deleteProductVariants: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type GetProductVariantOptionsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetProductVariantOptionsQuery = { product?: { __typename?: 'Product', id: string, createdAt: any, updatedAt: any, name: string, languageCode: LanguageCode, optionGroups: Array<{ __typename?: 'ProductOptionGroup', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, translations: Array<{ __typename?: 'ProductOptionGroupTranslation', id: string, languageCode: LanguageCode, name: string }> }>, variants: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, name: string, sku: string, price: number, priceWithTax: number, currencyCode: CurrencyCode, stockOnHand: number, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, name: string, code: string, groupId: string }> }> } | null }; +export type GetProductVariantOptionsQuery = { + product?: { + __typename?: 'Product'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + languageCode: LanguageCode; + optionGroups: Array<{ + __typename?: 'ProductOptionGroup'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + translations: Array<{ + __typename?: 'ProductOptionGroupTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + variants: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + name: string; + sku: string; + price: number; + priceWithTax: number; + currencyCode: CurrencyCode; + stockOnHand: number; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + code: string; + groupId: string; + }>; + }>; + } | null; +}; export type AssignProductsToChannelMutationVariables = Exact<{ - input: AssignProductsToChannelInput; + input: AssignProductsToChannelInput; }>; - -export type AssignProductsToChannelMutation = { assignProductsToChannel: Array<{ __typename?: 'Product', id: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> }; +export type AssignProductsToChannelMutation = { + assignProductsToChannel: Array<{ + __typename?: 'Product'; + id: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }>; +}; export type AssignVariantsToChannelMutationVariables = Exact<{ - input: AssignProductVariantsToChannelInput; + input: AssignProductVariantsToChannelInput; }>; - -export type AssignVariantsToChannelMutation = { assignProductVariantsToChannel: Array<{ __typename?: 'ProductVariant', id: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> }; +export type AssignVariantsToChannelMutation = { + assignProductVariantsToChannel: Array<{ + __typename?: 'ProductVariant'; + id: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }>; +}; export type RemoveProductsFromChannelMutationVariables = Exact<{ - input: RemoveProductsFromChannelInput; + input: RemoveProductsFromChannelInput; }>; - -export type RemoveProductsFromChannelMutation = { removeProductsFromChannel: Array<{ __typename?: 'Product', id: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> }; +export type RemoveProductsFromChannelMutation = { + removeProductsFromChannel: Array<{ + __typename?: 'Product'; + id: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }>; +}; export type RemoveVariantsFromChannelMutationVariables = Exact<{ - input: RemoveProductVariantsFromChannelInput; + input: RemoveProductVariantsFromChannelInput; }>; - -export type RemoveVariantsFromChannelMutation = { removeProductVariantsFromChannel: Array<{ __typename?: 'ProductVariant', id: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> }; +export type RemoveVariantsFromChannelMutation = { + removeProductVariantsFromChannel: Array<{ + __typename?: 'ProductVariant'; + id: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }>; +}; export type GetProductVariantQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetProductVariantQuery = { productVariant?: { __typename?: 'ProductVariant', id: string, name: string, sku: string, stockOnHand: number, stockAllocated: number, stockLevel: string, useGlobalOutOfStockThreshold: boolean, price: number, priceWithTax: number, featuredAsset?: { __typename?: 'Asset', id: string, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, product: { __typename?: 'Product', id: string, featuredAsset?: { __typename?: 'Asset', id: string, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null } } | null }; +export type GetProductVariantQuery = { + productVariant?: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + stockOnHand: number; + stockAllocated: number; + stockLevel: string; + useGlobalOutOfStockThreshold: boolean; + price: number; + priceWithTax: number; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + product: { + __typename?: 'Product'; + id: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + }; + } | null; +}; export type GetProductVariantListSimpleQueryVariables = Exact<{ - options: ProductVariantListOptions; - productId?: InputMaybe; + options: ProductVariantListOptions; + productId?: InputMaybe; }>; - -export type GetProductVariantListSimpleQuery = { productVariants: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, name: string, sku: string, featuredAsset?: { __typename?: 'Asset', id: string, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, product: { __typename?: 'Product', id: string, featuredAsset?: { __typename?: 'Asset', id: string, preview: string, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null } }> } }; +export type GetProductVariantListSimpleQuery = { + productVariants: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + product: { + __typename?: 'Product'; + id: string; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + preview: string; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + }; + }>; + }; +}; export type GetProductVariantListForProductQueryVariables = Exact<{ - options: ProductVariantListOptions; - productId?: InputMaybe; + options: ProductVariantListOptions; + productId?: InputMaybe; }>; - -export type GetProductVariantListForProductQuery = { productVariants: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, stockOnHand: number, stockAllocated: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, taxRateApplied: { __typename?: 'TaxRate', id: string, name: string, value: number }, taxCategory: { __typename?: 'TaxCategory', id: string, name: string }, options: Array<{ __typename?: 'ProductOption', id: string, createdAt: any, updatedAt: any, code: string, languageCode: LanguageCode, name: string, groupId: string, translations: Array<{ __typename?: 'ProductOptionTranslation', id: string, languageCode: LanguageCode, name: string }> }>, facetValues: Array<{ __typename?: 'FacetValue', id: string, code: string, name: string, facet: { __typename?: 'Facet', id: string, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null, assets: Array<{ __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null }>, translations: Array<{ __typename?: 'ProductVariantTranslation', id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> } }; +export type GetProductVariantListForProductQuery = { + productVariants: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + stockOnHand: number; + stockAllocated: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + taxRateApplied: { __typename?: 'TaxRate'; id: string; name: string; value: number }; + taxCategory: { __typename?: 'TaxCategory'; id: string; name: string }; + options: Array<{ + __typename?: 'ProductOption'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + languageCode: LanguageCode; + name: string; + groupId: string; + translations: Array<{ + __typename?: 'ProductOptionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }>; + facetValues: Array<{ + __typename?: 'FacetValue'; + id: string; + code: string; + name: string; + facet: { __typename?: 'Facet'; id: string; name: string }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + assets: Array<{ + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + }>; + translations: Array<{ + __typename?: 'ProductVariantTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }>; + }; +}; export type GetProductVariantListQueryVariables = Exact<{ - options: ProductVariantListOptions; + options: ProductVariantListOptions; }>; - -export type GetProductVariantListQuery = { productVariants: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, stockLevels: Array<{ __typename?: 'StockLevel', id: string, createdAt: any, updatedAt: any, stockLocationId: string, stockOnHand: number, stockAllocated: number, stockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }> } }; +export type GetProductVariantListQuery = { + productVariants: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + stockLevels: Array<{ + __typename?: 'StockLevel'; + id: string; + createdAt: any; + updatedAt: any; + stockLocationId: string; + stockOnHand: number; + stockAllocated: number; + stockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + }>; + }; +}; export type GetTagListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetTagListQuery = { tags: { __typename?: 'TagList', totalItems: number, items: Array<{ __typename?: 'Tag', id: string, value: string }> } }; +export type GetTagListQuery = { + tags: { + __typename?: 'TagList'; + totalItems: number; + items: Array<{ __typename?: 'Tag'; id: string; value: string }>; + }; +}; export type GetTagQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetTagQuery = { tag: { __typename?: 'Tag', id: string, value: string } }; +export type GetTagQuery = { tag: { __typename?: 'Tag'; id: string; value: string } }; export type CreateTagMutationVariables = Exact<{ - input: CreateTagInput; + input: CreateTagInput; }>; - -export type CreateTagMutation = { createTag: { __typename?: 'Tag', id: string, value: string } }; +export type CreateTagMutation = { createTag: { __typename?: 'Tag'; id: string; value: string } }; export type UpdateTagMutationVariables = Exact<{ - input: UpdateTagInput; + input: UpdateTagInput; }>; - -export type UpdateTagMutation = { updateTag: { __typename?: 'Tag', id: string, value: string } }; +export type UpdateTagMutation = { updateTag: { __typename?: 'Tag'; id: string; value: string } }; export type DeleteTagMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteTagMutation = { deleteTag: { __typename?: 'DeletionResponse', message?: string | null, result: DeletionResult } }; - -export type PromotionFragment = { __typename?: 'Promotion', id: string, createdAt: any, updatedAt: any, name: string, description: string, enabled: boolean, couponCode?: string | null, perCustomerUsageLimit?: number | null, usageLimit?: number | null, startsAt?: any | null, endsAt?: any | null, conditions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, actions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'PromotionTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> }; - -export type GetAdjustmentOperationsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetAdjustmentOperationsQuery = { promotionConditions: Array<{ __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }>, promotionActions: Array<{ __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }> }; +export type DeleteTagMutation = { + deleteTag: { __typename?: 'DeletionResponse'; message?: string | null; result: DeletionResult }; +}; + +export type PromotionFragment = { + __typename?: 'Promotion'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + enabled: boolean; + couponCode?: string | null; + perCustomerUsageLimit?: number | null; + usageLimit?: number | null; + startsAt?: any | null; + endsAt?: any | null; + conditions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + actions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'PromotionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; +}; + +export type GetAdjustmentOperationsQueryVariables = Exact<{ [key: string]: never }>; + +export type GetAdjustmentOperationsQuery = { + promotionConditions: Array<{ + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; + }>; + promotionActions: Array<{ + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; + }>; +}; export type CreatePromotionMutationVariables = Exact<{ - input: CreatePromotionInput; + input: CreatePromotionInput; }>; - -export type CreatePromotionMutation = { createPromotion: { __typename?: 'MissingConditionsError', errorCode: ErrorCode, message: string } | { __typename?: 'Promotion', id: string, createdAt: any, updatedAt: any, name: string, description: string, enabled: boolean, couponCode?: string | null, perCustomerUsageLimit?: number | null, usageLimit?: number | null, startsAt?: any | null, endsAt?: any | null, conditions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, actions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'PromotionTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> } }; +export type CreatePromotionMutation = { + createPromotion: + | { __typename?: 'MissingConditionsError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'Promotion'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + enabled: boolean; + couponCode?: string | null; + perCustomerUsageLimit?: number | null; + usageLimit?: number | null; + startsAt?: any | null; + endsAt?: any | null; + conditions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + actions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'PromotionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + }; +}; export type UpdatePromotionMutationVariables = Exact<{ - input: UpdatePromotionInput; + input: UpdatePromotionInput; }>; - -export type UpdatePromotionMutation = { updatePromotion: { __typename?: 'MissingConditionsError' } | { __typename?: 'Promotion', id: string, createdAt: any, updatedAt: any, name: string, description: string, enabled: boolean, couponCode?: string | null, perCustomerUsageLimit?: number | null, usageLimit?: number | null, startsAt?: any | null, endsAt?: any | null, conditions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, actions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'PromotionTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> } }; +export type UpdatePromotionMutation = { + updatePromotion: + | { __typename?: 'MissingConditionsError' } + | { + __typename?: 'Promotion'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + enabled: boolean; + couponCode?: string | null; + perCustomerUsageLimit?: number | null; + usageLimit?: number | null; + startsAt?: any | null; + endsAt?: any | null; + conditions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + actions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'PromotionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + }; +}; export type DeletePromotionMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeletePromotionMutation = { deletePromotion: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeletePromotionMutation = { + deletePromotion: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeletePromotionsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; +export type DeletePromotionsMutation = { + deletePromotions: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; -export type DeletePromotionsMutation = { deletePromotions: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; - -export type CountryFragment = { __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> }; - -export type GetAvailableCountriesQueryVariables = Exact<{ [key: string]: never; }>; +export type CountryFragment = { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; +}; +export type GetAvailableCountriesQueryVariables = Exact<{ [key: string]: never }>; -export type GetAvailableCountriesQuery = { countries: { __typename?: 'CountryList', items: Array<{ __typename?: 'Country', id: string, code: string, name: string, enabled: boolean }> } }; +export type GetAvailableCountriesQuery = { + countries: { + __typename?: 'CountryList'; + items: Array<{ __typename?: 'Country'; id: string; code: string; name: string; enabled: boolean }>; + }; +}; export type CreateCountryMutationVariables = Exact<{ - input: CreateCountryInput; + input: CreateCountryInput; }>; - -export type CreateCountryMutation = { createCountry: { __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } }; +export type CreateCountryMutation = { + createCountry: { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }; +}; export type UpdateCountryMutationVariables = Exact<{ - input: UpdateCountryInput; + input: UpdateCountryInput; }>; - -export type UpdateCountryMutation = { updateCountry: { __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } }; +export type UpdateCountryMutation = { + updateCountry: { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + }; +}; export type DeleteCountryMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteCountryMutation = { deleteCountry: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteCountryMutation = { + deleteCountry: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteCountriesMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteCountriesMutation = { deleteCountries: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; - -export type ZoneFragment = { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string, members: Array<{ __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } | { __typename?: 'Province' }> }; +export type DeleteCountriesMutation = { + deleteCountries: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; + +export type ZoneFragment = { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + members: Array< + | { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + } + | { __typename?: 'Province' } + >; +}; export type GetZoneQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetZoneQuery = { zone?: { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string, members: Array<{ __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } | { __typename?: 'Province' }> } | null }; +export type GetZoneQuery = { + zone?: { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + members: Array< + | { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + } + | { __typename?: 'Province' } + >; + } | null; +}; export type CreateZoneMutationVariables = Exact<{ - input: CreateZoneInput; + input: CreateZoneInput; }>; - -export type CreateZoneMutation = { createZone: { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string, members: Array<{ __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } | { __typename?: 'Province' }> } }; +export type CreateZoneMutation = { + createZone: { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + members: Array< + | { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + } + | { __typename?: 'Province' } + >; + }; +}; export type UpdateZoneMutationVariables = Exact<{ - input: UpdateZoneInput; + input: UpdateZoneInput; }>; - -export type UpdateZoneMutation = { updateZone: { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string, members: Array<{ __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } | { __typename?: 'Province' }> } }; +export type UpdateZoneMutation = { + updateZone: { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + members: Array< + | { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + } + | { __typename?: 'Province' } + >; + }; +}; export type DeleteZoneMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteZoneMutation = { deleteZone: { __typename?: 'DeletionResponse', message?: string | null, result: DeletionResult } }; +export type DeleteZoneMutation = { + deleteZone: { __typename?: 'DeletionResponse'; message?: string | null; result: DeletionResult }; +}; export type DeleteZonesMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteZonesMutation = { deleteZones: Array<{ __typename?: 'DeletionResponse', message?: string | null, result: DeletionResult }> }; +export type DeleteZonesMutation = { + deleteZones: Array<{ __typename?: 'DeletionResponse'; message?: string | null; result: DeletionResult }>; +}; export type AddMembersToZoneMutationVariables = Exact<{ - zoneId: Scalars['ID']['input']; - memberIds: Array | Scalars['ID']['input']; + zoneId: Scalars['ID']['input']; + memberIds: Array | Scalars['ID']['input']; }>; - -export type AddMembersToZoneMutation = { addMembersToZone: { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string, members: Array<{ __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } | { __typename?: 'Province' }> } }; +export type AddMembersToZoneMutation = { + addMembersToZone: { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + members: Array< + | { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + } + | { __typename?: 'Province' } + >; + }; +}; export type RemoveMembersFromZoneMutationVariables = Exact<{ - zoneId: Scalars['ID']['input']; - memberIds: Array | Scalars['ID']['input']; + zoneId: Scalars['ID']['input']; + memberIds: Array | Scalars['ID']['input']; }>; - -export type RemoveMembersFromZoneMutation = { removeMembersFromZone: { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string, members: Array<{ __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } | { __typename?: 'Province' }> } }; - -export type TaxCategoryFragment = { __typename?: 'TaxCategory', id: string, createdAt: any, updatedAt: any, name: string, isDefault: boolean }; +export type RemoveMembersFromZoneMutation = { + removeMembersFromZone: { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + members: Array< + | { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + } + | { __typename?: 'Province' } + >; + }; +}; + +export type TaxCategoryFragment = { + __typename?: 'TaxCategory'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + isDefault: boolean; +}; export type GetTaxCategoriesQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetTaxCategoriesQuery = { taxCategories: { __typename?: 'TaxCategoryList', totalItems: number, items: Array<{ __typename?: 'TaxCategory', id: string, createdAt: any, updatedAt: any, name: string, isDefault: boolean }> } }; +export type GetTaxCategoriesQuery = { + taxCategories: { + __typename?: 'TaxCategoryList'; + totalItems: number; + items: Array<{ + __typename?: 'TaxCategory'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + isDefault: boolean; + }>; + }; +}; export type CreateTaxCategoryMutationVariables = Exact<{ - input: CreateTaxCategoryInput; + input: CreateTaxCategoryInput; }>; - -export type CreateTaxCategoryMutation = { createTaxCategory: { __typename?: 'TaxCategory', id: string, createdAt: any, updatedAt: any, name: string, isDefault: boolean } }; +export type CreateTaxCategoryMutation = { + createTaxCategory: { + __typename?: 'TaxCategory'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + isDefault: boolean; + }; +}; export type UpdateTaxCategoryMutationVariables = Exact<{ - input: UpdateTaxCategoryInput; + input: UpdateTaxCategoryInput; }>; - -export type UpdateTaxCategoryMutation = { updateTaxCategory: { __typename?: 'TaxCategory', id: string, createdAt: any, updatedAt: any, name: string, isDefault: boolean } }; +export type UpdateTaxCategoryMutation = { + updateTaxCategory: { + __typename?: 'TaxCategory'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + isDefault: boolean; + }; +}; export type DeleteTaxCategoryMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteTaxCategoryMutation = { deleteTaxCategory: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteTaxCategoryMutation = { + deleteTaxCategory: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteTaxCategoriesMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; +export type DeleteTaxCategoriesMutation = { + deleteTaxCategories: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; -export type DeleteTaxCategoriesMutation = { deleteTaxCategories: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; - -export type TaxRateFragment = { __typename?: 'TaxRate', id: string, createdAt: any, updatedAt: any, name: string, enabled: boolean, value: number, category: { __typename?: 'TaxCategory', id: string, name: string }, zone: { __typename?: 'Zone', id: string, name: string }, customerGroup?: { __typename?: 'CustomerGroup', id: string, name: string } | null }; +export type TaxRateFragment = { + __typename?: 'TaxRate'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + enabled: boolean; + value: number; + category: { __typename?: 'TaxCategory'; id: string; name: string }; + zone: { __typename?: 'Zone'; id: string; name: string }; + customerGroup?: { __typename?: 'CustomerGroup'; id: string; name: string } | null; +}; export type GetTaxRateListSimpleQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetTaxRateListSimpleQuery = { taxRates: { __typename?: 'TaxRateList', totalItems: number, items: Array<{ __typename?: 'TaxRate', id: string, createdAt: any, updatedAt: any, name: string, enabled: boolean, value: number, category: { __typename?: 'TaxCategory', id: string, name: string }, zone: { __typename?: 'Zone', id: string, name: string } }> } }; +export type GetTaxRateListSimpleQuery = { + taxRates: { + __typename?: 'TaxRateList'; + totalItems: number; + items: Array<{ + __typename?: 'TaxRate'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + enabled: boolean; + value: number; + category: { __typename?: 'TaxCategory'; id: string; name: string }; + zone: { __typename?: 'Zone'; id: string; name: string }; + }>; + }; +}; export type CreateTaxRateMutationVariables = Exact<{ - input: CreateTaxRateInput; + input: CreateTaxRateInput; }>; - -export type CreateTaxRateMutation = { createTaxRate: { __typename?: 'TaxRate', id: string, createdAt: any, updatedAt: any, name: string, enabled: boolean, value: number, category: { __typename?: 'TaxCategory', id: string, name: string }, zone: { __typename?: 'Zone', id: string, name: string }, customerGroup?: { __typename?: 'CustomerGroup', id: string, name: string } | null } }; +export type CreateTaxRateMutation = { + createTaxRate: { + __typename?: 'TaxRate'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + enabled: boolean; + value: number; + category: { __typename?: 'TaxCategory'; id: string; name: string }; + zone: { __typename?: 'Zone'; id: string; name: string }; + customerGroup?: { __typename?: 'CustomerGroup'; id: string; name: string } | null; + }; +}; export type UpdateTaxRateMutationVariables = Exact<{ - input: UpdateTaxRateInput; + input: UpdateTaxRateInput; }>; - -export type UpdateTaxRateMutation = { updateTaxRate: { __typename?: 'TaxRate', id: string, createdAt: any, updatedAt: any, name: string, enabled: boolean, value: number, category: { __typename?: 'TaxCategory', id: string, name: string }, zone: { __typename?: 'Zone', id: string, name: string }, customerGroup?: { __typename?: 'CustomerGroup', id: string, name: string } | null } }; +export type UpdateTaxRateMutation = { + updateTaxRate: { + __typename?: 'TaxRate'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + enabled: boolean; + value: number; + category: { __typename?: 'TaxCategory'; id: string; name: string }; + zone: { __typename?: 'Zone'; id: string; name: string }; + customerGroup?: { __typename?: 'CustomerGroup'; id: string; name: string } | null; + }; +}; export type DeleteTaxRateMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteTaxRateMutation = { deleteTaxRate: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteTaxRateMutation = { + deleteTaxRate: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteTaxRatesMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteTaxRatesMutation = { deleteTaxRates: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; - -export type ChannelFragment = { __typename?: 'Channel', id: string, createdAt: any, updatedAt: any, code: string, token: string, pricesIncludeTax: boolean, availableCurrencyCodes: Array, availableLanguageCodes?: Array | null, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, defaultShippingZone?: { __typename?: 'Zone', id: string, name: string } | null, defaultTaxZone?: { __typename?: 'Zone', id: string, name: string } | null, seller?: { __typename?: 'Seller', id: string, name: string } | null }; - -export type SellerFragment = { __typename?: 'Seller', id: string, createdAt: any, updatedAt: any, name: string }; +export type DeleteTaxRatesMutation = { + deleteTaxRates: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; + +export type ChannelFragment = { + __typename?: 'Channel'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + token: string; + pricesIncludeTax: boolean; + availableCurrencyCodes: Array; + availableLanguageCodes?: Array | null; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: { __typename?: 'Zone'; id: string; name: string } | null; + defaultTaxZone?: { __typename?: 'Zone'; id: string; name: string } | null; + seller?: { __typename?: 'Seller'; id: string; name: string } | null; +}; + +export type SellerFragment = { + __typename?: 'Seller'; + id: string; + createdAt: any; + updatedAt: any; + name: string; +}; export type GetChannelsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetChannelsQuery = { channels: { __typename?: 'ChannelList', totalItems: number, items: Array<{ __typename?: 'Channel', id: string, createdAt: any, updatedAt: any, code: string, token: string, pricesIncludeTax: boolean, availableCurrencyCodes: Array, availableLanguageCodes?: Array | null, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, defaultShippingZone?: { __typename?: 'Zone', id: string, name: string } | null, defaultTaxZone?: { __typename?: 'Zone', id: string, name: string } | null, seller?: { __typename?: 'Seller', id: string, name: string } | null }> } }; +export type GetChannelsQuery = { + channels: { + __typename?: 'ChannelList'; + totalItems: number; + items: Array<{ + __typename?: 'Channel'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + token: string; + pricesIncludeTax: boolean; + availableCurrencyCodes: Array; + availableLanguageCodes?: Array | null; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: { __typename?: 'Zone'; id: string; name: string } | null; + defaultTaxZone?: { __typename?: 'Zone'; id: string; name: string } | null; + seller?: { __typename?: 'Seller'; id: string; name: string } | null; + }>; + }; +}; export type GetSellersQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetSellersQuery = { sellers: { __typename?: 'SellerList', totalItems: number, items: Array<{ __typename?: 'Seller', id: string, createdAt: any, updatedAt: any, name: string }> } }; +export type GetSellersQuery = { + sellers: { + __typename?: 'SellerList'; + totalItems: number; + items: Array<{ __typename?: 'Seller'; id: string; createdAt: any; updatedAt: any; name: string }>; + }; +}; export type CreateSellerMutationVariables = Exact<{ - input: CreateSellerInput; + input: CreateSellerInput; }>; - -export type CreateSellerMutation = { createSeller: { __typename?: 'Seller', id: string, createdAt: any, updatedAt: any, name: string } }; +export type CreateSellerMutation = { + createSeller: { __typename?: 'Seller'; id: string; createdAt: any; updatedAt: any; name: string }; +}; export type UpdateSellerMutationVariables = Exact<{ - input: UpdateSellerInput; + input: UpdateSellerInput; }>; - -export type UpdateSellerMutation = { updateSeller: { __typename?: 'Seller', id: string, createdAt: any, updatedAt: any, name: string } }; +export type UpdateSellerMutation = { + updateSeller: { __typename?: 'Seller'; id: string; createdAt: any; updatedAt: any; name: string }; +}; export type DeleteSellerMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteSellerMutation = { deleteSeller: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteSellerMutation = { + deleteSeller: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteSellersMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteSellersMutation = { deleteSellers: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; - -export type GetActiveChannelQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetActiveChannelQuery = { activeChannel: { __typename?: 'Channel', id: string, createdAt: any, updatedAt: any, code: string, token: string, pricesIncludeTax: boolean, availableCurrencyCodes: Array, availableLanguageCodes?: Array | null, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, defaultShippingZone?: { __typename?: 'Zone', id: string, name: string } | null, defaultTaxZone?: { __typename?: 'Zone', id: string, name: string } | null, seller?: { __typename?: 'Seller', id: string, name: string } | null } }; +export type DeleteSellersMutation = { + deleteSellers: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; + +export type GetActiveChannelQueryVariables = Exact<{ [key: string]: never }>; + +export type GetActiveChannelQuery = { + activeChannel: { + __typename?: 'Channel'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + token: string; + pricesIncludeTax: boolean; + availableCurrencyCodes: Array; + availableLanguageCodes?: Array | null; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: { __typename?: 'Zone'; id: string; name: string } | null; + defaultTaxZone?: { __typename?: 'Zone'; id: string; name: string } | null; + seller?: { __typename?: 'Seller'; id: string; name: string } | null; + }; +}; export type CreateChannelMutationVariables = Exact<{ - input: CreateChannelInput; + input: CreateChannelInput; }>; - -export type CreateChannelMutation = { createChannel: { __typename?: 'Channel', id: string, createdAt: any, updatedAt: any, code: string, token: string, pricesIncludeTax: boolean, availableCurrencyCodes: Array, availableLanguageCodes?: Array | null, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, defaultShippingZone?: { __typename?: 'Zone', id: string, name: string } | null, defaultTaxZone?: { __typename?: 'Zone', id: string, name: string } | null, seller?: { __typename?: 'Seller', id: string, name: string } | null } | { __typename?: 'LanguageNotAvailableError', errorCode: ErrorCode, message: string } }; +export type CreateChannelMutation = { + createChannel: + | { + __typename?: 'Channel'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + token: string; + pricesIncludeTax: boolean; + availableCurrencyCodes: Array; + availableLanguageCodes?: Array | null; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: { __typename?: 'Zone'; id: string; name: string } | null; + defaultTaxZone?: { __typename?: 'Zone'; id: string; name: string } | null; + seller?: { __typename?: 'Seller'; id: string; name: string } | null; + } + | { __typename?: 'LanguageNotAvailableError'; errorCode: ErrorCode; message: string }; +}; export type UpdateChannelMutationVariables = Exact<{ - input: UpdateChannelInput; + input: UpdateChannelInput; }>; - -export type UpdateChannelMutation = { updateChannel: { __typename?: 'Channel', id: string, createdAt: any, updatedAt: any, code: string, token: string, pricesIncludeTax: boolean, availableCurrencyCodes: Array, availableLanguageCodes?: Array | null, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, defaultShippingZone?: { __typename?: 'Zone', id: string, name: string } | null, defaultTaxZone?: { __typename?: 'Zone', id: string, name: string } | null, seller?: { __typename?: 'Seller', id: string, name: string } | null } | { __typename?: 'LanguageNotAvailableError', errorCode: ErrorCode, message: string } }; +export type UpdateChannelMutation = { + updateChannel: + | { + __typename?: 'Channel'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + token: string; + pricesIncludeTax: boolean; + availableCurrencyCodes: Array; + availableLanguageCodes?: Array | null; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: { __typename?: 'Zone'; id: string; name: string } | null; + defaultTaxZone?: { __typename?: 'Zone'; id: string; name: string } | null; + seller?: { __typename?: 'Seller'; id: string; name: string } | null; + } + | { __typename?: 'LanguageNotAvailableError'; errorCode: ErrorCode; message: string }; +}; export type DeleteChannelMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteChannelMutation = { deleteChannel: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteChannelMutation = { + deleteChannel: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeleteChannelsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteChannelsMutation = { deleteChannels: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; - -export type PaymentMethodFragment = { __typename?: 'PaymentMethod', id: string, createdAt: any, updatedAt: any, name: string, code: string, description: string, enabled: boolean, translations: Array<{ __typename?: 'PaymentMethodTranslation', id: string, languageCode: LanguageCode, name: string, description: string }>, checker?: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> } | null, handler: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> } }; - -export type GetPaymentMethodOperationsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetPaymentMethodOperationsQuery = { paymentMethodEligibilityCheckers: Array<{ __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }>, paymentMethodHandlers: Array<{ __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }> }; +export type DeleteChannelsMutation = { + deleteChannels: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; + +export type PaymentMethodFragment = { + __typename?: 'PaymentMethod'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + code: string; + description: string; + enabled: boolean; + translations: Array<{ + __typename?: 'PaymentMethodTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + checker?: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + } | null; + handler: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; +}; + +export type GetPaymentMethodOperationsQueryVariables = Exact<{ [key: string]: never }>; + +export type GetPaymentMethodOperationsQuery = { + paymentMethodEligibilityCheckers: Array<{ + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; + }>; + paymentMethodHandlers: Array<{ + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; + }>; +}; export type CreatePaymentMethodMutationVariables = Exact<{ - input: CreatePaymentMethodInput; + input: CreatePaymentMethodInput; }>; - -export type CreatePaymentMethodMutation = { createPaymentMethod: { __typename?: 'PaymentMethod', id: string, createdAt: any, updatedAt: any, name: string, code: string, description: string, enabled: boolean, translations: Array<{ __typename?: 'PaymentMethodTranslation', id: string, languageCode: LanguageCode, name: string, description: string }>, checker?: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> } | null, handler: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> } } }; +export type CreatePaymentMethodMutation = { + createPaymentMethod: { + __typename?: 'PaymentMethod'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + code: string; + description: string; + enabled: boolean; + translations: Array<{ + __typename?: 'PaymentMethodTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + checker?: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + } | null; + handler: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + }; +}; export type UpdatePaymentMethodMutationVariables = Exact<{ - input: UpdatePaymentMethodInput; + input: UpdatePaymentMethodInput; }>; - -export type UpdatePaymentMethodMutation = { updatePaymentMethod: { __typename?: 'PaymentMethod', id: string, createdAt: any, updatedAt: any, name: string, code: string, description: string, enabled: boolean, translations: Array<{ __typename?: 'PaymentMethodTranslation', id: string, languageCode: LanguageCode, name: string, description: string }>, checker?: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> } | null, handler: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> } } }; +export type UpdatePaymentMethodMutation = { + updatePaymentMethod: { + __typename?: 'PaymentMethod'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + code: string; + description: string; + enabled: boolean; + translations: Array<{ + __typename?: 'PaymentMethodTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + checker?: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + } | null; + handler: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + }; +}; export type DeletePaymentMethodMutationVariables = Exact<{ - id: Scalars['ID']['input']; - force?: InputMaybe; + id: Scalars['ID']['input']; + force?: InputMaybe; }>; - -export type DeletePaymentMethodMutation = { deletePaymentMethod: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeletePaymentMethodMutation = { + deletePaymentMethod: { __typename?: 'DeletionResponse'; result: DeletionResult; message?: string | null }; +}; export type DeletePaymentMethodsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; - force?: InputMaybe; + ids: Array | Scalars['ID']['input']; + force?: InputMaybe; }>; - -export type DeletePaymentMethodsMutation = { deletePaymentMethods: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; - -export type GlobalSettingsFragment = { __typename?: 'GlobalSettings', id: string, availableLanguages: Array, trackInventory: boolean, outOfStockThreshold: number, serverConfig: { __typename?: 'ServerConfig', permissions: Array<{ __typename?: 'PermissionDefinition', name: string, description: string, assignable: boolean }>, orderProcess: Array<{ __typename?: 'OrderProcessState', name: string }> } }; - -export type GetGlobalSettingsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetGlobalSettingsQuery = { globalSettings: { __typename?: 'GlobalSettings', id: string, availableLanguages: Array, trackInventory: boolean, outOfStockThreshold: number, serverConfig: { __typename?: 'ServerConfig', permissions: Array<{ __typename?: 'PermissionDefinition', name: string, description: string, assignable: boolean }>, orderProcess: Array<{ __typename?: 'OrderProcessState', name: string }> } } }; +export type DeletePaymentMethodsMutation = { + deletePaymentMethods: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; + +export type GlobalSettingsFragment = { + __typename?: 'GlobalSettings'; + id: string; + availableLanguages: Array; + trackInventory: boolean; + outOfStockThreshold: number; + serverConfig: { + __typename?: 'ServerConfig'; + permissions: Array<{ + __typename?: 'PermissionDefinition'; + name: string; + description: string; + assignable: boolean; + }>; + orderProcess: Array<{ __typename?: 'OrderProcessState'; name: string }>; + }; +}; + +export type GetGlobalSettingsQueryVariables = Exact<{ [key: string]: never }>; + +export type GetGlobalSettingsQuery = { + globalSettings: { + __typename?: 'GlobalSettings'; + id: string; + availableLanguages: Array; + trackInventory: boolean; + outOfStockThreshold: number; + serverConfig: { + __typename?: 'ServerConfig'; + permissions: Array<{ + __typename?: 'PermissionDefinition'; + name: string; + description: string; + assignable: boolean; + }>; + orderProcess: Array<{ __typename?: 'OrderProcessState'; name: string }>; + }; + }; +}; export type UpdateGlobalSettingsMutationVariables = Exact<{ - input: UpdateGlobalSettingsInput; + input: UpdateGlobalSettingsInput; }>; - -export type UpdateGlobalSettingsMutation = { updateGlobalSettings: { __typename?: 'ChannelDefaultLanguageError', errorCode: ErrorCode, message: string } | { __typename?: 'GlobalSettings', id: string, availableLanguages: Array, trackInventory: boolean, outOfStockThreshold: number, serverConfig: { __typename?: 'ServerConfig', permissions: Array<{ __typename?: 'PermissionDefinition', name: string, description: string, assignable: boolean }>, orderProcess: Array<{ __typename?: 'OrderProcessState', name: string }> } } }; - -type CustomFieldConfig_BooleanCustomFieldConfig_Fragment = { __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFieldConfig_DateTimeCustomFieldConfig_Fragment = { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFieldConfig_FloatCustomFieldConfig_Fragment = { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFieldConfig_IntCustomFieldConfig_Fragment = { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFieldConfig_LocaleStringCustomFieldConfig_Fragment = { __typename?: 'LocaleStringCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFieldConfig_LocaleTextCustomFieldConfig_Fragment = { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFieldConfig_RelationCustomFieldConfig_Fragment = { __typename?: 'RelationCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFieldConfig_StringCustomFieldConfig_Fragment = { __typename?: 'StringCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFieldConfig_TextCustomFieldConfig_Fragment = { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type CustomFieldConfigFragment = CustomFieldConfig_BooleanCustomFieldConfig_Fragment | CustomFieldConfig_DateTimeCustomFieldConfig_Fragment | CustomFieldConfig_FloatCustomFieldConfig_Fragment | CustomFieldConfig_IntCustomFieldConfig_Fragment | CustomFieldConfig_LocaleStringCustomFieldConfig_Fragment | CustomFieldConfig_LocaleTextCustomFieldConfig_Fragment | CustomFieldConfig_RelationCustomFieldConfig_Fragment | CustomFieldConfig_StringCustomFieldConfig_Fragment | CustomFieldConfig_TextCustomFieldConfig_Fragment; - -export type StringCustomFieldFragment = { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type LocaleStringCustomFieldFragment = { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type TextCustomFieldFragment = { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type LocaleTextCustomFieldFragment = { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type BooleanCustomFieldFragment = { __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type IntCustomFieldFragment = { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type FloatCustomFieldFragment = { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type DateTimeCustomFieldFragment = { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type RelationCustomFieldFragment = { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_BooleanCustomFieldConfig_Fragment = { __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_DateTimeCustomFieldConfig_Fragment = { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_FloatCustomFieldConfig_Fragment = { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_IntCustomFieldConfig_Fragment = { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_LocaleStringCustomFieldConfig_Fragment = { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_LocaleTextCustomFieldConfig_Fragment = { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_RelationCustomFieldConfig_Fragment = { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_StringCustomFieldConfig_Fragment = { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -type CustomFields_TextCustomFieldConfig_Fragment = { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }; - -export type CustomFieldsFragment = CustomFields_BooleanCustomFieldConfig_Fragment | CustomFields_DateTimeCustomFieldConfig_Fragment | CustomFields_FloatCustomFieldConfig_Fragment | CustomFields_IntCustomFieldConfig_Fragment | CustomFields_LocaleStringCustomFieldConfig_Fragment | CustomFields_LocaleTextCustomFieldConfig_Fragment | CustomFields_RelationCustomFieldConfig_Fragment | CustomFields_StringCustomFieldConfig_Fragment | CustomFields_TextCustomFieldConfig_Fragment; - -export type GetServerConfigQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetServerConfigQuery = { globalSettings: { __typename?: 'GlobalSettings', id: string, serverConfig: { __typename?: 'ServerConfig', permittedAssetTypes: Array, orderProcess: Array<{ __typename?: 'OrderProcessState', name: string, to: Array }>, permissions: Array<{ __typename?: 'PermissionDefinition', name: string, description: string, assignable: boolean }>, customFieldConfig: { __typename?: 'CustomFields', Address: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Administrator: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Asset: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Channel: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Collection: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Customer: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, CustomerGroup: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Facet: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, FacetValue: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Fulfillment: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, GlobalSettings: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Order: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, OrderLine: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, PaymentMethod: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Product: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, ProductOption: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, ProductOptionGroup: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, ProductVariant: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Promotion: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Region: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Seller: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, ShippingMethod: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, StockLocation: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, TaxCategory: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, TaxRate: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, User: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }>, Zone: Array<{ __typename?: 'BooleanCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'DateTimeCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, datetimeMin?: string | null, datetimeMax?: string | null, datetimeStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'FloatCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, floatMin?: number | null, floatMax?: number | null, floatStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'IntCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, intMin?: number | null, intMax?: number | null, intStep?: number | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleStringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'LocaleTextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'RelationCustomFieldConfig', entity: string, scalarFields: Array, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'StringCustomFieldConfig', pattern?: string | null, name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, options?: Array<{ __typename?: 'StringFieldOption', value: string, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null } | { __typename?: 'TextCustomFieldConfig', name: string, type: string, list: boolean, readonly?: boolean | null, nullable?: boolean | null, ui?: any | null, description?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null, label?: Array<{ __typename?: 'LocalizedString', languageCode: LanguageCode, value: string }> | null }> } } } }; - -export type JobInfoFragment = { __typename?: 'Job', id: string, createdAt: any, startedAt?: any | null, settledAt?: any | null, queueName: string, state: JobState, isSettled: boolean, progress: number, duration: number, data?: any | null, result?: any | null, error?: any | null, retries: number, attempts: number }; +export type UpdateGlobalSettingsMutation = { + updateGlobalSettings: + | { __typename?: 'ChannelDefaultLanguageError'; errorCode: ErrorCode; message: string } + | { + __typename?: 'GlobalSettings'; + id: string; + availableLanguages: Array; + trackInventory: boolean; + outOfStockThreshold: number; + serverConfig: { + __typename?: 'ServerConfig'; + permissions: Array<{ + __typename?: 'PermissionDefinition'; + name: string; + description: string; + assignable: boolean; + }>; + orderProcess: Array<{ __typename?: 'OrderProcessState'; name: string }>; + }; + }; +}; + +type CustomFieldConfig_BooleanCustomFieldConfig_Fragment = { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFieldConfig_DateTimeCustomFieldConfig_Fragment = { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFieldConfig_FloatCustomFieldConfig_Fragment = { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFieldConfig_IntCustomFieldConfig_Fragment = { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFieldConfig_LocaleStringCustomFieldConfig_Fragment = { + __typename?: 'LocaleStringCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFieldConfig_LocaleTextCustomFieldConfig_Fragment = { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFieldConfig_RelationCustomFieldConfig_Fragment = { + __typename?: 'RelationCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFieldConfig_StringCustomFieldConfig_Fragment = { + __typename?: 'StringCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFieldConfig_TextCustomFieldConfig_Fragment = { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type CustomFieldConfigFragment = + | CustomFieldConfig_BooleanCustomFieldConfig_Fragment + | CustomFieldConfig_DateTimeCustomFieldConfig_Fragment + | CustomFieldConfig_FloatCustomFieldConfig_Fragment + | CustomFieldConfig_IntCustomFieldConfig_Fragment + | CustomFieldConfig_LocaleStringCustomFieldConfig_Fragment + | CustomFieldConfig_LocaleTextCustomFieldConfig_Fragment + | CustomFieldConfig_RelationCustomFieldConfig_Fragment + | CustomFieldConfig_StringCustomFieldConfig_Fragment + | CustomFieldConfig_TextCustomFieldConfig_Fragment; + +export type StringCustomFieldFragment = { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + }> | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type LocaleStringCustomFieldFragment = { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type TextCustomFieldFragment = { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type LocaleTextCustomFieldFragment = { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type BooleanCustomFieldFragment = { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type IntCustomFieldFragment = { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type FloatCustomFieldFragment = { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type DateTimeCustomFieldFragment = { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type RelationCustomFieldFragment = { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_BooleanCustomFieldConfig_Fragment = { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_DateTimeCustomFieldConfig_Fragment = { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_FloatCustomFieldConfig_Fragment = { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_IntCustomFieldConfig_Fragment = { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_LocaleStringCustomFieldConfig_Fragment = { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_LocaleTextCustomFieldConfig_Fragment = { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_RelationCustomFieldConfig_Fragment = { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_StringCustomFieldConfig_Fragment = { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + }> | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +type CustomFields_TextCustomFieldConfig_Fragment = { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; + label?: Array<{ __typename?: 'LocalizedString'; languageCode: LanguageCode; value: string }> | null; +}; + +export type CustomFieldsFragment = + | CustomFields_BooleanCustomFieldConfig_Fragment + | CustomFields_DateTimeCustomFieldConfig_Fragment + | CustomFields_FloatCustomFieldConfig_Fragment + | CustomFields_IntCustomFieldConfig_Fragment + | CustomFields_LocaleStringCustomFieldConfig_Fragment + | CustomFields_LocaleTextCustomFieldConfig_Fragment + | CustomFields_RelationCustomFieldConfig_Fragment + | CustomFields_StringCustomFieldConfig_Fragment + | CustomFields_TextCustomFieldConfig_Fragment; + +export type GetServerConfigQueryVariables = Exact<{ [key: string]: never }>; + +export type GetServerConfigQuery = { + globalSettings: { + __typename?: 'GlobalSettings'; + id: string; + serverConfig: { + __typename?: 'ServerConfig'; + permittedAssetTypes: Array; + orderProcess: Array<{ __typename?: 'OrderProcessState'; name: string; to: Array }>; + permissions: Array<{ + __typename?: 'PermissionDefinition'; + name: string; + description: string; + assignable: boolean; + }>; + customFieldConfig: { + __typename?: 'CustomFields'; + Address: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Administrator: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Asset: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Channel: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Collection: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Customer: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + CustomerGroup: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Facet: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + FacetValue: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Fulfillment: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + GlobalSettings: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Order: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + OrderLine: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + PaymentMethod: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Product: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + ProductOption: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + ProductOptionGroup: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + ProductVariant: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Promotion: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Region: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Seller: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + ShippingMethod: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + StockLocation: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + TaxCategory: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + TaxRate: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + User: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + Zone: Array< + | { + __typename?: 'BooleanCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'DateTimeCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + datetimeMin?: string | null; + datetimeMax?: string | null; + datetimeStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'FloatCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + floatMin?: number | null; + floatMax?: number | null; + floatStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'IntCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + intMin?: number | null; + intMax?: number | null; + intStep?: number | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleStringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'LocaleTextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'RelationCustomFieldConfig'; + entity: string; + scalarFields: Array; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'StringCustomFieldConfig'; + pattern?: string | null; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + options?: Array<{ + __typename?: 'StringFieldOption'; + value: string; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + }> | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + | { + __typename?: 'TextCustomFieldConfig'; + name: string; + type: string; + list: boolean; + readonly?: boolean | null; + nullable?: boolean | null; + ui?: any | null; + description?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + label?: Array<{ + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: string; + }> | null; + } + >; + }; + }; + }; +}; + +export type JobInfoFragment = { + __typename?: 'Job'; + id: string; + createdAt: any; + startedAt?: any | null; + settledAt?: any | null; + queueName: string; + state: JobState; + isSettled: boolean; + progress: number; + duration: number; + data?: any | null; + result?: any | null; + error?: any | null; + retries: number; + attempts: number; +}; export type GetJobInfoQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetJobInfoQuery = { job?: { __typename?: 'Job', id: string, createdAt: any, startedAt?: any | null, settledAt?: any | null, queueName: string, state: JobState, isSettled: boolean, progress: number, duration: number, data?: any | null, result?: any | null, error?: any | null, retries: number, attempts: number } | null }; +export type GetJobInfoQuery = { + job?: { + __typename?: 'Job'; + id: string; + createdAt: any; + startedAt?: any | null; + settledAt?: any | null; + queueName: string; + state: JobState; + isSettled: boolean; + progress: number; + duration: number; + data?: any | null; + result?: any | null; + error?: any | null; + retries: number; + attempts: number; + } | null; +}; export type GetAllJobsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetAllJobsQuery = { jobs: { __typename?: 'JobList', totalItems: number, items: Array<{ __typename?: 'Job', id: string, createdAt: any, startedAt?: any | null, settledAt?: any | null, queueName: string, state: JobState, isSettled: boolean, progress: number, duration: number, data?: any | null, result?: any | null, error?: any | null, retries: number, attempts: number }> } }; +export type GetAllJobsQuery = { + jobs: { + __typename?: 'JobList'; + totalItems: number; + items: Array<{ + __typename?: 'Job'; + id: string; + createdAt: any; + startedAt?: any | null; + settledAt?: any | null; + queueName: string; + state: JobState; + isSettled: boolean; + progress: number; + duration: number; + data?: any | null; + result?: any | null; + error?: any | null; + retries: number; + attempts: number; + }>; + }; +}; export type GetJobsByIdQueryVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; +export type GetJobsByIdQuery = { + jobsById: Array<{ + __typename?: 'Job'; + id: string; + createdAt: any; + startedAt?: any | null; + settledAt?: any | null; + queueName: string; + state: JobState; + isSettled: boolean; + progress: number; + duration: number; + data?: any | null; + result?: any | null; + error?: any | null; + retries: number; + attempts: number; + }>; +}; -export type GetJobsByIdQuery = { jobsById: Array<{ __typename?: 'Job', id: string, createdAt: any, startedAt?: any | null, settledAt?: any | null, queueName: string, state: JobState, isSettled: boolean, progress: number, duration: number, data?: any | null, result?: any | null, error?: any | null, retries: number, attempts: number }> }; - -export type GetJobQueueListQueryVariables = Exact<{ [key: string]: never; }>; - +export type GetJobQueueListQueryVariables = Exact<{ [key: string]: never }>; -export type GetJobQueueListQuery = { jobQueues: Array<{ __typename?: 'JobQueue', name: string, running: boolean }> }; +export type GetJobQueueListQuery = { + jobQueues: Array<{ __typename?: 'JobQueue'; name: string; running: boolean }>; +}; export type CancelJobMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type CancelJobMutation = { cancelJob: { __typename?: 'Job', id: string, createdAt: any, startedAt?: any | null, settledAt?: any | null, queueName: string, state: JobState, isSettled: boolean, progress: number, duration: number, data?: any | null, result?: any | null, error?: any | null, retries: number, attempts: number } }; - -export type ReindexMutationVariables = Exact<{ [key: string]: never; }>; - - -export type ReindexMutation = { reindex: { __typename?: 'Job', id: string, createdAt: any, startedAt?: any | null, settledAt?: any | null, queueName: string, state: JobState, isSettled: boolean, progress: number, duration: number, data?: any | null, result?: any | null, error?: any | null, retries: number, attempts: number } }; - -export type GetPendingSearchIndexUpdatesQueryVariables = Exact<{ [key: string]: never; }>; - +export type CancelJobMutation = { + cancelJob: { + __typename?: 'Job'; + id: string; + createdAt: any; + startedAt?: any | null; + settledAt?: any | null; + queueName: string; + state: JobState; + isSettled: boolean; + progress: number; + duration: number; + data?: any | null; + result?: any | null; + error?: any | null; + retries: number; + attempts: number; + }; +}; + +export type ReindexMutationVariables = Exact<{ [key: string]: never }>; + +export type ReindexMutation = { + reindex: { + __typename?: 'Job'; + id: string; + createdAt: any; + startedAt?: any | null; + settledAt?: any | null; + queueName: string; + state: JobState; + isSettled: boolean; + progress: number; + duration: number; + data?: any | null; + result?: any | null; + error?: any | null; + retries: number; + attempts: number; + }; +}; + +export type GetPendingSearchIndexUpdatesQueryVariables = Exact<{ [key: string]: never }>; export type GetPendingSearchIndexUpdatesQuery = { pendingSearchIndexUpdates: number }; -export type RunPendingSearchIndexUpdatesMutationVariables = Exact<{ [key: string]: never; }>; - +export type RunPendingSearchIndexUpdatesMutationVariables = Exact<{ [key: string]: never }>; -export type RunPendingSearchIndexUpdatesMutation = { runPendingSearchIndexUpdates: { __typename?: 'Success', success: boolean } }; - -export type ConfigurableOperationFragment = { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }; - -export type ConfigurableOperationDefFragment = { __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }; - -type ErrorResult_AlreadyRefundedError_Fragment = { __typename?: 'AlreadyRefundedError', errorCode: ErrorCode, message: string }; - -type ErrorResult_CancelActiveOrderError_Fragment = { __typename?: 'CancelActiveOrderError', errorCode: ErrorCode, message: string }; - -type ErrorResult_CancelPaymentError_Fragment = { __typename?: 'CancelPaymentError', errorCode: ErrorCode, message: string }; - -type ErrorResult_ChannelDefaultLanguageError_Fragment = { __typename?: 'ChannelDefaultLanguageError', errorCode: ErrorCode, message: string }; - -type ErrorResult_CouponCodeExpiredError_Fragment = { __typename?: 'CouponCodeExpiredError', errorCode: ErrorCode, message: string }; - -type ErrorResult_CouponCodeInvalidError_Fragment = { __typename?: 'CouponCodeInvalidError', errorCode: ErrorCode, message: string }; - -type ErrorResult_CouponCodeLimitError_Fragment = { __typename?: 'CouponCodeLimitError', errorCode: ErrorCode, message: string }; - -type ErrorResult_CreateFulfillmentError_Fragment = { __typename?: 'CreateFulfillmentError', errorCode: ErrorCode, message: string }; - -type ErrorResult_EmailAddressConflictError_Fragment = { __typename?: 'EmailAddressConflictError', errorCode: ErrorCode, message: string }; - -type ErrorResult_EmptyOrderLineSelectionError_Fragment = { __typename?: 'EmptyOrderLineSelectionError', errorCode: ErrorCode, message: string }; +export type RunPendingSearchIndexUpdatesMutation = { + runPendingSearchIndexUpdates: { __typename?: 'Success'; success: boolean }; +}; -type ErrorResult_FacetInUseError_Fragment = { __typename?: 'FacetInUseError', errorCode: ErrorCode, message: string }; +export type ConfigurableOperationFragment = { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; +}; -type ErrorResult_FulfillmentStateTransitionError_Fragment = { __typename?: 'FulfillmentStateTransitionError', errorCode: ErrorCode, message: string }; +export type ConfigurableOperationDefFragment = { + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; +}; -type ErrorResult_GuestCheckoutError_Fragment = { __typename?: 'GuestCheckoutError', errorCode: ErrorCode, message: string }; +type ErrorResult_AlreadyRefundedError_Fragment = { + __typename?: 'AlreadyRefundedError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_IneligibleShippingMethodError_Fragment = { __typename?: 'IneligibleShippingMethodError', errorCode: ErrorCode, message: string }; +type ErrorResult_CancelActiveOrderError_Fragment = { + __typename?: 'CancelActiveOrderError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_InsufficientStockError_Fragment = { __typename?: 'InsufficientStockError', errorCode: ErrorCode, message: string }; +type ErrorResult_CancelPaymentError_Fragment = { + __typename?: 'CancelPaymentError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_InsufficientStockOnHandError_Fragment = { __typename?: 'InsufficientStockOnHandError', errorCode: ErrorCode, message: string }; +type ErrorResult_ChannelDefaultLanguageError_Fragment = { + __typename?: 'ChannelDefaultLanguageError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_InvalidCredentialsError_Fragment = { __typename?: 'InvalidCredentialsError', errorCode: ErrorCode, message: string }; +type ErrorResult_CouponCodeExpiredError_Fragment = { + __typename?: 'CouponCodeExpiredError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_InvalidFulfillmentHandlerError_Fragment = { __typename?: 'InvalidFulfillmentHandlerError', errorCode: ErrorCode, message: string }; +type ErrorResult_CouponCodeInvalidError_Fragment = { + __typename?: 'CouponCodeInvalidError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_ItemsAlreadyFulfilledError_Fragment = { __typename?: 'ItemsAlreadyFulfilledError', errorCode: ErrorCode, message: string }; +type ErrorResult_CouponCodeLimitError_Fragment = { + __typename?: 'CouponCodeLimitError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_LanguageNotAvailableError_Fragment = { __typename?: 'LanguageNotAvailableError', errorCode: ErrorCode, message: string }; +type ErrorResult_CreateFulfillmentError_Fragment = { + __typename?: 'CreateFulfillmentError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_ManualPaymentStateError_Fragment = { __typename?: 'ManualPaymentStateError', errorCode: ErrorCode, message: string }; +type ErrorResult_EmailAddressConflictError_Fragment = { + __typename?: 'EmailAddressConflictError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_MimeTypeError_Fragment = { __typename?: 'MimeTypeError', errorCode: ErrorCode, message: string }; +type ErrorResult_EmptyOrderLineSelectionError_Fragment = { + __typename?: 'EmptyOrderLineSelectionError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_MissingConditionsError_Fragment = { __typename?: 'MissingConditionsError', errorCode: ErrorCode, message: string }; +type ErrorResult_FacetInUseError_Fragment = { + __typename?: 'FacetInUseError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_MultipleOrderError_Fragment = { __typename?: 'MultipleOrderError', errorCode: ErrorCode, message: string }; +type ErrorResult_FulfillmentStateTransitionError_Fragment = { + __typename?: 'FulfillmentStateTransitionError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_NativeAuthStrategyError_Fragment = { __typename?: 'NativeAuthStrategyError', errorCode: ErrorCode, message: string }; +type ErrorResult_GuestCheckoutError_Fragment = { + __typename?: 'GuestCheckoutError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_NegativeQuantityError_Fragment = { __typename?: 'NegativeQuantityError', errorCode: ErrorCode, message: string }; +type ErrorResult_IneligibleShippingMethodError_Fragment = { + __typename?: 'IneligibleShippingMethodError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_NoActiveOrderError_Fragment = { __typename?: 'NoActiveOrderError', errorCode: ErrorCode, message: string }; +type ErrorResult_InsufficientStockError_Fragment = { + __typename?: 'InsufficientStockError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_NoChangesSpecifiedError_Fragment = { __typename?: 'NoChangesSpecifiedError', errorCode: ErrorCode, message: string }; +type ErrorResult_InsufficientStockOnHandError_Fragment = { + __typename?: 'InsufficientStockOnHandError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_NothingToRefundError_Fragment = { __typename?: 'NothingToRefundError', errorCode: ErrorCode, message: string }; +type ErrorResult_InvalidCredentialsError_Fragment = { + __typename?: 'InvalidCredentialsError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_OrderLimitError_Fragment = { __typename?: 'OrderLimitError', errorCode: ErrorCode, message: string }; +type ErrorResult_InvalidFulfillmentHandlerError_Fragment = { + __typename?: 'InvalidFulfillmentHandlerError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_OrderModificationError_Fragment = { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string }; +type ErrorResult_ItemsAlreadyFulfilledError_Fragment = { + __typename?: 'ItemsAlreadyFulfilledError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_OrderModificationStateError_Fragment = { __typename?: 'OrderModificationStateError', errorCode: ErrorCode, message: string }; +type ErrorResult_LanguageNotAvailableError_Fragment = { + __typename?: 'LanguageNotAvailableError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_OrderStateTransitionError_Fragment = { __typename?: 'OrderStateTransitionError', errorCode: ErrorCode, message: string }; +type ErrorResult_ManualPaymentStateError_Fragment = { + __typename?: 'ManualPaymentStateError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_PaymentMethodMissingError_Fragment = { __typename?: 'PaymentMethodMissingError', errorCode: ErrorCode, message: string }; +type ErrorResult_MimeTypeError_Fragment = { + __typename?: 'MimeTypeError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_PaymentOrderMismatchError_Fragment = { __typename?: 'PaymentOrderMismatchError', errorCode: ErrorCode, message: string }; +type ErrorResult_MissingConditionsError_Fragment = { + __typename?: 'MissingConditionsError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_PaymentStateTransitionError_Fragment = { __typename?: 'PaymentStateTransitionError', errorCode: ErrorCode, message: string }; +type ErrorResult_MultipleOrderError_Fragment = { + __typename?: 'MultipleOrderError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_ProductOptionInUseError_Fragment = { __typename?: 'ProductOptionInUseError', errorCode: ErrorCode, message: string }; +type ErrorResult_NativeAuthStrategyError_Fragment = { + __typename?: 'NativeAuthStrategyError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_QuantityTooGreatError_Fragment = { __typename?: 'QuantityTooGreatError', errorCode: ErrorCode, message: string }; +type ErrorResult_NegativeQuantityError_Fragment = { + __typename?: 'NegativeQuantityError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_RefundOrderStateError_Fragment = { __typename?: 'RefundOrderStateError', errorCode: ErrorCode, message: string }; +type ErrorResult_NoActiveOrderError_Fragment = { + __typename?: 'NoActiveOrderError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_RefundPaymentIdMissingError_Fragment = { __typename?: 'RefundPaymentIdMissingError', errorCode: ErrorCode, message: string }; +type ErrorResult_NoChangesSpecifiedError_Fragment = { + __typename?: 'NoChangesSpecifiedError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_RefundStateTransitionError_Fragment = { __typename?: 'RefundStateTransitionError', errorCode: ErrorCode, message: string }; +type ErrorResult_NothingToRefundError_Fragment = { + __typename?: 'NothingToRefundError'; + errorCode: ErrorCode; + message: string; +}; -type ErrorResult_SettlePaymentError_Fragment = { __typename?: 'SettlePaymentError', errorCode: ErrorCode, message: string }; +type ErrorResult_OrderLimitError_Fragment = { + __typename?: 'OrderLimitError'; + errorCode: ErrorCode; + message: string; +}; -export type ErrorResultFragment = ErrorResult_AlreadyRefundedError_Fragment | ErrorResult_CancelActiveOrderError_Fragment | ErrorResult_CancelPaymentError_Fragment | ErrorResult_ChannelDefaultLanguageError_Fragment | ErrorResult_CouponCodeExpiredError_Fragment | ErrorResult_CouponCodeInvalidError_Fragment | ErrorResult_CouponCodeLimitError_Fragment | ErrorResult_CreateFulfillmentError_Fragment | ErrorResult_EmailAddressConflictError_Fragment | ErrorResult_EmptyOrderLineSelectionError_Fragment | ErrorResult_FacetInUseError_Fragment | ErrorResult_FulfillmentStateTransitionError_Fragment | ErrorResult_GuestCheckoutError_Fragment | ErrorResult_IneligibleShippingMethodError_Fragment | ErrorResult_InsufficientStockError_Fragment | ErrorResult_InsufficientStockOnHandError_Fragment | ErrorResult_InvalidCredentialsError_Fragment | ErrorResult_InvalidFulfillmentHandlerError_Fragment | ErrorResult_ItemsAlreadyFulfilledError_Fragment | ErrorResult_LanguageNotAvailableError_Fragment | ErrorResult_ManualPaymentStateError_Fragment | ErrorResult_MimeTypeError_Fragment | ErrorResult_MissingConditionsError_Fragment | ErrorResult_MultipleOrderError_Fragment | ErrorResult_NativeAuthStrategyError_Fragment | ErrorResult_NegativeQuantityError_Fragment | ErrorResult_NoActiveOrderError_Fragment | ErrorResult_NoChangesSpecifiedError_Fragment | ErrorResult_NothingToRefundError_Fragment | ErrorResult_OrderLimitError_Fragment | ErrorResult_OrderModificationError_Fragment | ErrorResult_OrderModificationStateError_Fragment | ErrorResult_OrderStateTransitionError_Fragment | ErrorResult_PaymentMethodMissingError_Fragment | ErrorResult_PaymentOrderMismatchError_Fragment | ErrorResult_PaymentStateTransitionError_Fragment | ErrorResult_ProductOptionInUseError_Fragment | ErrorResult_QuantityTooGreatError_Fragment | ErrorResult_RefundOrderStateError_Fragment | ErrorResult_RefundPaymentIdMissingError_Fragment | ErrorResult_RefundStateTransitionError_Fragment | ErrorResult_SettlePaymentError_Fragment; +type ErrorResult_OrderModificationError_Fragment = { + __typename?: 'OrderModificationError'; + errorCode: ErrorCode; + message: string; +}; -export type ShippingMethodFragment = { __typename?: 'ShippingMethod', id: string, createdAt: any, updatedAt: any, code: string, name: string, description: string, fulfillmentHandlerCode: string, checker: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }, calculator: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }, translations: Array<{ __typename?: 'ShippingMethodTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> }; +type ErrorResult_OrderModificationStateError_Fragment = { + __typename?: 'OrderModificationStateError'; + errorCode: ErrorCode; + message: string; +}; -export type GetShippingMethodOperationsQueryVariables = Exact<{ [key: string]: never; }>; +type ErrorResult_OrderStateTransitionError_Fragment = { + __typename?: 'OrderStateTransitionError'; + errorCode: ErrorCode; + message: string; +}; +type ErrorResult_PaymentMethodMissingError_Fragment = { + __typename?: 'PaymentMethodMissingError'; + errorCode: ErrorCode; + message: string; +}; -export type GetShippingMethodOperationsQuery = { shippingEligibilityCheckers: Array<{ __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }>, shippingCalculators: Array<{ __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }>, fulfillmentHandlers: Array<{ __typename?: 'ConfigurableOperationDefinition', code: string, description: string, args: Array<{ __typename?: 'ConfigArgDefinition', name: string, type: string, required: boolean, defaultValue?: any | null, list: boolean, ui?: any | null, label?: string | null, description?: string | null }> }> }; +type ErrorResult_PaymentOrderMismatchError_Fragment = { + __typename?: 'PaymentOrderMismatchError'; + errorCode: ErrorCode; + message: string; +}; + +type ErrorResult_PaymentStateTransitionError_Fragment = { + __typename?: 'PaymentStateTransitionError'; + errorCode: ErrorCode; + message: string; +}; + +type ErrorResult_ProductOptionInUseError_Fragment = { + __typename?: 'ProductOptionInUseError'; + errorCode: ErrorCode; + message: string; +}; + +type ErrorResult_QuantityTooGreatError_Fragment = { + __typename?: 'QuantityTooGreatError'; + errorCode: ErrorCode; + message: string; +}; + +type ErrorResult_RefundOrderStateError_Fragment = { + __typename?: 'RefundOrderStateError'; + errorCode: ErrorCode; + message: string; +}; + +type ErrorResult_RefundPaymentIdMissingError_Fragment = { + __typename?: 'RefundPaymentIdMissingError'; + errorCode: ErrorCode; + message: string; +}; + +type ErrorResult_RefundStateTransitionError_Fragment = { + __typename?: 'RefundStateTransitionError'; + errorCode: ErrorCode; + message: string; +}; + +type ErrorResult_SettlePaymentError_Fragment = { + __typename?: 'SettlePaymentError'; + errorCode: ErrorCode; + message: string; +}; + +export type ErrorResultFragment = + | ErrorResult_AlreadyRefundedError_Fragment + | ErrorResult_CancelActiveOrderError_Fragment + | ErrorResult_CancelPaymentError_Fragment + | ErrorResult_ChannelDefaultLanguageError_Fragment + | ErrorResult_CouponCodeExpiredError_Fragment + | ErrorResult_CouponCodeInvalidError_Fragment + | ErrorResult_CouponCodeLimitError_Fragment + | ErrorResult_CreateFulfillmentError_Fragment + | ErrorResult_EmailAddressConflictError_Fragment + | ErrorResult_EmptyOrderLineSelectionError_Fragment + | ErrorResult_FacetInUseError_Fragment + | ErrorResult_FulfillmentStateTransitionError_Fragment + | ErrorResult_GuestCheckoutError_Fragment + | ErrorResult_IneligibleShippingMethodError_Fragment + | ErrorResult_InsufficientStockError_Fragment + | ErrorResult_InsufficientStockOnHandError_Fragment + | ErrorResult_InvalidCredentialsError_Fragment + | ErrorResult_InvalidFulfillmentHandlerError_Fragment + | ErrorResult_ItemsAlreadyFulfilledError_Fragment + | ErrorResult_LanguageNotAvailableError_Fragment + | ErrorResult_ManualPaymentStateError_Fragment + | ErrorResult_MimeTypeError_Fragment + | ErrorResult_MissingConditionsError_Fragment + | ErrorResult_MultipleOrderError_Fragment + | ErrorResult_NativeAuthStrategyError_Fragment + | ErrorResult_NegativeQuantityError_Fragment + | ErrorResult_NoActiveOrderError_Fragment + | ErrorResult_NoChangesSpecifiedError_Fragment + | ErrorResult_NothingToRefundError_Fragment + | ErrorResult_OrderLimitError_Fragment + | ErrorResult_OrderModificationError_Fragment + | ErrorResult_OrderModificationStateError_Fragment + | ErrorResult_OrderStateTransitionError_Fragment + | ErrorResult_PaymentMethodMissingError_Fragment + | ErrorResult_PaymentOrderMismatchError_Fragment + | ErrorResult_PaymentStateTransitionError_Fragment + | ErrorResult_ProductOptionInUseError_Fragment + | ErrorResult_QuantityTooGreatError_Fragment + | ErrorResult_RefundOrderStateError_Fragment + | ErrorResult_RefundPaymentIdMissingError_Fragment + | ErrorResult_RefundStateTransitionError_Fragment + | ErrorResult_SettlePaymentError_Fragment; + +export type ShippingMethodFragment = { + __typename?: 'ShippingMethod'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + description: string; + fulfillmentHandlerCode: string; + checker: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + calculator: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + translations: Array<{ + __typename?: 'ShippingMethodTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; +}; + +export type GetShippingMethodOperationsQueryVariables = Exact<{ [key: string]: never }>; + +export type GetShippingMethodOperationsQuery = { + shippingEligibilityCheckers: Array<{ + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; + }>; + shippingCalculators: Array<{ + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; + }>; + fulfillmentHandlers: Array<{ + __typename?: 'ConfigurableOperationDefinition'; + code: string; + description: string; + args: Array<{ + __typename?: 'ConfigArgDefinition'; + name: string; + type: string; + required: boolean; + defaultValue?: any | null; + list: boolean; + ui?: any | null; + label?: string | null; + description?: string | null; + }>; + }>; +}; export type CreateShippingMethodMutationVariables = Exact<{ - input: CreateShippingMethodInput; + input: CreateShippingMethodInput; }>; - -export type CreateShippingMethodMutation = { createShippingMethod: { __typename?: 'ShippingMethod', id: string, createdAt: any, updatedAt: any, code: string, name: string, description: string, fulfillmentHandlerCode: string, checker: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }, calculator: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }, translations: Array<{ __typename?: 'ShippingMethodTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> } }; +export type CreateShippingMethodMutation = { + createShippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + description: string; + fulfillmentHandlerCode: string; + checker: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + calculator: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + translations: Array<{ + __typename?: 'ShippingMethodTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + }; +}; export type UpdateShippingMethodMutationVariables = Exact<{ - input: UpdateShippingMethodInput; + input: UpdateShippingMethodInput; }>; - -export type UpdateShippingMethodMutation = { updateShippingMethod: { __typename?: 'ShippingMethod', id: string, createdAt: any, updatedAt: any, code: string, name: string, description: string, fulfillmentHandlerCode: string, checker: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }, calculator: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }, translations: Array<{ __typename?: 'ShippingMethodTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> } }; +export type UpdateShippingMethodMutation = { + updateShippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + description: string; + fulfillmentHandlerCode: string; + checker: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + calculator: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + translations: Array<{ + __typename?: 'ShippingMethodTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + }; +}; export type DeleteShippingMethodMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type DeleteShippingMethodMutation = { deleteShippingMethod: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } }; +export type DeleteShippingMethodMutation = { + deleteShippingMethod: { + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }; +}; export type DeleteShippingMethodsMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; - -export type DeleteShippingMethodsMutation = { deleteShippingMethods: Array<{ __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null }> }; +export type DeleteShippingMethodsMutation = { + deleteShippingMethods: Array<{ + __typename?: 'DeletionResponse'; + result: DeletionResult; + message?: string | null; + }>; +}; export type TestShippingMethodQueryVariables = Exact<{ - input: TestShippingMethodInput; + input: TestShippingMethodInput; }>; - -export type TestShippingMethodQuery = { testShippingMethod: { __typename?: 'TestShippingMethodResult', eligible: boolean, quote?: { __typename?: 'TestShippingMethodQuote', price: number, priceWithTax: number, metadata?: any | null } | null } }; +export type TestShippingMethodQuery = { + testShippingMethod: { + __typename?: 'TestShippingMethodResult'; + eligible: boolean; + quote?: { + __typename?: 'TestShippingMethodQuote'; + price: number; + priceWithTax: number; + metadata?: any | null; + } | null; + }; +}; export type TestEligibleShippingMethodsQueryVariables = Exact<{ - input: TestEligibleShippingMethodsInput; + input: TestEligibleShippingMethodsInput; }>; - -export type TestEligibleShippingMethodsQuery = { testEligibleShippingMethods: Array<{ __typename?: 'ShippingMethodQuote', id: string, name: string, code: string, description: string, price: number, priceWithTax: number, metadata?: any | null }> }; +export type TestEligibleShippingMethodsQuery = { + testEligibleShippingMethods: Array<{ + __typename?: 'ShippingMethodQuote'; + id: string; + name: string; + code: string; + description: string; + price: number; + priceWithTax: number; + metadata?: any | null; + }>; +}; export type AssetPreviewQueryQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type AssetPreviewQueryQuery = { asset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, tags: Array<{ __typename?: 'Tag', id: string, value: string }>, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }; +export type AssetPreviewQueryQuery = { + asset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + tags: Array<{ __typename?: 'Tag'; id: string; value: string }>; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; +}; export type GetProductVariantsForMultiSelectorQueryVariables = Exact<{ - options: ProductVariantListOptions; + options: ProductVariantListOptions; }>; - -export type GetProductVariantsForMultiSelectorQuery = { productVariants: { __typename?: 'ProductVariantList', totalItems: number, items: Array<{ __typename?: 'ProductVariant', id: string, createdAt: any, updatedAt: any, productId: string, enabled: boolean, languageCode: LanguageCode, name: string, price: number, currencyCode: CurrencyCode, priceWithTax: number, trackInventory: GlobalFlag, outOfStockThreshold: number, useGlobalOutOfStockThreshold: boolean, sku: string, stockLevels: Array<{ __typename?: 'StockLevel', id: string, createdAt: any, updatedAt: any, stockLocationId: string, stockOnHand: number, stockAllocated: number, stockLocation: { __typename?: 'StockLocation', id: string, createdAt: any, updatedAt: any, name: string } }>, featuredAsset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }> } }; +export type GetProductVariantsForMultiSelectorQuery = { + productVariants: { + __typename?: 'ProductVariantList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductVariant'; + id: string; + createdAt: any; + updatedAt: any; + productId: string; + enabled: boolean; + languageCode: LanguageCode; + name: string; + price: number; + currencyCode: CurrencyCode; + priceWithTax: number; + trackInventory: GlobalFlag; + outOfStockThreshold: number; + useGlobalOutOfStockThreshold: boolean; + sku: string; + stockLevels: Array<{ + __typename?: 'StockLevel'; + id: string; + createdAt: any; + updatedAt: any; + stockLocationId: string; + stockOnHand: number; + stockAllocated: number; + stockLocation: { + __typename?: 'StockLocation'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }; + }>; + featuredAsset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; + }>; + }; +}; export type GetZoneSelectorListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetZoneSelectorListQuery = { zones: { __typename?: 'ZoneList', totalItems: number, items: Array<{ __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string }> } }; +export type GetZoneSelectorListQuery = { + zones: { + __typename?: 'ZoneList'; + totalItems: number; + items: Array<{ __typename?: 'Zone'; id: string; createdAt: any; updatedAt: any; name: string }>; + }; +}; export type RelationAssetInputQueryQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type RelationAssetInputQueryQuery = { asset?: { __typename?: 'Asset', id: string, createdAt: any, updatedAt: any, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, width: number, height: number, tags: Array<{ __typename?: 'Tag', id: string, value: string }>, focalPoint?: { __typename?: 'Coordinate', x: number, y: number } | null } | null }; +export type RelationAssetInputQueryQuery = { + asset?: { + __typename?: 'Asset'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + fileSize: number; + mimeType: string; + type: AssetType; + preview: string; + source: string; + width: number; + height: number; + tags: Array<{ __typename?: 'Tag'; id: string; value: string }>; + focalPoint?: { __typename?: 'Coordinate'; x: number; y: number } | null; + } | null; +}; export type CustomerDetailQueryQueryVariables = Exact<{ - id: Scalars['ID']['input']; - orderListOptions?: InputMaybe; + id: Scalars['ID']['input']; + orderListOptions?: InputMaybe; }>; - -export type CustomerDetailQueryQuery = { customer?: { __typename?: 'Customer', id: string, createdAt: any, updatedAt: any, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, groups: Array<{ __typename?: 'CustomerGroup', id: string, name: string }>, orders: { __typename?: 'OrderList', totalItems: number, items: Array<{ __typename?: 'Order', id: string, code: string, type: OrderType, state: string, total: number, totalWithTax: number, currencyCode: CurrencyCode, createdAt: any, updatedAt: any, orderPlacedAt?: any | null }> }, user?: { __typename?: 'User', id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ __typename?: 'Address', id: string, createdAt: any, updatedAt: any, fullName?: string | null, company?: string | null, streetLine1: string, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, phoneNumber?: string | null, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { __typename?: 'Country', id: string, code: string, name: string } }> | null } | null }; +export type CustomerDetailQueryQuery = { + customer?: { + __typename?: 'Customer'; + id: string; + createdAt: any; + updatedAt: any; + title?: string | null; + firstName: string; + lastName: string; + phoneNumber?: string | null; + emailAddress: string; + groups: Array<{ __typename?: 'CustomerGroup'; id: string; name: string }>; + orders: { + __typename?: 'OrderList'; + totalItems: number; + items: Array<{ + __typename?: 'Order'; + id: string; + code: string; + type: OrderType; + state: string; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + createdAt: any; + updatedAt: any; + orderPlacedAt?: any | null; + }>; + }; + user?: { + __typename?: 'User'; + id: string; + identifier: string; + verified: boolean; + lastLogin?: any | null; + } | null; + addresses?: Array<{ + __typename?: 'Address'; + id: string; + createdAt: any; + updatedAt: any; + fullName?: string | null; + company?: string | null; + streetLine1: string; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + phoneNumber?: string | null; + defaultShippingAddress?: boolean | null; + defaultBillingAddress?: boolean | null; + country: { __typename?: 'Country'; id: string; code: string; name: string }; + }> | null; + } | null; +}; export type GetCustomerGroupDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; +export type GetCustomerGroupDetailQuery = { + customerGroup?: { + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + } | null; +}; -export type GetCustomerGroupDetailQuery = { customerGroup?: { __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string } | null }; - -export type CustomerGroupDetailFragment = { __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string }; +export type CustomerGroupDetailFragment = { + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; +}; export type GetCustomerGroupListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetCustomerGroupListQuery = { customerGroups: { __typename?: 'CustomerGroupList', totalItems: number, items: Array<{ __typename?: 'CustomerGroup', id: string, createdAt: any, updatedAt: any, name: string }> } }; +export type GetCustomerGroupListQuery = { + customerGroups: { + __typename?: 'CustomerGroupList'; + totalItems: number; + items: Array<{ + __typename?: 'CustomerGroup'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + }>; + }; +}; export type CustomerListQueryQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type CustomerListQueryQuery = { customers: { __typename?: 'CustomerList', totalItems: number, items: Array<{ __typename?: 'Customer', id: string, createdAt: any, updatedAt: any, title?: string | null, firstName: string, lastName: string, emailAddress: string, user?: { __typename?: 'User', id: string, verified: boolean } | null }> } }; - -export type CustomerListItemFragment = { __typename?: 'Customer', id: string, createdAt: any, updatedAt: any, title?: string | null, firstName: string, lastName: string, emailAddress: string, user?: { __typename?: 'User', id: string, verified: boolean } | null }; +export type CustomerListQueryQuery = { + customers: { + __typename?: 'CustomerList'; + totalItems: number; + items: Array<{ + __typename?: 'Customer'; + id: string; + createdAt: any; + updatedAt: any; + title?: string | null; + firstName: string; + lastName: string; + emailAddress: string; + user?: { __typename?: 'User'; id: string; verified: boolean } | null; + }>; + }; +}; + +export type CustomerListItemFragment = { + __typename?: 'Customer'; + id: string; + createdAt: any; + updatedAt: any; + title?: string | null; + firstName: string; + lastName: string; + emailAddress: string; + user?: { __typename?: 'User'; id: string; verified: boolean } | null; +}; export type GetLatestOrdersQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetLatestOrdersQuery = { orders: { __typename?: 'OrderList', items: Array<{ __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, orderPlacedAt?: any | null, code: string, state: string, total: number, totalWithTax: number, currencyCode: CurrencyCode, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null }> } }; +export type GetLatestOrdersQuery = { + orders: { + __typename?: 'OrderList'; + items: Array<{ + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + orderPlacedAt?: any | null; + code: string; + state: string; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + }>; + }; +}; export type GetOrderChartDataQueryVariables = Exact<{ - refresh?: InputMaybe; - types: Array | MetricType; + refresh?: InputMaybe; + types: Array | MetricType; }>; - -export type GetOrderChartDataQuery = { metricSummary: Array<{ __typename?: 'MetricSummary', interval: MetricInterval, type: MetricType, entries: Array<{ __typename?: 'MetricSummaryEntry', label: string, value: number }> }> }; +export type GetOrderChartDataQuery = { + metricSummary: Array<{ + __typename?: 'MetricSummary'; + interval: MetricInterval; + type: MetricType; + entries: Array<{ __typename?: 'MetricSummaryEntry'; label: string; value: number }>; + }>; +}; export type GetOrderSummaryQueryVariables = Exact<{ - start: Scalars['DateTime']['input']; - end: Scalars['DateTime']['input']; + start: Scalars['DateTime']['input']; + end: Scalars['DateTime']['input']; }>; - -export type GetOrderSummaryQuery = { orders: { __typename?: 'OrderList', totalItems: number, items: Array<{ __typename?: 'Order', id: string, totalWithTax: number, currencyCode: CurrencyCode }> } }; +export type GetOrderSummaryQuery = { + orders: { + __typename?: 'OrderList'; + totalItems: number; + items: Array<{ __typename?: 'Order'; id: string; totalWithTax: number; currencyCode: CurrencyCode }>; + }; +}; export type GetPromotionDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetPromotionDetailQuery = { promotion?: { __typename?: 'Promotion', id: string, createdAt: any, updatedAt: any, name: string, description: string, enabled: boolean, couponCode?: string | null, perCustomerUsageLimit?: number | null, usageLimit?: number | null, startsAt?: any | null, endsAt?: any | null, conditions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, actions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'PromotionTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> } | null }; +export type GetPromotionDetailQuery = { + promotion?: { + __typename?: 'Promotion'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + enabled: boolean; + couponCode?: string | null; + perCustomerUsageLimit?: number | null; + usageLimit?: number | null; + startsAt?: any | null; + endsAt?: any | null; + conditions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + actions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'PromotionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + } | null; +}; export type AssignPromotionsToChannelMutationVariables = Exact<{ - input: AssignPromotionsToChannelInput; + input: AssignPromotionsToChannelInput; }>; - -export type AssignPromotionsToChannelMutation = { assignPromotionsToChannel: Array<{ __typename?: 'Promotion', id: string, name: string }> }; +export type AssignPromotionsToChannelMutation = { + assignPromotionsToChannel: Array<{ __typename?: 'Promotion'; id: string; name: string }>; +}; export type RemovePromotionsFromChannelMutationVariables = Exact<{ - input: RemovePromotionsFromChannelInput; + input: RemovePromotionsFromChannelInput; }>; - -export type RemovePromotionsFromChannelMutation = { removePromotionsFromChannel: Array<{ __typename?: 'Promotion', id: string, name: string }> }; +export type RemovePromotionsFromChannelMutation = { + removePromotionsFromChannel: Array<{ __typename?: 'Promotion'; id: string; name: string }>; +}; export type GetPromotionListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetPromotionListQuery = { promotions: { __typename?: 'PromotionList', totalItems: number, items: Array<{ __typename?: 'Promotion', id: string, createdAt: any, updatedAt: any, name: string, description: string, enabled: boolean, couponCode?: string | null, perCustomerUsageLimit?: number | null, usageLimit?: number | null, startsAt?: any | null, endsAt?: any | null, conditions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, actions: Array<{ __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }>, translations: Array<{ __typename?: 'PromotionTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> }> } }; +export type GetPromotionListQuery = { + promotions: { + __typename?: 'PromotionList'; + totalItems: number; + items: Array<{ + __typename?: 'Promotion'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + enabled: boolean; + couponCode?: string | null; + perCustomerUsageLimit?: number | null; + usageLimit?: number | null; + startsAt?: any | null; + endsAt?: any | null; + conditions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + actions: Array<{ + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }>; + translations: Array<{ + __typename?: 'PromotionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + }>; + }; +}; export type GetAddManualPaymentMethodListQueryVariables = Exact<{ - options: PaymentMethodListOptions; + options: PaymentMethodListOptions; }>; - -export type GetAddManualPaymentMethodListQuery = { paymentMethods: { __typename?: 'PaymentMethodList', totalItems: number, items: Array<{ __typename?: 'PaymentMethod', id: string, createdAt: any, updatedAt: any, name: string, code: string, description: string, enabled: boolean }> } }; +export type GetAddManualPaymentMethodListQuery = { + paymentMethods: { + __typename?: 'PaymentMethodList'; + totalItems: number; + items: Array<{ + __typename?: 'PaymentMethod'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + code: string; + description: string; + enabled: boolean; + }>; + }; +}; export type GetCouponCodeSelectorPromotionListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetCouponCodeSelectorPromotionListQuery = { promotions: { __typename?: 'PromotionList', totalItems: number, items: Array<{ __typename?: 'Promotion', id: string, name: string, couponCode?: string | null }> } }; +export type GetCouponCodeSelectorPromotionListQuery = { + promotions: { + __typename?: 'PromotionList'; + totalItems: number; + items: Array<{ __typename?: 'Promotion'; id: string; name: string; couponCode?: string | null }>; + }; +}; export type OrderDetailQueryQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type OrderDetailQueryQuery = { order?: { __typename?: 'Order', id: string, createdAt: any, updatedAt: any, type: OrderType, code: string, state: string, nextStates: Array, active: boolean, couponCodes: Array, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, aggregateOrder?: { __typename?: 'Order', id: string, code: string } | null, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, channels: Array<{ __typename?: 'Channel', id: string, code: string }> }> | null, customer?: { __typename?: 'Customer', id: string, firstName: string, lastName: string } | null, lines: Array<{ __typename?: 'OrderLine', id: string, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, linePrice: number, lineTax: number, linePriceWithTax: number, discountedLinePrice: number, discountedLinePriceWithTax: number, featuredAsset?: { __typename?: 'Asset', preview: string } | null, productVariant: { __typename?: 'ProductVariant', id: string, name: string, sku: string, trackInventory: GlobalFlag, stockOnHand: number }, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, fulfillmentLines?: Array<{ __typename?: 'FulfillmentLine', fulfillmentId: string, quantity: number }> | null }>, surcharges: Array<{ __typename?: 'Surcharge', id: string, sku?: string | null, description: string, price: number, priceWithTax: number, taxRate: number }>, discounts: Array<{ __typename?: 'Discount', adjustmentSource: string, amount: number, amountWithTax: number, description: string, type: AdjustmentType }>, promotions: Array<{ __typename?: 'Promotion', id: string, couponCode?: string | null }>, shippingLines: Array<{ __typename?: 'ShippingLine', shippingMethod: { __typename?: 'ShippingMethod', id: string, code: string, name: string, fulfillmentHandlerCode: string, description: string } }>, taxSummary: Array<{ __typename?: 'OrderTaxSummary', description: string, taxBase: number, taxRate: number, taxTotal: number }>, shippingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, billingAddress?: { __typename?: 'OrderAddress', fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, countryCode?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ __typename?: 'Payment', id: string, createdAt: any, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ __typename?: 'Refund', id: string, createdAt: any, state: string, items: number, adjustment: number, total: number, paymentId: string, reason?: string | null, transactionId?: string | null, method?: string | null, metadata?: any | null, lines: Array<{ __typename?: 'RefundLine', orderLineId: string, quantity: number }> }> }> | null, fulfillments?: Array<{ __typename?: 'Fulfillment', id: string, state: string, nextStates: Array, createdAt: any, updatedAt: any, method: string, trackingCode?: string | null, lines: Array<{ __typename?: 'FulfillmentLine', orderLineId: string, quantity: number }> }> | null, modifications: Array<{ __typename?: 'OrderModification', id: string, createdAt: any, isSettled: boolean, priceChange: number, note: string, payment?: { __typename?: 'Payment', id: string, amount: number } | null, lines: Array<{ __typename?: 'OrderModificationLine', orderLineId: string, quantity: number }>, refund?: { __typename?: 'Refund', id: string, paymentId: string, total: number } | null, surcharges?: Array<{ __typename?: 'Surcharge', id: string }> | null }> } | null }; +export type OrderDetailQueryQuery = { + order?: { + __typename?: 'Order'; + id: string; + createdAt: any; + updatedAt: any; + type: OrderType; + code: string; + state: string; + nextStates: Array; + active: boolean; + couponCodes: Array; + subTotal: number; + subTotalWithTax: number; + total: number; + totalWithTax: number; + currencyCode: CurrencyCode; + shipping: number; + shippingWithTax: number; + aggregateOrder?: { __typename?: 'Order'; id: string; code: string } | null; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + channels: Array<{ __typename?: 'Channel'; id: string; code: string }>; + }> | null; + customer?: { __typename?: 'Customer'; id: string; firstName: string; lastName: string } | null; + lines: Array<{ + __typename?: 'OrderLine'; + id: string; + unitPrice: number; + unitPriceWithTax: number; + proratedUnitPrice: number; + proratedUnitPriceWithTax: number; + quantity: number; + linePrice: number; + lineTax: number; + linePriceWithTax: number; + discountedLinePrice: number; + discountedLinePriceWithTax: number; + featuredAsset?: { __typename?: 'Asset'; preview: string } | null; + productVariant: { + __typename?: 'ProductVariant'; + id: string; + name: string; + sku: string; + trackInventory: GlobalFlag; + stockOnHand: number; + }; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + fulfillmentLines?: Array<{ + __typename?: 'FulfillmentLine'; + fulfillmentId: string; + quantity: number; + }> | null; + }>; + surcharges: Array<{ + __typename?: 'Surcharge'; + id: string; + sku?: string | null; + description: string; + price: number; + priceWithTax: number; + taxRate: number; + }>; + discounts: Array<{ + __typename?: 'Discount'; + adjustmentSource: string; + amount: number; + amountWithTax: number; + description: string; + type: AdjustmentType; + }>; + promotions: Array<{ __typename?: 'Promotion'; id: string; couponCode?: string | null }>; + shippingLines: Array<{ + __typename?: 'ShippingLine'; + shippingMethod: { + __typename?: 'ShippingMethod'; + id: string; + code: string; + name: string; + fulfillmentHandlerCode: string; + description: string; + }; + }>; + taxSummary: Array<{ + __typename?: 'OrderTaxSummary'; + description: string; + taxBase: number; + taxRate: number; + taxTotal: number; + }>; + shippingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + billingAddress?: { + __typename?: 'OrderAddress'; + fullName?: string | null; + company?: string | null; + streetLine1?: string | null; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + country?: string | null; + countryCode?: string | null; + phoneNumber?: string | null; + } | null; + payments?: Array<{ + __typename?: 'Payment'; + id: string; + createdAt: any; + transactionId?: string | null; + amount: number; + method: string; + state: string; + nextStates: Array; + errorMessage?: string | null; + metadata?: any | null; + refunds: Array<{ + __typename?: 'Refund'; + id: string; + createdAt: any; + state: string; + items: number; + adjustment: number; + total: number; + paymentId: string; + reason?: string | null; + transactionId?: string | null; + method?: string | null; + metadata?: any | null; + lines: Array<{ __typename?: 'RefundLine'; orderLineId: string; quantity: number }>; + }>; + }> | null; + fulfillments?: Array<{ + __typename?: 'Fulfillment'; + id: string; + state: string; + nextStates: Array; + createdAt: any; + updatedAt: any; + method: string; + trackingCode?: string | null; + lines: Array<{ __typename?: 'FulfillmentLine'; orderLineId: string; quantity: number }>; + }> | null; + modifications: Array<{ + __typename?: 'OrderModification'; + id: string; + createdAt: any; + isSettled: boolean; + priceChange: number; + note: string; + payment?: { __typename?: 'Payment'; id: string; amount: number } | null; + lines: Array<{ __typename?: 'OrderModificationLine'; orderLineId: string; quantity: number }>; + refund?: { __typename?: 'Refund'; id: string; paymentId: string; total: number } | null; + surcharges?: Array<{ __typename?: 'Surcharge'; id: string }> | null; + }>; + } | null; +}; export type GetCustomerAddressesQueryVariables = Exact<{ - customerId: Scalars['ID']['input']; + customerId: Scalars['ID']['input']; }>; - -export type GetCustomerAddressesQuery = { customer?: { __typename?: 'Customer', id: string, addresses?: Array<{ __typename?: 'Address', id: string, createdAt: any, updatedAt: any, fullName?: string | null, company?: string | null, streetLine1: string, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, phoneNumber?: string | null, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { __typename?: 'Country', id: string, code: string, name: string } }> | null } | null }; +export type GetCustomerAddressesQuery = { + customer?: { + __typename?: 'Customer'; + id: string; + addresses?: Array<{ + __typename?: 'Address'; + id: string; + createdAt: any; + updatedAt: any; + fullName?: string | null; + company?: string | null; + streetLine1: string; + streetLine2?: string | null; + city?: string | null; + province?: string | null; + postalCode?: string | null; + phoneNumber?: string | null; + defaultShippingAddress?: boolean | null; + defaultBillingAddress?: boolean | null; + country: { __typename?: 'Country'; id: string; code: string; name: string }; + }> | null; + } | null; +}; export type GetSellerOrdersQueryVariables = Exact<{ - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }>; - -export type GetSellerOrdersQuery = { order?: { __typename?: 'Order', id: string, sellerOrders?: Array<{ __typename?: 'Order', id: string, code: string, state: string, orderPlacedAt?: any | null, currencyCode: CurrencyCode, totalWithTax: number, channels: Array<{ __typename?: 'Channel', id: string, code: string, seller?: { __typename?: 'Seller', id: string, name: string } | null }> }> | null } | null }; +export type GetSellerOrdersQuery = { + order?: { + __typename?: 'Order'; + id: string; + sellerOrders?: Array<{ + __typename?: 'Order'; + id: string; + code: string; + state: string; + orderPlacedAt?: any | null; + currencyCode: CurrencyCode; + totalWithTax: number; + channels: Array<{ + __typename?: 'Channel'; + id: string; + code: string; + seller?: { __typename?: 'Seller'; id: string; name: string } | null; + }>; + }> | null; + } | null; +}; export type GetZoneMembersQueryVariables = Exact<{ - zoneId: Scalars['ID']['input']; + zoneId: Scalars['ID']['input']; }>; - -export type GetZoneMembersQuery = { zone?: { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string, members: Array<{ __typename?: 'Country', createdAt: any, updatedAt: any, id: string, name: string, code: string, enabled: boolean } | { __typename?: 'Province', createdAt: any, updatedAt: any, id: string, name: string, code: string, enabled: boolean }> } | null }; +export type GetZoneMembersQuery = { + zone?: { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + members: Array< + | { + __typename?: 'Country'; + createdAt: any; + updatedAt: any; + id: string; + name: string; + code: string; + enabled: boolean; + } + | { + __typename?: 'Province'; + createdAt: any; + updatedAt: any; + id: string; + name: string; + code: string; + enabled: boolean; + } + >; + } | null; +}; export type GetAdministratorDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetAdministratorDetailQuery = { administrator?: { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } } | null }; +export type GetAdministratorDetailQuery = { + administrator?: { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; + } | null; +}; export type GetAdministratorListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetAdministratorListQuery = { administrators: { __typename?: 'AdministratorList', totalItems: number, items: Array<{ __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string }> } }> } }; - -export type AdministratorListItemFragment = { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, identifier: string, lastLogin?: any | null, roles: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string }> } }; +export type GetAdministratorListQuery = { + administrators: { + __typename?: 'AdministratorList'; + totalItems: number; + items: Array<{ + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + }>; + }; + }>; + }; +}; + +export type AdministratorListItemFragment = { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { + __typename?: 'User'; + id: string; + identifier: string; + lastLogin?: any | null; + roles: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + }>; + }; +}; export type GetChannelDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetChannelDetailQuery = { channel?: { __typename?: 'Channel', id: string, createdAt: any, updatedAt: any, code: string, token: string, pricesIncludeTax: boolean, availableCurrencyCodes: Array, availableLanguageCodes?: Array | null, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, defaultShippingZone?: { __typename?: 'Zone', id: string, name: string } | null, defaultTaxZone?: { __typename?: 'Zone', id: string, name: string } | null, seller?: { __typename?: 'Seller', id: string, name: string } | null } | null }; +export type GetChannelDetailQuery = { + channel?: { + __typename?: 'Channel'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + token: string; + pricesIncludeTax: boolean; + availableCurrencyCodes: Array; + availableLanguageCodes?: Array | null; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: { __typename?: 'Zone'; id: string; name: string } | null; + defaultTaxZone?: { __typename?: 'Zone'; id: string; name: string } | null; + seller?: { __typename?: 'Seller'; id: string; name: string } | null; + } | null; +}; export type GetChannelListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetChannelListQuery = { channels: { __typename?: 'ChannelList', totalItems: number, items: Array<{ __typename?: 'Channel', id: string, createdAt: any, updatedAt: any, code: string, token: string, pricesIncludeTax: boolean, availableCurrencyCodes: Array, availableLanguageCodes?: Array | null, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, defaultShippingZone?: { __typename?: 'Zone', id: string, name: string } | null, defaultTaxZone?: { __typename?: 'Zone', id: string, name: string } | null, seller?: { __typename?: 'Seller', id: string, name: string } | null }> } }; +export type GetChannelListQuery = { + channels: { + __typename?: 'ChannelList'; + totalItems: number; + items: Array<{ + __typename?: 'Channel'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + token: string; + pricesIncludeTax: boolean; + availableCurrencyCodes: Array; + availableLanguageCodes?: Array | null; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: { __typename?: 'Zone'; id: string; name: string } | null; + defaultTaxZone?: { __typename?: 'Zone'; id: string; name: string } | null; + seller?: { __typename?: 'Seller'; id: string; name: string } | null; + }>; + }; +}; export type GetCountryDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetCountryDetailQuery = { country?: { __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, enabled: boolean, translations: Array<{ __typename?: 'RegionTranslation', id: string, languageCode: LanguageCode, name: string }> } | null }; +export type GetCountryDetailQuery = { + country?: { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + enabled: boolean; + translations: Array<{ + __typename?: 'RegionTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + }>; + } | null; +}; export type GetCountryListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetCountryListQuery = { countries: { __typename?: 'CountryList', totalItems: number, items: Array<{ __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, type: string, enabled: boolean }> } }; - -export type CountryListItemFragment = { __typename?: 'Country', id: string, createdAt: any, updatedAt: any, code: string, name: string, type: string, enabled: boolean }; - -export type GetGlobalSettingsDetailQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetGlobalSettingsDetailQuery = { globalSettings: { __typename?: 'GlobalSettings', id: string, createdAt: any, updatedAt: any, availableLanguages: Array, trackInventory: boolean, outOfStockThreshold: number } }; - -export type GlobalSettingsDetailFragment = { __typename?: 'GlobalSettings', id: string, createdAt: any, updatedAt: any, availableLanguages: Array, trackInventory: boolean, outOfStockThreshold: number }; +export type GetCountryListQuery = { + countries: { + __typename?: 'CountryList'; + totalItems: number; + items: Array<{ + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + type: string; + enabled: boolean; + }>; + }; +}; + +export type CountryListItemFragment = { + __typename?: 'Country'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + type: string; + enabled: boolean; +}; + +export type GetGlobalSettingsDetailQueryVariables = Exact<{ [key: string]: never }>; + +export type GetGlobalSettingsDetailQuery = { + globalSettings: { + __typename?: 'GlobalSettings'; + id: string; + createdAt: any; + updatedAt: any; + availableLanguages: Array; + trackInventory: boolean; + outOfStockThreshold: number; + }; +}; + +export type GlobalSettingsDetailFragment = { + __typename?: 'GlobalSettings'; + id: string; + createdAt: any; + updatedAt: any; + availableLanguages: Array; + trackInventory: boolean; + outOfStockThreshold: number; +}; export type GetPaymentMethodDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetPaymentMethodDetailQuery = { paymentMethod?: { __typename?: 'PaymentMethod', id: string, createdAt: any, updatedAt: any, name: string, code: string, description: string, enabled: boolean, translations: Array<{ __typename?: 'PaymentMethodTranslation', id: string, languageCode: LanguageCode, name: string, description: string }>, checker?: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> } | null, handler: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> } } | null }; +export type GetPaymentMethodDetailQuery = { + paymentMethod?: { + __typename?: 'PaymentMethod'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + code: string; + description: string; + enabled: boolean; + translations: Array<{ + __typename?: 'PaymentMethodTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + checker?: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + } | null; + handler: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + } | null; +}; export type AssignPaymentMethodsToChannelMutationVariables = Exact<{ - input: AssignPaymentMethodsToChannelInput; + input: AssignPaymentMethodsToChannelInput; }>; - -export type AssignPaymentMethodsToChannelMutation = { assignPaymentMethodsToChannel: Array<{ __typename?: 'PaymentMethod', id: string, name: string }> }; +export type AssignPaymentMethodsToChannelMutation = { + assignPaymentMethodsToChannel: Array<{ __typename?: 'PaymentMethod'; id: string; name: string }>; +}; export type RemovePaymentMethodsFromChannelMutationVariables = Exact<{ - input: RemovePaymentMethodsFromChannelInput; + input: RemovePaymentMethodsFromChannelInput; }>; - -export type RemovePaymentMethodsFromChannelMutation = { removePaymentMethodsFromChannel: Array<{ __typename?: 'PaymentMethod', id: string, name: string }> }; +export type RemovePaymentMethodsFromChannelMutation = { + removePaymentMethodsFromChannel: Array<{ __typename?: 'PaymentMethod'; id: string; name: string }>; +}; export type GetPaymentMethodListQueryVariables = Exact<{ - options: PaymentMethodListOptions; + options: PaymentMethodListOptions; }>; - -export type GetPaymentMethodListQuery = { paymentMethods: { __typename?: 'PaymentMethodList', totalItems: number, items: Array<{ __typename?: 'PaymentMethod', id: string, createdAt: any, updatedAt: any, name: string, description: string, code: string, enabled: boolean }> } }; - -export type PaymentMethodListItemFragment = { __typename?: 'PaymentMethod', id: string, createdAt: any, updatedAt: any, name: string, description: string, code: string, enabled: boolean }; - -export type GetProfileDetailQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetProfileDetailQuery = { activeAdministrator?: { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, lastLogin?: any | null, verified: boolean } } | null }; - -export type ProfileDetailFragment = { __typename?: 'Administrator', id: string, createdAt: any, updatedAt: any, firstName: string, lastName: string, emailAddress: string, user: { __typename?: 'User', id: string, lastLogin?: any | null, verified: boolean } }; +export type GetPaymentMethodListQuery = { + paymentMethods: { + __typename?: 'PaymentMethodList'; + totalItems: number; + items: Array<{ + __typename?: 'PaymentMethod'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + code: string; + enabled: boolean; + }>; + }; +}; + +export type PaymentMethodListItemFragment = { + __typename?: 'PaymentMethod'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + description: string; + code: string; + enabled: boolean; +}; + +export type GetProfileDetailQueryVariables = Exact<{ [key: string]: never }>; + +export type GetProfileDetailQuery = { + activeAdministrator?: { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { __typename?: 'User'; id: string; lastLogin?: any | null; verified: boolean }; + } | null; +}; + +export type ProfileDetailFragment = { + __typename?: 'Administrator'; + id: string; + createdAt: any; + updatedAt: any; + firstName: string; + lastName: string; + emailAddress: string; + user: { __typename?: 'User'; id: string; lastLogin?: any | null; verified: boolean }; +}; export type GetRoleDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetRoleDetailQuery = { role?: { __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> } | null }; +export type GetRoleDetailQuery = { + role?: { + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + } | null; +}; export type GetRoleListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetRoleListQuery = { roles: { __typename?: 'RoleList', totalItems: number, items: Array<{ __typename?: 'Role', id: string, createdAt: any, updatedAt: any, code: string, description: string, permissions: Array, channels: Array<{ __typename?: 'Channel', id: string, code: string, token: string }> }> } }; +export type GetRoleListQuery = { + roles: { + __typename?: 'RoleList'; + totalItems: number; + items: Array<{ + __typename?: 'Role'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + description: string; + permissions: Array; + channels: Array<{ __typename?: 'Channel'; id: string; code: string; token: string }>; + }>; + }; +}; export type GetSellerDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; +export type GetSellerDetailQuery = { + seller?: { __typename?: 'Seller'; id: string; createdAt: any; updatedAt: any; name: string } | null; +}; -export type GetSellerDetailQuery = { seller?: { __typename?: 'Seller', id: string, createdAt: any, updatedAt: any, name: string } | null }; - -export type SellerDetailFragment = { __typename?: 'Seller', id: string, createdAt: any, updatedAt: any, name: string }; +export type SellerDetailFragment = { + __typename?: 'Seller'; + id: string; + createdAt: any; + updatedAt: any; + name: string; +}; export type GetSellerListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; +export type GetSellerListQuery = { + sellers: { + __typename?: 'SellerList'; + totalItems: number; + items: Array<{ __typename?: 'Seller'; id: string; createdAt: any; updatedAt: any; name: string }>; + }; +}; -export type GetSellerListQuery = { sellers: { __typename?: 'SellerList', totalItems: number, items: Array<{ __typename?: 'Seller', id: string, createdAt: any, updatedAt: any, name: string }> } }; - -export type SellerListItemFragment = { __typename?: 'Seller', id: string, createdAt: any, updatedAt: any, name: string }; +export type SellerListItemFragment = { + __typename?: 'Seller'; + id: string; + createdAt: any; + updatedAt: any; + name: string; +}; export type GetShippingMethodDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetShippingMethodDetailQuery = { shippingMethod?: { __typename?: 'ShippingMethod', id: string, createdAt: any, updatedAt: any, code: string, name: string, description: string, fulfillmentHandlerCode: string, checker: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }, calculator: { __typename?: 'ConfigurableOperation', code: string, args: Array<{ __typename?: 'ConfigArg', name: string, value: string }> }, translations: Array<{ __typename?: 'ShippingMethodTranslation', id: string, languageCode: LanguageCode, name: string, description: string }> } | null }; +export type GetShippingMethodDetailQuery = { + shippingMethod?: { + __typename?: 'ShippingMethod'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + description: string; + fulfillmentHandlerCode: string; + checker: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + calculator: { + __typename?: 'ConfigurableOperation'; + code: string; + args: Array<{ __typename?: 'ConfigArg'; name: string; value: string }>; + }; + translations: Array<{ + __typename?: 'ShippingMethodTranslation'; + id: string; + languageCode: LanguageCode; + name: string; + description: string; + }>; + } | null; +}; export type AssignShippingMethodsToChannelMutationVariables = Exact<{ - input: AssignShippingMethodsToChannelInput; + input: AssignShippingMethodsToChannelInput; }>; - -export type AssignShippingMethodsToChannelMutation = { assignShippingMethodsToChannel: Array<{ __typename?: 'ShippingMethod', id: string, name: string }> }; +export type AssignShippingMethodsToChannelMutation = { + assignShippingMethodsToChannel: Array<{ __typename?: 'ShippingMethod'; id: string; name: string }>; +}; export type RemoveShippingMethodsFromChannelMutationVariables = Exact<{ - input: RemoveShippingMethodsFromChannelInput; + input: RemoveShippingMethodsFromChannelInput; }>; - -export type RemoveShippingMethodsFromChannelMutation = { removeShippingMethodsFromChannel: Array<{ __typename?: 'ShippingMethod', id: string, name: string }> }; +export type RemoveShippingMethodsFromChannelMutation = { + removeShippingMethodsFromChannel: Array<{ __typename?: 'ShippingMethod'; id: string; name: string }>; +}; export type GetShippingMethodListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetShippingMethodListQuery = { shippingMethods: { __typename?: 'ShippingMethodList', totalItems: number, items: Array<{ __typename?: 'ShippingMethod', id: string, createdAt: any, updatedAt: any, code: string, name: string, description: string, fulfillmentHandlerCode: string }> } }; - -export type ShippingMethodListItemFragment = { __typename?: 'ShippingMethod', id: string, createdAt: any, updatedAt: any, code: string, name: string, description: string, fulfillmentHandlerCode: string }; +export type GetShippingMethodListQuery = { + shippingMethods: { + __typename?: 'ShippingMethodList'; + totalItems: number; + items: Array<{ + __typename?: 'ShippingMethod'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + description: string; + fulfillmentHandlerCode: string; + }>; + }; +}; + +export type ShippingMethodListItemFragment = { + __typename?: 'ShippingMethod'; + id: string; + createdAt: any; + updatedAt: any; + code: string; + name: string; + description: string; + fulfillmentHandlerCode: string; +}; export type GetTaxCategoryDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetTaxCategoryDetailQuery = { taxCategory?: { __typename?: 'TaxCategory', id: string, createdAt: any, updatedAt: any, name: string, isDefault: boolean } | null }; +export type GetTaxCategoryDetailQuery = { + taxCategory?: { + __typename?: 'TaxCategory'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + isDefault: boolean; + } | null; +}; export type GetTaxCategoryListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetTaxCategoryListQuery = { taxCategories: { __typename?: 'TaxCategoryList', totalItems: number, items: Array<{ __typename?: 'TaxCategory', id: string, createdAt: any, updatedAt: any, name: string, isDefault: boolean }> } }; +export type GetTaxCategoryListQuery = { + taxCategories: { + __typename?: 'TaxCategoryList'; + totalItems: number; + items: Array<{ + __typename?: 'TaxCategory'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + isDefault: boolean; + }>; + }; +}; export type GetTaxRateDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetTaxRateDetailQuery = { taxRate?: { __typename?: 'TaxRate', id: string, createdAt: any, updatedAt: any, name: string, enabled: boolean, value: number, category: { __typename?: 'TaxCategory', id: string, name: string }, zone: { __typename?: 'Zone', id: string, name: string }, customerGroup?: { __typename?: 'CustomerGroup', id: string, name: string } | null } | null }; +export type GetTaxRateDetailQuery = { + taxRate?: { + __typename?: 'TaxRate'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + enabled: boolean; + value: number; + category: { __typename?: 'TaxCategory'; id: string; name: string }; + zone: { __typename?: 'Zone'; id: string; name: string }; + customerGroup?: { __typename?: 'CustomerGroup'; id: string; name: string } | null; + } | null; +}; export type GetTaxRateListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetTaxRateListQuery = { taxRates: { __typename?: 'TaxRateList', totalItems: number, items: Array<{ __typename?: 'TaxRate', id: string, createdAt: any, updatedAt: any, name: string, enabled: boolean, value: number, category: { __typename?: 'TaxCategory', id: string, name: string }, zone: { __typename?: 'Zone', id: string, name: string }, customerGroup?: { __typename?: 'CustomerGroup', id: string, name: string } | null }> } }; +export type GetTaxRateListQuery = { + taxRates: { + __typename?: 'TaxRateList'; + totalItems: number; + items: Array<{ + __typename?: 'TaxRate'; + id: string; + createdAt: any; + updatedAt: any; + name: string; + enabled: boolean; + value: number; + category: { __typename?: 'TaxCategory'; id: string; name: string }; + zone: { __typename?: 'Zone'; id: string; name: string }; + customerGroup?: { __typename?: 'CustomerGroup'; id: string; name: string } | null; + }>; + }; +}; export type GetZoneDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; +export type GetZoneDetailQuery = { + zone?: { __typename?: 'Zone'; id: string; createdAt: any; updatedAt: any; name: string } | null; +}; -export type GetZoneDetailQuery = { zone?: { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string } | null }; - -export type ZoneDetailFragment = { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string }; +export type ZoneDetailFragment = { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; +}; export type GetZoneListQueryVariables = Exact<{ - options?: InputMaybe; -}>; - - -export type GetZoneListQuery = { zones: { __typename?: 'ZoneList', totalItems: number, items: Array<{ __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string }> } }; - -export type ZoneListItemFragment = { __typename?: 'Zone', id: string, createdAt: any, updatedAt: any, name: string }; - -export const ProductListQueryProductFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductListQueryProductFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"variantList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const ProductOptionFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const AssetFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]} as unknown as DocumentNode; -export const ProductVariantDetailQueryProductVariantFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariantDetailQueryProductVariantFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]} as unknown as DocumentNode; -export const ProductVariantListQueryProductVariantFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariantListQueryProductVariantFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"productId"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]} as unknown as DocumentNode; -export const StockLocationDetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocationDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockLocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const StockLocationListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocationListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockLocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const RoleFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode; -export const AdministratorFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Administrator"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode; -export const CurrentUserFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CurrentUser"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const UserStatusFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserStatus"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserStatus"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administratorId"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"isLoggedIn"}},{"kind":"Field","name":{"kind":"Name","value":"loginTime"}},{"kind":"Field","name":{"kind":"Name","value":"activeChannelId"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const ConfigurableOperationFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]} as unknown as DocumentNode; -export const CollectionFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Collection"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"breadcrumbs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"inheritFilters"}},{"kind":"Field","name":{"kind":"Name","value":"filters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]} as unknown as DocumentNode; -export const CollectionForListFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CollectionForList"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"breadcrumbs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]} as unknown as DocumentNode; -export const AddressFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Address"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Address"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}}]}}]} as unknown as DocumentNode; -export const CustomerFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Customer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Customer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}}]}},{"kind":"Field","name":{"kind":"Name","value":"addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Address"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Address"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Address"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}}]}}]} as unknown as DocumentNode; -export const CustomerGroupFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const FacetValueFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const FacetWithValuesFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetWithValues"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Facet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"values"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const FacetWithValueListFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetWithValueList"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Facet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valueList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"take"},"value":{"kind":"IntValue","value":"100"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const PaymentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Payment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]} as unknown as DocumentNode; -export const RefundFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Refund"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Refund"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]} as unknown as DocumentNode; -export const OrderFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const DiscountFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]} as unknown as DocumentNode; -export const OrderLineFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]} as unknown as DocumentNode; -export const OrderAddressFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}}]} as unknown as DocumentNode; -export const PaymentWithRefundsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}}]} as unknown as DocumentNode; -export const FulfillmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}}]} as unknown as DocumentNode; -export const OrderDetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}}]} as unknown as DocumentNode; -export const TagFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const ProductVariantFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariant"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]} as unknown as DocumentNode; -export const ProductOptionGroupFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const ProductDetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroup"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const ProductOptionGroupWithOptionsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroupWithOptions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProductForListFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductForList"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"variantList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const PromotionFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Promotion"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Promotion"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]} as unknown as DocumentNode; -export const CountryFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const ZoneFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Zone"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const TaxCategoryFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxCategory"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}}]} as unknown as DocumentNode; -export const TaxRateFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxRate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxRate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"zone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customerGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const ChannelFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Channel"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Channel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguageCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultCurrencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLanguageCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const SellerFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Seller"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Seller"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const PaymentMethodFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentMethod"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]} as unknown as DocumentNode; -export const GlobalSettingsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GlobalSettings"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GlobalSettings"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"serverConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"assignable"}}]}},{"kind":"Field","name":{"kind":"Name","value":"orderProcess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const CustomFieldConfigFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const StringCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const LocaleStringCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleStringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const TextCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const LocaleTextCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleTextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const BooleanCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BooleanCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const IntCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IntCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const FloatCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FloatCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const DateTimeCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DateTimeCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const RelationCustomFieldFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RelationCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"entity"}},{"kind":"Field","name":{"kind":"Name","value":"scalarFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]} as unknown as DocumentNode; -export const CustomFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleStringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleTextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BooleanCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IntCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FloatCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DateTimeCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RelationCustomField"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleStringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleTextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BooleanCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IntCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FloatCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DateTimeCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RelationCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"entity"}},{"kind":"Field","name":{"kind":"Name","value":"scalarFields"}}]}}]} as unknown as DocumentNode; -export const JobInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode; -export const ConfigurableOperationDefFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperationDef"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperationDefinition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"required"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const ErrorResultFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const ShippingMethodFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingMethod"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ShippingMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]} as unknown as DocumentNode; -export const CustomerGroupDetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroupDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const CustomerListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Customer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}}]}}]} as unknown as DocumentNode; -export const AdministratorListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AdministratorListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]}}]} as unknown as DocumentNode; -export const CountryListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CountryListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]} as unknown as DocumentNode; -export const GlobalSettingsDetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GlobalSettingsDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GlobalSettings"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}}]}}]} as unknown as DocumentNode; -export const PaymentMethodListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentMethodListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]} as unknown as DocumentNode; -export const ProfileDetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProfileDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}}]}}]} as unknown as DocumentNode; -export const SellerDetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SellerDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Seller"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const SellerListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SellerListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Seller"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const ShippingMethodListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingMethodListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ShippingMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}}]}}]} as unknown as DocumentNode; -export const ZoneDetailFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ZoneDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const ZoneListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ZoneListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const AssetDetailQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AssetDetailQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"asset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const GetProductsWithFacetValuesByIdsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductsWithFacetValuesByIds"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"products"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}]}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetVariantsWithFacetValuesByIdsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetVariantsWithFacetValuesByIds"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"in"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}]}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const UpdateProductsBulkDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateProductsBulk"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProducts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]} as unknown as DocumentNode; -export const UpdateVariantsBulkDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateVariantsBulk"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductVariantInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProductVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]} as unknown as DocumentNode; -export const CollectionDetailQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CollectionDetailQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Collection"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Collection"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"breadcrumbs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"inheritFilters"}},{"kind":"Field","name":{"kind":"Name","value":"filters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetFacetDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFacetDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"facet"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetWithValues"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetWithValues"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Facet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"values"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}}]}}]} as unknown as DocumentNode; -export const GetFacetListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFacetList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"FacetListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"facets"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetWithValueList"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetWithValueList"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Facet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"valueList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"take"},"value":{"kind":"IntValue","value":"100"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetProductDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroup"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} as unknown as DocumentNode; -export const ProductListQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProductListQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"products"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductListQueryProductFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductListQueryProductFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"variantList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const GetProductVariantDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductVariantDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariantDetailQueryProductVariantFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockLocations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"take"},"value":{"kind":"IntValue","value":"100"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"take"},"value":{"kind":"IntValue","value":"100"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}},{"kind":"Field","name":{"kind":"Name","value":"activeChannel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultCurrencyCode"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariantDetailQueryProductVariantFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProductVariantUpdateMutationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ProductVariantUpdateMutation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductVariantInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProductVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariantDetailQueryProductVariantFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariantDetailQueryProductVariantFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProductVariantListQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProductVariantListQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariantListQueryProductVariantFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariantListQueryProductVariantFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"productId"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}}]}}]} as unknown as DocumentNode; -export const GetProductVariantsQuickJumpDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductVariantsQuickJump"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetStockLocationDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetStockLocationDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stockLocation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StockLocationDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocationDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockLocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const CreateStockLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateStockLocation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateStockLocationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createStockLocation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StockLocationDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocationDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockLocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const UpdateStockLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateStockLocation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateStockLocationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateStockLocation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StockLocationDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocationDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockLocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const DeleteStockLocationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteStockLocations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeleteStockLocationInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteStockLocations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const AssignStockLocationsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignStockLocationsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignStockLocationsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignStockLocationsToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const RemoveStockLocationsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveStockLocationsFromChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemoveStockLocationsFromChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeStockLocationsFromChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetStockLocationListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetStockLocationList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"StockLocationListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stockLocations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StockLocationListItem"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocationListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockLocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const GetActiveAdministratorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetActiveAdministrator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeAdministrator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Administrator"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Administrator"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}}]}}]} as unknown as DocumentNode; -export const CreateAdministratorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateAdministrator"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateAdministratorInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createAdministrator"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Administrator"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Administrator"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}}]}}]} as unknown as DocumentNode; -export const UpdateAdministratorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateAdministrator"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateAdministratorInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateAdministrator"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Administrator"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Administrator"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}}]}}]} as unknown as DocumentNode; -export const UpdateActiveAdministratorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateActiveAdministrator"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateActiveAdministratorInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateActiveAdministrator"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Administrator"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Administrator"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}}]}}]} as unknown as DocumentNode; -export const DeleteAdministratorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteAdministrator"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteAdministrator"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteAdministratorsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteAdministrators"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteAdministrators"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetRolesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetRoles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"RoleListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"roles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode; -export const CreateRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateRoleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateRoleInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteRolesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteRoles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteRoles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const AssignRoleToAdministratorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignRoleToAdministrator"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"administratorId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"roleId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignRoleToAdministrator"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"administratorId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"administratorId"}}},{"kind":"Argument","name":{"kind":"Name","value":"roleId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"roleId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Administrator"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Administrator"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}}]}}]} as unknown as DocumentNode; -export const AttemptLoginDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AttemptLogin"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"username"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"password"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rememberMe"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"login"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"username"},"value":{"kind":"Variable","name":{"kind":"Name","value":"username"}}},{"kind":"Argument","name":{"kind":"Name","value":"password"},"value":{"kind":"Variable","name":{"kind":"Name","value":"password"}}},{"kind":"Argument","name":{"kind":"Name","value":"rememberMe"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rememberMe"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentUser"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CurrentUser"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const LogOutDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"LogOut"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode; -export const GetCurrentUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCurrentUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"me"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CurrentUser"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CurrentUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CurrentUser"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const RequestStartedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RequestStarted"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requestStarted"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode; -export const RequestCompletedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RequestCompleted"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"requestCompleted"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode; -export const SetAsLoggedInDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetAsLoggedIn"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UserStatusInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setAsLoggedIn"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserStatus"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserStatus"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserStatus"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administratorId"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"isLoggedIn"}},{"kind":"Field","name":{"kind":"Name","value":"loginTime"}},{"kind":"Field","name":{"kind":"Name","value":"activeChannelId"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const SetAsLoggedOutDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetAsLoggedOut"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setAsLoggedOut"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserStatus"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserStatus"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserStatus"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administratorId"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"isLoggedIn"}},{"kind":"Field","name":{"kind":"Name","value":"loginTime"}},{"kind":"Field","name":{"kind":"Name","value":"activeChannelId"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const SetUiLanguageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetUiLanguage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"languageCode"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"LanguageCode"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setUiLanguage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"languageCode"},"value":{"kind":"Variable","name":{"kind":"Name","value":"languageCode"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]},{"kind":"Field","name":{"kind":"Name","value":"setUiLocale"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode; -export const SetUiLocaleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetUiLocale"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"locale"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setUiLocale"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"locale"},"value":{"kind":"Variable","name":{"kind":"Name","value":"locale"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode; -export const SetDisplayUiExtensionPointsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetDisplayUiExtensionPoints"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"display"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setDisplayUiExtensionPoints"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"display"},"value":{"kind":"Variable","name":{"kind":"Name","value":"display"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode; -export const SetMainNavExpandedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetMainNavExpanded"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"expanded"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setMainNavExpanded"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"expanded"},"value":{"kind":"Variable","name":{"kind":"Name","value":"expanded"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode; -export const SetContentLanguageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetContentLanguage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"languageCode"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"LanguageCode"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setContentLanguage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"languageCode"},"value":{"kind":"Variable","name":{"kind":"Name","value":"languageCode"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode; -export const SetUiThemeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetUiTheme"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"theme"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setUiTheme"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"theme"},"value":{"kind":"Variable","name":{"kind":"Name","value":"theme"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}]}]}}]} as unknown as DocumentNode; -export const GetNetworkStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetNetworkStatus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"networkStatus"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inFlightRequests"}}]}}]}}]} as unknown as DocumentNode; -export const GetUserStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetUserStatus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userStatus"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserStatus"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserStatus"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserStatus"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administratorId"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"isLoggedIn"}},{"kind":"Field","name":{"kind":"Name","value":"loginTime"}},{"kind":"Field","name":{"kind":"Name","value":"activeChannelId"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const GetUiStateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetUiState"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uiState"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"contentLanguage"}},{"kind":"Field","name":{"kind":"Name","value":"theme"}},{"kind":"Field","name":{"kind":"Name","value":"displayUiExtensionPoints"}},{"kind":"Field","name":{"kind":"Name","value":"mainNavExpanded"}}]}}]}}]} as unknown as DocumentNode; -export const GetClientStateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetClientState"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"networkStatus"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inFlightRequests"}}]}},{"kind":"Field","name":{"kind":"Name","value":"userStatus"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserStatus"}}]}},{"kind":"Field","name":{"kind":"Name","value":"uiState"},"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"language"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"contentLanguage"}},{"kind":"Field","name":{"kind":"Name","value":"theme"}},{"kind":"Field","name":{"kind":"Name","value":"displayUiExtensionPoints"}},{"kind":"Field","name":{"kind":"Name","value":"mainNavExpanded"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserStatus"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserStatus"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administratorId"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"isLoggedIn"}},{"kind":"Field","name":{"kind":"Name","value":"loginTime"}},{"kind":"Field","name":{"kind":"Name","value":"activeChannelId"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const SetActiveChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetActiveChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setActiveChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserStatus"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserStatus"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserStatus"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administratorId"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"isLoggedIn"}},{"kind":"Field","name":{"kind":"Name","value":"loginTime"}},{"kind":"Field","name":{"kind":"Name","value":"activeChannelId"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateUserChannelsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateUserChannels"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channels"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CurrentUserChannelInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateUserChannels"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channels"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channels"}}}],"directives":[{"kind":"Directive","name":{"kind":"Name","value":"client"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserStatus"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserStatus"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserStatus"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administratorId"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"isLoggedIn"}},{"kind":"Field","name":{"kind":"Name","value":"loginTime"}},{"kind":"Field","name":{"kind":"Name","value":"activeChannelId"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; -export const GetCollectionFiltersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionFilters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collectionFilters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperationDef"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperationDefinition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"required"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const GetCollectionListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CollectionListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collections"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CollectionForList"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CollectionForList"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"breadcrumbs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const CreateCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCollection"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateCollectionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCollection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Collection"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Collection"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"breadcrumbs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"inheritFilters"}},{"kind":"Field","name":{"kind":"Name","value":"filters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCollection"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCollectionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCollection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Collection"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Collection"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"breadcrumbs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"inheritFilters"}},{"kind":"Field","name":{"kind":"Name","value":"filters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const MoveCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"MoveCollection"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MoveCollectionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"moveCollection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Collection"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Collection"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Collection"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"breadcrumbs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"inheritFilters"}},{"kind":"Field","name":{"kind":"Name","value":"filters"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCollection"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCollection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteCollectionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCollections"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCollections"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetCollectionContentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionContents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"productId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]}}]} as unknown as DocumentNode; -export const PreviewCollectionContentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PreviewCollectionContents"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PreviewCollectionVariantsInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"previewCollectionVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}},{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"productId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const AssignCollectionsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignCollectionsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignCollectionsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignCollectionsToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const RemoveCollectionsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveCollectionsFromChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemoveCollectionsFromChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeCollectionsFromChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetCustomerListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const CreateCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateCustomerInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"password"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}},{"kind":"Argument","name":{"kind":"Name","value":"password"},"value":{"kind":"Variable","name":{"kind":"Name","value":"password"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Customer"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Address"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Address"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Customer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Customer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}}]}},{"kind":"Field","name":{"kind":"Name","value":"addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Address"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const UpdateCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCustomerInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Customer"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Address"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Address"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Customer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Customer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}}]}},{"kind":"Field","name":{"kind":"Name","value":"addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Address"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const DeleteCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteCustomersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCustomers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCustomers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const CreateCustomerAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCustomerAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"customerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateAddressInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCustomerAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"customerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"customerId"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Address"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Address"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Address"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}}]}}]} as unknown as DocumentNode; -export const UpdateCustomerAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCustomerAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateAddressInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCustomerAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Address"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Address"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Address"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}}]}}]} as unknown as DocumentNode; -export const DeleteCustomerAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCustomerAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCustomerAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode; -export const CreateCustomerGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCustomerGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateCustomerGroupInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCustomerGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerGroup"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const UpdateCustomerGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCustomerGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCustomerGroupInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCustomerGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerGroup"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const DeleteCustomerGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCustomerGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCustomerGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteCustomerGroupsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCustomerGroups"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCustomerGroups"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetCustomerGroupsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerGroups"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroupListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customerGroups"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerGroup"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const GetCustomerGroupWithCustomersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerGroupWithCustomers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customerGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerGroup"}},{"kind":"Field","name":{"kind":"Name","value":"customers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const AddCustomersToGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddCustomersToGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"groupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"customerIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addCustomersToGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"customerGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"groupId"}}},{"kind":"Argument","name":{"kind":"Name","value":"customerIds"},"value":{"kind":"Variable","name":{"kind":"Name","value":"customerIds"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerGroup"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const RemoveCustomersFromGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveCustomersFromGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"groupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"customerIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeCustomersFromGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"customerGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"groupId"}}},{"kind":"Argument","name":{"kind":"Name","value":"customerIds"},"value":{"kind":"Variable","name":{"kind":"Name","value":"customerIds"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerGroup"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const GetCustomerHistoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerHistory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"HistoryEntryListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"history"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}},{"kind":"Field","name":{"kind":"Name","value":"administrator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"data"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AddNoteToCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddNoteToCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddNoteToCustomerInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addNoteToCustomer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateCustomerNoteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCustomerNote"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCustomerNoteInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCustomerNote"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteCustomerNoteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCustomerNote"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCustomerNote"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const CreateFacetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateFacet"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateFacetInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createFacet"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetWithValues"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetWithValues"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Facet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"values"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateFacetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateFacet"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateFacetInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateFacet"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetWithValues"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetWithValues"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Facet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"isPrivate"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"values"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteFacetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteFacet"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"force"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteFacet"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"force"},"value":{"kind":"Variable","name":{"kind":"Name","value":"force"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteFacetsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteFacets"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"force"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteFacets"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"force"},"value":{"kind":"Variable","name":{"kind":"Name","value":"force"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const CreateFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateFacetValues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateFacetValueInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createFacetValues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateFacetValues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateFacetValueInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateFacetValues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteFacetValues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"force"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteFacetValues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"force"},"value":{"kind":"Variable","name":{"kind":"Name","value":"force"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetFacetValueListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFacetValueList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValueListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FacetValue"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FacetValue"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const AssignFacetsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignFacetsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignFacetsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignFacetsToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const RemoveFacetsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveFacetsFromChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemoveFacetsFromChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeFacetsFromChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Facet"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FacetInUseError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"variantCount"}},{"kind":"Field","name":{"kind":"Name","value":"productCount"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetOrderListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"OrderListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orders"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Order"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const SettlePaymentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SettlePayment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"settlePayment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SettlePaymentError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentErrorMessage"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentStateTransitionError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionError"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderStateTransitionError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionError"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Payment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const CancelPaymentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelPayment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelPayment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CancelPaymentError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentErrorMessage"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentStateTransitionError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionError"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Payment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const TransitionPaymentToStateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TransitionPaymentToState"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"state"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionPaymentToState"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"Variable","name":{"kind":"Name","value":"state"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentStateTransitionError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionError"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Payment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const CreateFulfillmentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateFulfillment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"FulfillOrderInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addFulfillmentToOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreateFulfillmentError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerError"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FulfillmentStateTransitionError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"transitionError"}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const CancelOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CancelOrderInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const RefundOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RefundOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RefundOrderInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"refundOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Refund"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Refund"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Refund"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const SettleRefundDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SettleRefund"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SettleRefundInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"settleRefund"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Refund"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Refund"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Refund"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const GetOrderHistoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderHistory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"HistoryEntryListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"history"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}},{"kind":"Field","name":{"kind":"Name","value":"administrator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"data"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AddNoteToOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddNoteToOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddNoteToOrderInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addNoteToOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateOrderNoteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOrderNote"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateOrderNoteInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOrderNote"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteOrderNoteDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOrderNote"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOrderNote"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const TransitionOrderToStateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TransitionOrderToState"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"state"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionOrderToState"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"Variable","name":{"kind":"Name","value":"state"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Order"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderStateTransitionError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionError"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const UpdateOrderCustomFieldsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOrderCustomFields"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateOrderInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setOrderCustomFields"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Order"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Order"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const TransitionFulfillmentToStateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TransitionFulfillmentToState"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"state"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionFulfillmentToState"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"Variable","name":{"kind":"Name","value":"state"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FulfillmentStateTransitionError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionError"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const ModifyOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ModifyOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ModifyOrderInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"modifyOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const AddManualPaymentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddManualPayment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ManualPaymentInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addManualPaymentToOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const CreateDraftOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateDraftOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createDraftOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const DeleteDraftOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteDraftOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteDraftOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const AddItemToDraftOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddItemToDraftOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddItemToDraftOrderInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addItemToDraftOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const AdjustDraftOrderLineDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AdjustDraftOrderLine"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AdjustDraftOrderLineInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustDraftOrderLine"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const RemoveDraftOrderLineDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveDraftOrderLine"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderLineId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeDraftOrderLine"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderLineId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderLineId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const SetCustomerForDraftOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetCustomerForDraftOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"customerId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateCustomerInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setCustomerForDraftOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"customerId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"customerId"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const SetDraftOrderShippingAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetDraftOrderShippingAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateAddressInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setDraftOrderShippingAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const SetDraftOrderBillingAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetDraftOrderBillingAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateAddressInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setDraftOrderBillingAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ApplyCouponCodeToDraftOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ApplyCouponCodeToDraftOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"couponCode"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applyCouponCodeToDraftOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"couponCode"},"value":{"kind":"Variable","name":{"kind":"Name","value":"couponCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const RemoveCouponCodeFromDraftOrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveCouponCodeFromDraftOrder"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"couponCode"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeCouponCodeFromDraftOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"couponCode"},"value":{"kind":"Variable","name":{"kind":"Name","value":"couponCode"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const DraftOrderEligibleShippingMethodsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"DraftOrderEligibleShippingMethods"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eligibleShippingMethodsForDraftOrder"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]}}]} as unknown as DocumentNode; -export const SetDraftOrderShippingMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetDraftOrderShippingMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"shippingMethodId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setDraftOrderShippingMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}},{"kind":"Argument","name":{"kind":"Name","value":"shippingMethodId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"shippingMethodId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const UpdateProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"variantListOptions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductDetail"}},{"kind":"Field","name":{"kind":"Name","value":"variantList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"variantListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroup"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariant"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} as unknown as DocumentNode; -export const CreateProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateProductInput"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"variantListOptions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductDetail"}},{"kind":"Field","name":{"kind":"Name","value":"variantList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"variantListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroup"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariant"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteProductsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteProducts"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteProducts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const CreateProductVariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateProductVariants"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateProductVariantInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createProductVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariant"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateProductVariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateProductVariants"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductVariantInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProductVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariant"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} as unknown as DocumentNode; -export const CreateProductOptionGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateProductOptionGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateProductOptionGroupInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createProductOptionGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroupWithOptions"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroupWithOptions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetProductOptionGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductOptionGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productOptionGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroupWithOptions"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroupWithOptions"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const AddOptionToGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddOptionToGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateProductOptionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createProductOption"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}}]}}]}}]} as unknown as DocumentNode; -export const AddOptionGroupToProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddOptionGroupToProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"optionGroupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addOptionGroupToProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"productId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productId"}}},{"kind":"Argument","name":{"kind":"Name","value":"optionGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"optionGroupId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const RemoveOptionGroupFromProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveOptionGroupFromProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"optionGroupId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"force"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeOptionGroupFromProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"productId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productId"}}},{"kind":"Argument","name":{"kind":"Name","value":"optionGroupId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"optionGroupId"}}},{"kind":"Argument","name":{"kind":"Name","value":"force"},"value":{"kind":"Variable","name":{"kind":"Name","value":"force"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const GetProductWithVariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductWithVariants"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"variantListOptions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductDetail"}},{"kind":"Field","name":{"kind":"Name","value":"variantList"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"variantListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroup"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariant"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} as unknown as DocumentNode; -export const GetProductSimpleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductSimple"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]} as unknown as DocumentNode; -export const GetProductListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"products"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductForList"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductForList"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"variantList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const GetProductOptionGroupsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductOptionGroups"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filterTerm"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productOptionGroups"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filterTerm"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filterTerm"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetAssetListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAssetList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AssetListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assets"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const GetAssetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAsset"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"asset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const CreateAssetsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateAssets"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateAssetInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createAssets"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const UpdateAssetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateAsset"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateAssetInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateAsset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const DeleteAssetsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteAssets"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeleteAssetsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteAssets"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const SearchProductsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchProducts"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SearchInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"search"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"productId"}},{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"kind":"Field","name":{"kind":"Name","value":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PriceRange"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SinglePrice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"productAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"productVariantId"}},{"kind":"Field","name":{"kind":"Name","value":"productVariantName"}},{"kind":"Field","name":{"kind":"Name","value":"productVariantAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"channelIds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"facetValue"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProductSelectorSearchDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProductSelectorSearch"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"term"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"take"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"search"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"groupByProduct"},"value":{"kind":"BooleanValue","value":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"term"},"value":{"kind":"Variable","name":{"kind":"Name","value":"term"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"take"},"value":{"kind":"Variable","name":{"kind":"Name","value":"take"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariantId"}},{"kind":"Field","name":{"kind":"Name","value":"productVariantName"}},{"kind":"Field","name":{"kind":"Name","value":"productAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"price"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SinglePrice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SinglePrice"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}}]}}]}}]}}]} as unknown as DocumentNode; -export const UpdateProductOptionGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateProductOptionGroup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductOptionGroupInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProductOptionGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroup"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateProductOptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateProductOption"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductOptionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProductOption"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteProductOptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteProductOption"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteProductOption"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteProductVariantDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteProductVariant"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteProductVariant"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteProductVariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteProductVariants"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteProductVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetProductVariantOptionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductVariantOptions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOptionGroup"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOptionGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const AssignProductsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignProductsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignProductsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignProductsToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]} as unknown as DocumentNode; -export const AssignVariantsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignVariantsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignProductVariantsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignProductVariantsToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]} as unknown as DocumentNode; -export const RemoveProductsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveProductsFromChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemoveProductsFromChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeProductsFromChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]} as unknown as DocumentNode; -export const RemoveVariantsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveVariantsFromChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemoveProductVariantsFromChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeProductVariantsFromChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetProductVariantDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductVariant"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLevel"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetProductVariantListSimpleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductVariantListSimple"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}},{"kind":"Argument","name":{"kind":"Name","value":"productId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const GetProductVariantListForProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductVariantListForProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}},{"kind":"Argument","name":{"kind":"Name","value":"productId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductOption"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOption"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductVariant"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariant"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"taxRateApplied"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductOption"}}]}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} as unknown as DocumentNode; -export const GetProductVariantListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductVariantList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]} as unknown as DocumentNode; -export const GetTagListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTagList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TagListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tags"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const GetTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"tag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const CreateTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateTagInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const UpdateTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateTagInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const DeleteTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; -export const GetAdjustmentOperationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAdjustmentOperations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"promotionConditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotionActions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperationDef"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperationDefinition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"required"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const CreatePromotionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreatePromotion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreatePromotionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createPromotion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Promotion"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Promotion"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Promotion"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const UpdatePromotionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdatePromotion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdatePromotionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updatePromotion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Promotion"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Promotion"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Promotion"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; -export const DeletePromotionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeletePromotion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deletePromotion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeletePromotionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeletePromotions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deletePromotions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetAvailableCountriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAvailableCountries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"countries"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"enabled"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"BooleanValue","value":true}}]}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]}}]}}]} as unknown as DocumentNode; -export const CreateCountryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCountry"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateCountryInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCountry"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateCountryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCountry"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCountryInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCountry"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteCountryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCountry"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCountry"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteCountriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCountries"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCountries"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetZoneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetZone"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"zone"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Zone"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Zone"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}}]} as unknown as DocumentNode; -export const CreateZoneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateZone"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateZoneInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createZone"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Zone"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Zone"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateZoneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateZone"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateZoneInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateZone"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Zone"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Zone"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteZoneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteZone"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteZone"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteZonesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteZones"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteZones"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; -export const AddMembersToZoneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddMembersToZone"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"zoneId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addMembersToZone"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"zoneId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"zoneId"}}},{"kind":"Argument","name":{"kind":"Name","value":"memberIds"},"value":{"kind":"Variable","name":{"kind":"Name","value":"memberIds"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Zone"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Zone"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}}]} as unknown as DocumentNode; -export const RemoveMembersFromZoneDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveMembersFromZone"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"zoneId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"memberIds"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeMembersFromZone"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"zoneId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"zoneId"}}},{"kind":"Argument","name":{"kind":"Name","value":"memberIds"},"value":{"kind":"Variable","name":{"kind":"Name","value":"memberIds"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Zone"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Zone"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}}]} as unknown as DocumentNode; -export const GetTaxCategoriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxCategories"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TaxCategoryListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxCategory"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxCategory"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}}]} as unknown as DocumentNode; -export const CreateTaxCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateTaxCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateTaxCategoryInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createTaxCategory"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxCategory"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxCategory"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}}]} as unknown as DocumentNode; -export const UpdateTaxCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateTaxCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateTaxCategoryInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateTaxCategory"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxCategory"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxCategory"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}}]} as unknown as DocumentNode; -export const DeleteTaxCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTaxCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTaxCategory"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteTaxCategoriesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTaxCategories"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTaxCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetTaxRateListSimpleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxRateListSimple"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TaxRateListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxRates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"zone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const CreateTaxRateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateTaxRate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateTaxRateInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createTaxRate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxRate"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxRate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxRate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"zone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customerGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateTaxRateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateTaxRate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateTaxRateInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateTaxRate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxRate"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxRate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxRate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"zone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customerGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteTaxRateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTaxRate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTaxRate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteTaxRatesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteTaxRates"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteTaxRates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetChannelsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetChannels"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChannelListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channels"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Channel"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Channel"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Channel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguageCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultCurrencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLanguageCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetSellersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSellers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"SellerListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sellers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Seller"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Seller"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Seller"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const CreateSellerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateSeller"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateSellerInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createSeller"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Seller"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Seller"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Seller"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const UpdateSellerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSeller"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateSellerInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateSeller"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Seller"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Seller"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Seller"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const DeleteSellerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteSeller"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteSeller"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteSellersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteSellers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteSellers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetActiveChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetActiveChannel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeChannel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Channel"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Channel"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Channel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguageCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultCurrencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLanguageCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const CreateChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Channel"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Channel"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Channel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguageCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultCurrencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLanguageCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const UpdateChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Channel"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Channel"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Channel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguageCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultCurrencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLanguageCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const DeleteChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteChannelsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteChannels"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteChannels"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetPaymentMethodOperationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPaymentMethodOperations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentMethodEligibilityCheckers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}},{"kind":"Field","name":{"kind":"Name","value":"paymentMethodHandlers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperationDef"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperationDefinition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"required"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const CreatePaymentMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreatePaymentMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreatePaymentMethodInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createPaymentMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentMethod"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentMethod"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}}]}}]} as unknown as DocumentNode; -export const UpdatePaymentMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdatePaymentMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdatePaymentMethodInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updatePaymentMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentMethod"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentMethod"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}}]}}]} as unknown as DocumentNode; -export const DeletePaymentMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeletePaymentMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"force"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deletePaymentMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"force"},"value":{"kind":"Variable","name":{"kind":"Name","value":"force"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeletePaymentMethodsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeletePaymentMethods"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"force"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deletePaymentMethods"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}},{"kind":"Argument","name":{"kind":"Name","value":"force"},"value":{"kind":"Variable","name":{"kind":"Name","value":"force"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const GetGlobalSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetGlobalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"globalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GlobalSettings"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GlobalSettings"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GlobalSettings"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"serverConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"assignable"}}]}},{"kind":"Field","name":{"kind":"Name","value":"orderProcess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; -export const UpdateGlobalSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateGlobalSettings"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateGlobalSettingsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateGlobalSettings"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GlobalSettings"}},{"kind":"FragmentSpread","name":{"kind":"Name","value":"ErrorResult"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GlobalSettings"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GlobalSettings"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"serverConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"assignable"}}]}},{"kind":"Field","name":{"kind":"Name","value":"orderProcess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ErrorResult"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]} as unknown as DocumentNode; -export const GetServerConfigDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetServerConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"globalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"serverConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderProcess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"permittedAssetTypes"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"assignable"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customFieldConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Address"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Administrator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Asset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Channel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Collection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"CustomerGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Facet"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"FacetValue"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Fulfillment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"GlobalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Order"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"OrderLine"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"PaymentMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ProductOption"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ProductOptionGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ProductVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Promotion"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Region"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ShippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"StockLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"TaxCategory"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"TaxRate"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"User"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"Zone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFields"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFieldConfig"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"description"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"readonly"}},{"kind":"Field","name":{"kind":"Name","value":"nullable"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleStringCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"pattern"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LocaleTextCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BooleanCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IntCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"intMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"intMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"intStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FloatCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"floatMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"floatStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"DateTimeCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMin"},"name":{"kind":"Name","value":"min"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeMax"},"name":{"kind":"Name","value":"max"}},{"kind":"Field","alias":{"kind":"Name","value":"datetimeStep"},"name":{"kind":"Name","value":"step"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"RelationCustomField"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomFieldConfig"}},{"kind":"Field","name":{"kind":"Name","value":"entity"}},{"kind":"Field","name":{"kind":"Name","value":"scalarFields"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"StringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleStringCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleStringCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LocaleTextCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LocaleTextCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BooleanCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BooleanCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IntCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IntCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FloatCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FloatCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DateTimeCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"DateTimeCustomField"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"RelationCustomFieldConfig"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"RelationCustomField"}}]}}]}}]} as unknown as DocumentNode; -export const GetJobInfoDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetJobInfo"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"job"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"jobId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"JobInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode; -export const GetAllJobsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAllJobs"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"JobListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobs"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"JobInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode; -export const GetJobsByIdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetJobsById"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobsById"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"jobIds"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"JobInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode; -export const GetJobQueueListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetJobQueueList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"jobQueues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"running"}}]}}]}}]} as unknown as DocumentNode; -export const CancelJobDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CancelJob"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cancelJob"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"jobId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"JobInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode; -export const ReindexDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"Reindex"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reindex"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"JobInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"JobInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Job"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"data"}},{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"retries"}},{"kind":"Field","name":{"kind":"Name","value":"attempts"}}]}}]} as unknown as DocumentNode; -export const GetPendingSearchIndexUpdatesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPendingSearchIndexUpdates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pendingSearchIndexUpdates"}}]}}]} as unknown as DocumentNode; -export const RunPendingSearchIndexUpdatesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RunPendingSearchIndexUpdates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"runPendingSearchIndexUpdates"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode; -export const GetShippingMethodOperationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetShippingMethodOperations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingEligibilityCheckers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingCalculators"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperationDef"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperationDefinition"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"required"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; -export const CreateShippingMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateShippingMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateShippingMethodInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createShippingMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingMethod"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingMethod"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ShippingMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; -export const UpdateShippingMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateShippingMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateShippingMethodInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateShippingMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingMethod"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingMethod"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ShippingMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteShippingMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteShippingMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteShippingMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const DeleteShippingMethodsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteShippingMethods"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteShippingMethods"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; -export const TestShippingMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TestShippingMethod"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TestShippingMethodInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"testShippingMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"eligible"}},{"kind":"Field","name":{"kind":"Name","value":"quote"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]}}]}}]} as unknown as DocumentNode; -export const TestEligibleShippingMethodsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TestEligibleShippingMethods"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TestEligibleShippingMethodsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"testEligibleShippingMethods"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]}}]} as unknown as DocumentNode; -export const AssetPreviewQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AssetPreviewQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"asset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const GetProductVariantsForMultiSelectorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductVariantsForMultiSelector"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductVariantListOptions"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"productId"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"useGlobalOutOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}}]} as unknown as DocumentNode; -export const GetZoneSelectorListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetZoneSelectorList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ZoneListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"zones"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const RelationAssetInputQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"RelationAssetInputQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"asset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"kind":"Field","name":{"kind":"Name","value":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Tag"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Asset"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fileSize"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"focalPoint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"x"}},{"kind":"Field","name":{"kind":"Name","value":"y"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Tag"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Tag"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]} as unknown as DocumentNode; -export const CustomerDetailQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CustomerDetailQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderListOptions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"OrderListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Customer"}},{"kind":"Field","name":{"kind":"Name","value":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"orders"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Address"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Address"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Customer"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Customer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}}]}},{"kind":"Field","name":{"kind":"Name","value":"addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Address"}}]}}]}}]} as unknown as DocumentNode; -export const GetCustomerGroupDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerGroupDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customerGroup"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerGroupDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroupDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const GetCustomerGroupListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerGroupList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroupListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customerGroups"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerGroup"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerGroup"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerGroup"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const CustomerListQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CustomerListQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CustomerListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CustomerListItem"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CustomerListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Customer"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}}]}}]} as unknown as DocumentNode; -export const GetLatestOrdersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetLatestOrders"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"OrderListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orders"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetOrderChartDataDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderChartData"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"refresh"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"types"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MetricType"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metricSummary"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"interval"},"value":{"kind":"EnumValue","value":"Daily"}},{"kind":"ObjectField","name":{"kind":"Name","value":"types"},"value":{"kind":"Variable","name":{"kind":"Name","value":"types"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"refresh"},"value":{"kind":"Variable","name":{"kind":"Name","value":"refresh"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"interval"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"entries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetOrderSummaryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderSummary"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"start"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"end"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DateTime"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orders"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"filter"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"orderPlacedAt"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"between"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"start"},"value":{"kind":"Variable","name":{"kind":"Name","value":"start"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"end"},"value":{"kind":"Variable","name":{"kind":"Name","value":"end"}}}]}}]}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalItems"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetPromotionDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPromotionDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"promotion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Promotion"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Promotion"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Promotion"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; -export const AssignPromotionsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignPromotionsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignPromotionsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignPromotionsToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const RemovePromotionsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemovePromotionsFromChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemovePromotionsFromChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removePromotionsFromChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetPromotionListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPromotionList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PromotionListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"promotions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Promotion"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Promotion"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Promotion"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; -export const GetAddManualPaymentMethodListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAddManualPaymentMethodList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethodListOptions"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentMethods"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const GetCouponCodeSelectorPromotionListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCouponCodeSelectorPromotionList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"PromotionListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"promotions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; -export const OrderDetailQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"OrderDetailQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Discount"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Discount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderLine"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderLine"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"lineTax"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePrice"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderAddress"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderAddress"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentWithRefunds"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Payment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"refunds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"items"}},{"kind":"Field","name":{"kind":"Name","value":"adjustment"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Fulfillment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Fulfillment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrder"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"nextStates"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}},{"kind":"Field","name":{"kind":"Name","value":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderLine"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Discount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"couponCode"}}]}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"taxSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxBase"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"taxTotal"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentWithRefunds"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refund"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetCustomerAddressesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerAddresses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"customerId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customer"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"customerId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"addresses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Address"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Address"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Address"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"fullName"}},{"kind":"Field","name":{"kind":"Name","value":"company"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"streetLine2"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"phoneNumber"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}}]}}]} as unknown as DocumentNode; -export const GetSellerOrdersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSellerOrders"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"order"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedAt"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetZoneMembersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetZoneMembers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"zoneId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"zone"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"zoneId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetAdministratorDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAdministratorDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administrator"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Administrator"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Administrator"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetAdministratorListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAdministratorList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"AdministratorListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"administrators"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AdministratorListItem"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AdministratorListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"identifier"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"roles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetChannelDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetChannelDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Channel"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Channel"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Channel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguageCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultCurrencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLanguageCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetChannelListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetChannelList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ChannelListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channels"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Channel"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Channel"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Channel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguageCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultCurrencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLanguageCode"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"seller"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetCountryDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCountryDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"country"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Country"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetCountryListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCountryList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"CountryListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"countries"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CountryListItem"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CountryListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Country"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]} as unknown as DocumentNode; -export const GetGlobalSettingsDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetGlobalSettingsDetail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"globalSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GlobalSettingsDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GlobalSettingsDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GlobalSettings"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguages"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}}]}}]} as unknown as DocumentNode; -export const GetPaymentMethodDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPaymentMethodDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentMethod"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentMethod"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}}]}}]} as unknown as DocumentNode; -export const AssignPaymentMethodsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignPaymentMethodsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignPaymentMethodsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignPaymentMethodsToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const RemovePaymentMethodsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemovePaymentMethodsFromChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemovePaymentMethodsFromChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removePaymentMethodsFromChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetPaymentMethodListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPaymentMethodList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethodListOptions"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentMethods"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PaymentMethodListItem"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PaymentMethodListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"PaymentMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}}]}}]} as unknown as DocumentNode; -export const GetProfileDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProfileDetail"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeAdministrator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProfileDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProfileDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Administrator"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"emailAddress"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"lastLogin"}},{"kind":"Field","name":{"kind":"Name","value":"verified"}}]}}]}}]} as unknown as DocumentNode; -export const GetRoleDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetRoleDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"role"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode; -export const GetRoleListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetRoleList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"RoleListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"roles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Role"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Role"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Role"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}},{"kind":"Field","name":{"kind":"Name","value":"channels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}}]}}]}}]} as unknown as DocumentNode; -export const GetSellerDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSellerDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"seller"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SellerDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SellerDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Seller"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const GetSellerListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetSellerList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"SellerListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sellers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SellerListItem"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SellerListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Seller"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const GetShippingMethodDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetShippingMethodDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingMethod"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ConfigurableOperation"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ConfigurableOperation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingMethod"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ShippingMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}},{"kind":"Field","name":{"kind":"Name","value":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"translations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; -export const AssignShippingMethodsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignShippingMethodsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignShippingMethodsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignShippingMethodsToChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const RemoveShippingMethodsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveShippingMethodsFromChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemoveShippingMethodsFromChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeShippingMethodsFromChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetShippingMethodListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetShippingMethodList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ShippingMethodListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethods"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingMethodListItem"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingMethodListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ShippingMethod"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerCode"}}]}}]} as unknown as DocumentNode; -export const GetTaxCategoryDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxCategoryDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategory"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxCategory"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxCategory"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}}]} as unknown as DocumentNode; -export const GetTaxCategoryListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxCategoryList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TaxCategoryListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxCategory"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxCategory"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxCategory"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isDefault"}}]}}]} as unknown as DocumentNode; -export const GetTaxRateDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxRateDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxRate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxRate"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxRate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxRate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"zone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customerGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetTaxRateListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxRateList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TaxRateListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxRates"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"TaxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TaxRate"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TaxRate"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"zone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customerGroup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetZoneDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetZoneDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"zone"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ZoneDetail"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ZoneDetail"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; -export const GetZoneListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetZoneList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ZoneListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"zones"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ZoneListItem"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ZoneListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Zone"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; \ No newline at end of file + options?: InputMaybe; +}>; + +export type GetZoneListQuery = { + zones: { + __typename?: 'ZoneList'; + totalItems: number; + items: Array<{ __typename?: 'Zone'; id: string; createdAt: any; updatedAt: any; name: string }>; + }; +}; + +export type ZoneListItemFragment = { + __typename?: 'Zone'; + id: string; + createdAt: any; + updatedAt: any; + name: string; +}; + +export const ProductListQueryProductFragmentFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductListQueryProductFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variantList' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductOptionFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssetFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductVariantDetailQueryProductVariantFragmentFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariantDetailQueryProductVariantFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'prices' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLevels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockLocationId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'languageCode' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductVariantListQueryProductVariantFragmentFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariantListQueryProductVariantFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'productId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLevels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockLocationId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const StockLocationDetailFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StockLocationDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StockLocation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const StockLocationListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StockLocationListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StockLocation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RoleFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdministratorFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Administrator' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CurrentUserFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CurrentUser' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CurrentUser' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UserStatusFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'UserStatus' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserStatus' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'administratorId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'username' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isLoggedIn' } }, + { kind: 'Field', name: { kind: 'Name', value: 'loginTime' } }, + { kind: 'Field', name: { kind: 'Name', value: 'activeChannelId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ConfigurableOperationFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CollectionFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Collection' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Collection' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'breadcrumbs' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'inheritFilters' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'filters' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'parent' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'children' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CollectionForListFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CollectionForList' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Collection' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'position' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'breadcrumbs' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'parentId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'children' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddressFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Address' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Address' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CustomerFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Customer' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Customer' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'title' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verified' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'addresses' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Address' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Address' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Address' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CustomerGroupFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FacetValueFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FacetWithValuesFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetWithValues' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Facet' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'values' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetValue' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FacetWithValueListFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetWithValueList' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Facet' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'valueList' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'take' }, + value: { kind: 'IntValue', value: '100' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'FacetValue' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PaymentFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Payment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RefundFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Refund' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Refund' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const OrderFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Order' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DiscountFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const OrderLineFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const OrderAddressFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PaymentWithRefundsFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FulfillmentFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const OrderDetailFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TagFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductVariantFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariant' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductOptionGroupFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductDetailFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductOptionGroupWithOptionsFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroupWithOptions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductForListFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductForList' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variantList' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PromotionFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Promotion' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Promotion' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'perCustomerUsageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'conditions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'actions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CountryFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ZoneFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Zone' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'members' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TaxCategoryFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxCategory' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxCategory' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isDefault' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TaxRateFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxRate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxRate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'category' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroup' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ChannelFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Channel' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Channel' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguageCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultCurrencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultLanguageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultShippingZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultTaxZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SellerFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Seller' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Seller' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PaymentMethodFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentMethod' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'PaymentMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'checker' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'handler' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GlobalSettingsFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'GlobalSettings' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'GlobalSettings' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguages' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'serverConfig' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'permissions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'assignable' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'orderProcess' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CustomFieldConfigFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const StringCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StringCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StringCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pattern' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const LocaleStringCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'LocaleStringCustomField' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleStringCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pattern' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TextCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TextCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TextCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const LocaleTextCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'LocaleTextCustomField' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleTextCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const BooleanCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'BooleanCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'BooleanCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const IntCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'IntCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'IntCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const FloatCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FloatCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FloatCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DateTimeCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'DateTimeCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'DateTimeCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RelationCustomFieldFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'RelationCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'RelationCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'entity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'scalarFields' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CustomFieldsFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'StringCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'StringCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleStringCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'LocaleStringCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'TextCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TextCustomField' } }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleTextCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'LocaleTextCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'BooleanCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'BooleanCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'IntCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IntCustomField' } }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'FloatCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FloatCustomField' } }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'DateTimeCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'DateTimeCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RelationCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'RelationCustomField' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StringCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StringCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pattern' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'LocaleStringCustomField' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleStringCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pattern' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TextCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TextCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'LocaleTextCustomField' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleTextCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'BooleanCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'BooleanCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'IntCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'IntCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FloatCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FloatCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'DateTimeCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'DateTimeCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'RelationCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'RelationCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'entity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'scalarFields' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const JobInfoFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'JobInfo' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Job' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'settledAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'queueName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'progress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'duration' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'error' } }, + { kind: 'Field', name: { kind: 'Name', value: 'retries' } }, + { kind: 'Field', name: { kind: 'Name', value: 'attempts' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ConfigurableOperationDefFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ConfigurableOperationDefinition' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'required' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultValue' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ErrorResultFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ShippingMethodFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ShippingMethod' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShippingMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentHandlerCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'checker' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'calculator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CustomerGroupDetailFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroupDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CustomerListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Customer' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'title' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verified' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdministratorListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AdministratorListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CountryListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CountryListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GlobalSettingsDetailFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'GlobalSettingsDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'GlobalSettings' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguages' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PaymentMethodListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentMethodListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'PaymentMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProfileDetailFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProfileDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verified' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SellerDetailFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'SellerDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Seller' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SellerListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'SellerListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Seller' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ShippingMethodListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ShippingMethodListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShippingMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentHandlerCode' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ZoneDetailFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ZoneDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ZoneListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ZoneListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssetDetailQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'AssetDetailQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'asset' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'tags' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductsWithFacetValuesByIdsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductsWithFacetValuesByIds' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'products' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'in' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'ids' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetProductsWithFacetValuesByIdsQuery, + GetProductsWithFacetValuesByIdsQueryVariables +>; +export const GetVariantsWithFacetValuesByIdsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetVariantsWithFacetValuesByIds' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'in' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'ids' }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetVariantsWithFacetValuesByIdsQuery, + GetVariantsWithFacetValuesByIdsQueryVariables +>; +export const UpdateProductsBulkDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateProductsBulk' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateProductInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateProducts' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateVariantsBulkDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateVariantsBulk' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateProductVariantInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateProductVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CollectionDetailQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'CollectionDetailQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'collection' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Collection' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Collection' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Collection' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'breadcrumbs' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'inheritFilters' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'filters' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'parent' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'children' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetFacetDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetFacetDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetWithValues' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetWithValues' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Facet' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'values' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetValue' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetFacetListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetFacetList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'facets' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'FacetWithValueList' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetWithValueList' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Facet' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'valueList' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'take' }, + value: { kind: 'IntValue', value: '100' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'FacetValue' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductListQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ProductListQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'products' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'ProductListQueryProductFragment', + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductListQueryProductFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variantList' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductVariantDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductVariantDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'ProductVariantDetailQueryProductVariantFragment', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocations' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'take' }, + value: { kind: 'IntValue', value: '100' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategories' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'take' }, + value: { kind: 'IntValue', value: '100' }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isDefault' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'activeChannel' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultCurrencyCode' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariantDetailQueryProductVariantFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'prices' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLevels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockLocationId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'languageCode' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductVariantUpdateMutationDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'ProductVariantUpdateMutation' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateProductVariantInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateProductVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'ProductVariantDetailQueryProductVariantFragment', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariantDetailQueryProductVariantFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'prices' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLevels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockLocationId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'languageCode' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + ProductVariantUpdateMutationMutation, + ProductVariantUpdateMutationMutationVariables +>; +export const ProductVariantListQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ProductVariantListQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ProductVariantListOptions' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'ProductVariantListQueryProductVariantFragment', + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariantListQueryProductVariantFragment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'productId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLevels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockLocationId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductVariantsQuickJumpDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductVariantsQuickJump' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variants' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetStockLocationDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetStockLocationDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocation' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'StockLocationDetail' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StockLocationDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StockLocation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateStockLocationDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateStockLocation' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateStockLocationInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createStockLocation' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'StockLocationDetail' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StockLocationDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StockLocation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateStockLocationDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateStockLocation' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateStockLocationInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateStockLocation' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'StockLocationDetail' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StockLocationDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StockLocation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteStockLocationsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteStockLocations' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'DeleteStockLocationInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteStockLocations' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignStockLocationsToChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignStockLocationsToChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AssignStockLocationsToChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignStockLocationsToChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + AssignStockLocationsToChannelMutation, + AssignStockLocationsToChannelMutationVariables +>; +export const RemoveStockLocationsFromChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveStockLocationsFromChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RemoveStockLocationsFromChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeStockLocationsFromChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RemoveStockLocationsFromChannelMutation, + RemoveStockLocationsFromChannelMutationVariables +>; +export const GetStockLocationListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetStockLocationList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'StockLocationListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocations' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'StockLocationListItem' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StockLocationListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StockLocation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetActiveAdministratorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetActiveAdministrator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'activeAdministrator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Administrator' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Administrator' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateAdministratorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateAdministrator' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateAdministratorInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createAdministrator' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Administrator' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Administrator' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateAdministratorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateAdministrator' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateAdministratorInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateAdministrator' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Administrator' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Administrator' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateActiveAdministratorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateActiveAdministrator' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateActiveAdministratorInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateActiveAdministrator' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Administrator' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Administrator' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteAdministratorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteAdministrator' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteAdministrator' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteAdministratorsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteAdministrators' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteAdministrators' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetRolesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetRoles' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'RoleListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateRoleDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateRole' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateRoleInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createRole' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateRoleDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateRole' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateRoleInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateRole' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteRoleDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteRole' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteRole' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteRolesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteRoles' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteRoles' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignRoleToAdministratorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignRoleToAdministrator' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'administratorId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'roleId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignRoleToAdministrator' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'administratorId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'administratorId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'roleId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'roleId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Administrator' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Administrator' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AttemptLoginDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AttemptLogin' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'username' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'password' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'rememberMe' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'login' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'username' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'username' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'password' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'password' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'rememberMe' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'rememberMe' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CurrentUser' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CurrentUser' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CurrentUser' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const LogOutDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'LogOut' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'logout' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'success' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCurrentUserDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCurrentUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'me' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CurrentUser' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CurrentUser' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CurrentUser' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RequestStartedDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RequestStarted' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'requestStarted' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RequestCompletedDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RequestCompleted' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'requestCompleted' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetAsLoggedInDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetAsLoggedIn' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UserStatusInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setAsLoggedIn' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserStatus' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'UserStatus' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserStatus' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'administratorId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'username' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isLoggedIn' } }, + { kind: 'Field', name: { kind: 'Name', value: 'loginTime' } }, + { kind: 'Field', name: { kind: 'Name', value: 'activeChannelId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetAsLoggedOutDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetAsLoggedOut' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setAsLoggedOut' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserStatus' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'UserStatus' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserStatus' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'administratorId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'username' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isLoggedIn' } }, + { kind: 'Field', name: { kind: 'Name', value: 'loginTime' } }, + { kind: 'Field', name: { kind: 'Name', value: 'activeChannelId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetUiLanguageDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetUiLanguage' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'languageCode' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'LanguageCode' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'locale' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setUiLanguage' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'languageCode' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'languageCode' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'setUiLocale' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'locale' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'locale' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetUiLocaleDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetUiLocale' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'locale' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setUiLocale' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'locale' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'locale' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetDisplayUiExtensionPointsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetDisplayUiExtensionPoints' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'display' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setDisplayUiExtensionPoints' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'display' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'display' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + SetDisplayUiExtensionPointsMutation, + SetDisplayUiExtensionPointsMutationVariables +>; +export const SetMainNavExpandedDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetMainNavExpanded' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'expanded' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setMainNavExpanded' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'expanded' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'expanded' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetContentLanguageDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetContentLanguage' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'languageCode' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'LanguageCode' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setContentLanguage' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'languageCode' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'languageCode' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetUiThemeDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetUiTheme' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'theme' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setUiTheme' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'theme' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'theme' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetNetworkStatusDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetNetworkStatus' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'networkStatus' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'inFlightRequests' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetUserStatusDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetUserStatus' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'userStatus' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserStatus' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'UserStatus' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserStatus' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'administratorId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'username' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isLoggedIn' } }, + { kind: 'Field', name: { kind: 'Name', value: 'loginTime' } }, + { kind: 'Field', name: { kind: 'Name', value: 'activeChannelId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetUiStateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetUiState' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'uiState' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'language' } }, + { kind: 'Field', name: { kind: 'Name', value: 'locale' } }, + { kind: 'Field', name: { kind: 'Name', value: 'contentLanguage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'theme' } }, + { kind: 'Field', name: { kind: 'Name', value: 'displayUiExtensionPoints' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mainNavExpanded' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetClientStateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetClientState' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'networkStatus' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'inFlightRequests' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'userStatus' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserStatus' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'uiState' }, + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'language' } }, + { kind: 'Field', name: { kind: 'Name', value: 'locale' } }, + { kind: 'Field', name: { kind: 'Name', value: 'contentLanguage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'theme' } }, + { kind: 'Field', name: { kind: 'Name', value: 'displayUiExtensionPoints' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mainNavExpanded' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'UserStatus' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserStatus' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'administratorId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'username' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isLoggedIn' } }, + { kind: 'Field', name: { kind: 'Name', value: 'loginTime' } }, + { kind: 'Field', name: { kind: 'Name', value: 'activeChannelId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetActiveChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetActiveChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'channelId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setActiveChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'channelId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'channelId' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserStatus' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'UserStatus' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserStatus' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'administratorId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'username' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isLoggedIn' } }, + { kind: 'Field', name: { kind: 'Name', value: 'loginTime' } }, + { kind: 'Field', name: { kind: 'Name', value: 'activeChannelId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateUserChannelsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateUserChannels' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'channels' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CurrentUserChannelInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateUserChannels' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'channels' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'channels' } }, + }, + ], + directives: [{ kind: 'Directive', name: { kind: 'Name', value: 'client' } }], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'UserStatus' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'UserStatus' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'UserStatus' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'administratorId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'username' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isLoggedIn' } }, + { kind: 'Field', name: { kind: 'Name', value: 'loginTime' } }, + { kind: 'Field', name: { kind: 'Name', value: 'activeChannelId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCollectionFiltersDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCollectionFilters' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'collectionFilters' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ConfigurableOperationDefinition' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'required' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultValue' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCollectionListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCollectionList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CollectionListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'collections' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CollectionForList' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CollectionForList' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Collection' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'position' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'breadcrumbs' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'parentId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'children' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateCollectionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateCollection' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateCollectionInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createCollection' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Collection' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Collection' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Collection' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'breadcrumbs' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'inheritFilters' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'filters' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'parent' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'children' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateCollectionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateCollection' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateCollectionInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateCollection' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Collection' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Collection' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Collection' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'breadcrumbs' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'inheritFilters' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'filters' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'parent' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'children' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const MoveCollectionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'MoveCollection' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'MoveCollectionInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'moveCollection' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Collection' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Collection' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Collection' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'breadcrumbs' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'inheritFilters' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'filters' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'parent' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'children' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCollectionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCollection' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCollection' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCollectionsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCollections' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCollections' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCollectionContentsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCollectionContents' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariantListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'collection' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'options' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productId' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sku' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const PreviewCollectionContentsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'PreviewCollectionContents' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'PreviewCollectionVariantsInput' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariantListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'previewCollectionVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'productId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignCollectionsToChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignCollectionsToChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AssignCollectionsToChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignCollectionsToChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemoveCollectionsFromChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveCollectionsFromChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RemoveCollectionsFromChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeCollectionsFromChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RemoveCollectionsFromChannelMutation, + RemoveCollectionsFromChannelMutationVariables +>; +export const GetCustomerListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCustomerList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customers' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'title' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'verified' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateCustomerDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateCustomer' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateCustomerInput' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'password' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createCustomer' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'password' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'password' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Customer' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Address' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Address' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Customer' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Customer' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'title' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verified' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'addresses' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Address' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateCustomerDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateCustomer' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateCustomerInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateCustomer' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Customer' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Address' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Address' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Customer' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Customer' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'title' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verified' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'addresses' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Address' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCustomerDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCustomer' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCustomer' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCustomersDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCustomers' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCustomers' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateCustomerAddressDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateCustomerAddress' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'customerId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateAddressInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createCustomerAddress' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'customerId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'customerId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Address' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Address' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Address' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateCustomerAddressDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateCustomerAddress' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateAddressInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateCustomerAddress' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Address' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Address' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Address' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCustomerAddressDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCustomerAddress' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCustomerAddress' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'success' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateCustomerGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateCustomerGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateCustomerGroupInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createCustomerGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomerGroup' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateCustomerGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateCustomerGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateCustomerGroupInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateCustomerGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomerGroup' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCustomerGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCustomerGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCustomerGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCustomerGroupsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCustomerGroups' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCustomerGroups' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCustomerGroupsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCustomerGroups' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroupListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroups' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CustomerGroup' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCustomerGroupWithCustomersDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCustomerGroupWithCustomers' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomerGroup' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customers' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'options' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'emailAddress' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'firstName' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lastName' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddCustomersToGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AddCustomersToGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'groupId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'customerIds' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'addCustomersToGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'customerGroupId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'groupId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'customerIds' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'customerIds' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomerGroup' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemoveCustomersFromGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveCustomersFromGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'groupId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'customerIds' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeCustomersFromGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'customerGroupId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'groupId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'customerIds' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'customerIds' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomerGroup' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCustomerHistoryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCustomerHistory' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'HistoryEntryListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'history' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'options' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'isPublic' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'administrator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'firstName', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'lastName', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddNoteToCustomerDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AddNoteToCustomer' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'AddNoteToCustomerInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'addNoteToCustomer' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateCustomerNoteDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateCustomerNote' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateCustomerNoteInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateCustomerNote' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCustomerNoteDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCustomerNote' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCustomerNote' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateFacetDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateFacet' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateFacetInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createFacet' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetWithValues' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetWithValues' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Facet' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'values' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetValue' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateFacetDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateFacet' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateFacetInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateFacet' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetWithValues' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetWithValues' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Facet' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPrivate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'values' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetValue' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteFacetDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteFacet' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteFacet' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'force' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteFacetsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteFacets' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteFacets' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'force' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateFacetValuesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateFacetValues' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateFacetValueInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createFacetValues' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetValue' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateFacetValuesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateFacetValues' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateFacetValueInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateFacetValues' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FacetValue' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteFacetValuesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteFacetValues' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteFacetValues' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'force' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetFacetValueListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetFacetValueList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValueListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'FacetValue' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FacetValue' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FacetValue' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignFacetsToChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignFacetsToChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AssignFacetsToChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignFacetsToChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemoveFacetsFromChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveFacetsFromChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RemoveFacetsFromChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeFacetsFromChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'Facet' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'FacetInUseError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'variantCount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'productCount' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetOrderListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetOrderList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'orders' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Order' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Order' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'order' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SettlePaymentDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SettlePayment' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'settlePayment' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'SettlePaymentError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'paymentErrorMessage' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'PaymentStateTransitionError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionError' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'OrderStateTransitionError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionError' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Payment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CancelPaymentDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CancelPayment' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'cancelPayment' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CancelPaymentError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'paymentErrorMessage' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'PaymentStateTransitionError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionError' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Payment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TransitionPaymentToStateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'TransitionPaymentToState' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'state' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionPaymentToState' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'state' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'state' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'PaymentStateTransitionError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionError' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Payment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateFulfillmentDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateFulfillment' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'FulfillOrderInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'addFulfillmentToOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateFulfillmentError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerError' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'FulfillmentStateTransitionError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionError' }, + }, + ], + }, + }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CancelOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CancelOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CancelOrderInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'cancelOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RefundOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RefundOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'RefundOrderInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'refundOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Refund' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Refund' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Refund' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SettleRefundDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SettleRefund' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'SettleRefundInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'settleRefund' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Refund' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Refund' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Refund' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetOrderHistoryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetOrderHistory' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'HistoryEntryListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'order' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'history' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'options' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'isPublic' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'administrator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'firstName', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'lastName', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'data' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddNoteToOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AddNoteToOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'AddNoteToOrderInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'addNoteToOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateOrderNoteDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateOrderNote' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateOrderNoteInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateOrderNote' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteOrderNoteDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteOrderNote' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteOrderNote' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TransitionOrderToStateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'TransitionOrderToState' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'state' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionOrderToState' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'state' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'state' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Order' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'OrderStateTransitionError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionError' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Order' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateOrderCustomFieldsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateOrderCustomFields' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateOrderInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setOrderCustomFields' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Order' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Order' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TransitionFulfillmentToStateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'TransitionFulfillmentToState' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'state' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionFulfillmentToState' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'state' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'state' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'FulfillmentStateTransitionError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'transitionError' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + TransitionFulfillmentToStateMutation, + TransitionFulfillmentToStateMutationVariables +>; +export const ModifyOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'ModifyOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ModifyOrderInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'modifyOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddManualPaymentDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AddManualPayment' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ManualPaymentInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'addManualPaymentToOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateDraftOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateDraftOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createDraftOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteDraftOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteDraftOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteDraftOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddItemToDraftOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AddItemToDraftOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AddItemToDraftOrderInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'addItemToDraftOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AdjustDraftOrderLineDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AdjustDraftOrderLine' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AdjustDraftOrderLineInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'adjustDraftOrderLine' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemoveDraftOrderLineDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveDraftOrderLine' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderLineId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeDraftOrderLine' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderLineId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderLineId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetCustomerForDraftOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetCustomerForDraftOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'customerId' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateCustomerInput' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setCustomerForDraftOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'customerId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'customerId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SetDraftOrderShippingAddressDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetDraftOrderShippingAddress' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateAddressInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setDraftOrderShippingAddress' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + SetDraftOrderShippingAddressMutation, + SetDraftOrderShippingAddressMutationVariables +>; +export const SetDraftOrderBillingAddressDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetDraftOrderBillingAddress' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateAddressInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setDraftOrderBillingAddress' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + SetDraftOrderBillingAddressMutation, + SetDraftOrderBillingAddressMutationVariables +>; +export const ApplyCouponCodeToDraftOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'ApplyCouponCodeToDraftOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'couponCode' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'applyCouponCodeToDraftOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'couponCode' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'couponCode' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + ApplyCouponCodeToDraftOrderMutation, + ApplyCouponCodeToDraftOrderMutationVariables +>; +export const RemoveCouponCodeFromDraftOrderDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveCouponCodeFromDraftOrder' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'couponCode' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeCouponCodeFromDraftOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'couponCode' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'couponCode' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RemoveCouponCodeFromDraftOrderMutation, + RemoveCouponCodeFromDraftOrderMutationVariables +>; +export const DraftOrderEligibleShippingMethodsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'DraftOrderEligibleShippingMethods' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'eligibleShippingMethodsForDraftOrder' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + DraftOrderEligibleShippingMethodsQuery, + DraftOrderEligibleShippingMethodsQueryVariables +>; +export const SetDraftOrderShippingMethodDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SetDraftOrderShippingMethod' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'shippingMethodId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'setDraftOrderShippingMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'orderId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'shippingMethodId' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'shippingMethodId' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + SetDraftOrderShippingMethodMutation, + SetDraftOrderShippingMethodMutationVariables +>; +export const UpdateProductDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateProduct' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateProductInput' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'variantListOptions' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariantListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateProduct' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductDetail' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variantList' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'variantListOptions' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductVariant' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariant' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateProductDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateProduct' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateProductInput' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'variantListOptions' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariantListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createProduct' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductDetail' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variantList' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'variantListOptions' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductVariant' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariant' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteProductDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteProduct' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteProduct' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteProductsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteProducts' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteProducts' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateProductVariantsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateProductVariants' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateProductVariantInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createProductVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariant' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateProductVariantsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateProductVariants' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateProductVariantInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateProductVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariant' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateProductOptionGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateProductOptionGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateProductOptionGroupInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createProductOptionGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroupWithOptions' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroupWithOptions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductOptionGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductOptionGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productOptionGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroupWithOptions' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroupWithOptions' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddOptionToGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AddOptionToGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateProductOptionInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createProductOption' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddOptionGroupToProductDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AddOptionGroupToProduct' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'optionGroupId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'addOptionGroupToProduct' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'productId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'optionGroupId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'optionGroupId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemoveOptionGroupFromProductDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveOptionGroupFromProduct' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'optionGroupId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeOptionGroupFromProduct' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'productId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'optionGroupId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'optionGroupId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'force' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'Product' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'createdAt', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'updatedAt', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RemoveOptionGroupFromProductMutation, + RemoveOptionGroupFromProductMutationVariables +>; +export const GetProductWithVariantsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductWithVariants' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'variantListOptions' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariantListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductDetail' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variantList' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'variantListOptions' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductVariant' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariant' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductSimpleDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductSimple' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Asset' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'products' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductForList' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductForList' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variantList' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductOptionGroupsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductOptionGroups' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'filterTerm' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productOptionGroups' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'filterTerm' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'filterTerm' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAssetListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAssetList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'AssetListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Asset' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'tags' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Tag' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAssetDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAsset' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'asset' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'tags' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateAssetsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateAssets' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateAssetInput' }, + }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createAssets' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'Asset' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'tags' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Tag' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ErrorResult' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateAssetDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateAsset' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateAssetInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateAsset' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'tags' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteAssetsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteAssets' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'DeleteAssetsInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteAssets' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const SearchProductsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'SearchProducts' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'SearchInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'search' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'productId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'productName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'slug' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'priceWithTax' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'PriceRange' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'max' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'SinglePrice' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'value', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'preview' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'x' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'y' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariantId' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariantName' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariantAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'preview' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'x' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'y' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'channelIds' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'count' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValue' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'createdAt', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'updatedAt', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ProductSelectorSearchDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ProductSelectorSearch' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'term' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'take' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'search' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'groupByProduct' }, + value: { kind: 'BooleanValue', value: false }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'term' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'term' }, + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'take' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'take' }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariantId' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariantName' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'preview' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'x' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'y' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'price' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'SinglePrice' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'value', + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'priceWithTax' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'SinglePrice' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'value', + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateProductOptionGroupDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateProductOptionGroup' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateProductOptionGroupInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateProductOptionGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateProductOptionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateProductOption' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateProductOptionInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateProductOption' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteProductOptionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteProductOption' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteProductOption' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteProductVariantDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteProductVariant' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteProductVariant' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteProductVariantsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteProductVariants' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteProductVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductVariantOptionsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductVariantOptions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'optionGroups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductOption' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'variants' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'groupId' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOptionGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOptionGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignProductsToChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignProductsToChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AssignProductsToChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignProductsToChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignVariantsToChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignVariantsToChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AssignProductVariantsToChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignProductVariantsToChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemoveProductsFromChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveProductsFromChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RemoveProductsFromChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeProductsFromChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemoveVariantsFromChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveVariantsFromChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RemoveProductVariantsFromChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeProductVariantsFromChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductVariantDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductVariant' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockLevel' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'preview' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'x' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'y' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductVariantListSimpleDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductVariantListSimple' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ProductVariantListOptions' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'productId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'preview' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'x' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'y' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'preview', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'focalPoint', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { + kind: 'Name', + value: 'x', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'y', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductVariantListForProductDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductVariantListForProduct' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ProductVariantListOptions' }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'productId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductVariant' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductOption' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductOption' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductVariant' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductVariant' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { kind: 'Field', name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRateApplied' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductOption' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facetValues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assets' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetProductVariantListForProductQuery, + GetProductVariantListForProductQueryVariables +>; +export const GetProductVariantListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductVariantList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ProductVariantListOptions' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'trackInventory' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'outOfStockThreshold' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLevels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocationId' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockOnHand' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockAllocated' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'createdAt', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'updatedAt', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Asset' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTagListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTagList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'TagListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'tags' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTagDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTag' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'tag' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateTagDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateTag' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateTagInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createTag' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateTagDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateTag' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateTagInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateTag' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteTagDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteTag' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteTag' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAdjustmentOperationsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAdjustmentOperations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'promotionConditions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotionActions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ConfigurableOperationDefinition' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'required' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultValue' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreatePromotionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreatePromotion' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreatePromotionInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createPromotion' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Promotion' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Promotion' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Promotion' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'perCustomerUsageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'conditions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'actions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdatePromotionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdatePromotion' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdatePromotionInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updatePromotion' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Promotion' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Promotion' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Promotion' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'perCustomerUsageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'conditions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'actions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeletePromotionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeletePromotion' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deletePromotion' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeletePromotionsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeletePromotions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deletePromotions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAvailableCountriesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAvailableCountries' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'countries' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'enabled' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'eq' }, + value: { + kind: 'BooleanValue', + value: true, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateCountryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateCountry' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateCountryInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createCountry' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateCountryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateCountry' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateCountryInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateCountry' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCountryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCountry' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCountry' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteCountriesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteCountries' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteCountries' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetZoneDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetZone' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Zone' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Zone' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'members' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateZoneDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateZone' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateZoneInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createZone' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Zone' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Zone' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'members' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateZoneDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateZone' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateZoneInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateZone' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Zone' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Zone' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'members' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteZoneDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteZone' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteZone' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteZonesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteZones' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteZones' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AddMembersToZoneDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AddMembersToZone' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'zoneId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'memberIds' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'addMembersToZone' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'zoneId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'zoneId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'memberIds' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'memberIds' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Zone' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Zone' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'members' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemoveMembersFromZoneDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveMembersFromZone' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'zoneId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'memberIds' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeMembersFromZone' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'zoneId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'zoneId' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'memberIds' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'memberIds' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Zone' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Zone' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'members' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTaxCategoriesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTaxCategories' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxCategoryListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategories' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TaxCategory' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxCategory' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxCategory' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isDefault' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateTaxCategoryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateTaxCategory' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateTaxCategoryInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createTaxCategory' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TaxCategory' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxCategory' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxCategory' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isDefault' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateTaxCategoryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateTaxCategory' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateTaxCategoryInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateTaxCategory' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TaxCategory' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxCategory' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxCategory' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isDefault' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteTaxCategoryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteTaxCategory' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteTaxCategory' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteTaxCategoriesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteTaxCategories' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteTaxCategories' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTaxRateListSimpleDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTaxRateListSimple' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxRateListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRates' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'category' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateTaxRateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateTaxRate' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateTaxRateInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createTaxRate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TaxRate' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxRate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxRate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'category' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroup' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateTaxRateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateTaxRate' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateTaxRateInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateTaxRate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TaxRate' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxRate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxRate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'category' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroup' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteTaxRateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteTaxRate' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteTaxRate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteTaxRatesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteTaxRates' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteTaxRates' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetChannelsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetChannels' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ChannelListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Channel' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Channel' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Channel' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguageCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultCurrencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultLanguageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultShippingZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultTaxZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetSellersDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetSellers' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'SellerListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sellers' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Seller' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Seller' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Seller' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateSellerDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateSeller' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateSellerInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createSeller' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Seller' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Seller' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Seller' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateSellerDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateSeller' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateSellerInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateSeller' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Seller' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Seller' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Seller' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteSellerDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteSeller' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteSeller' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteSellersDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteSellers' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteSellers' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetActiveChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetActiveChannel' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'activeChannel' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Channel' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Channel' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Channel' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguageCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultCurrencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultLanguageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultShippingZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultTaxZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CreateChannelInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Channel' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Channel' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Channel' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguageCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultCurrencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultLanguageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultShippingZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultTaxZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateChannelInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Channel' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Channel' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Channel' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguageCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultCurrencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultLanguageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultShippingZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultTaxZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteChannelsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteChannels' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteChannels' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetPaymentMethodOperationsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPaymentMethodOperations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'paymentMethodEligibilityCheckers' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'paymentMethodHandlers' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ConfigurableOperationDefinition' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'required' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultValue' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreatePaymentMethodDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreatePaymentMethod' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreatePaymentMethodInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createPaymentMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'PaymentMethod' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentMethod' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'PaymentMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'checker' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'handler' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdatePaymentMethodDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdatePaymentMethod' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdatePaymentMethodInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updatePaymentMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'PaymentMethod' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentMethod' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'PaymentMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'checker' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'handler' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeletePaymentMethodDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeletePaymentMethod' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deletePaymentMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'force' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeletePaymentMethodsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeletePaymentMethods' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deletePaymentMethods' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'force' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'force' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetGlobalSettingsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetGlobalSettings' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'globalSettings' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'GlobalSettings' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'GlobalSettings' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'GlobalSettings' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguages' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'serverConfig' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'permissions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'assignable' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'orderProcess' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateGlobalSettingsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateGlobalSettings' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateGlobalSettingsInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateGlobalSettings' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'GlobalSettings' } }, + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ErrorResult' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'GlobalSettings' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'GlobalSettings' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguages' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'serverConfig' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'permissions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'assignable' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'orderProcess' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ErrorResult' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ErrorResult' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetServerConfigDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetServerConfig' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'globalSettings' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'serverConfig' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'orderProcess' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'to' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'permittedAssetTypes' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'permissions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'assignable' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customFieldConfig' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'Address' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Administrator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Asset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Channel' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Collection' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'CustomerGroup' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Facet' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'FacetValue' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Fulfillment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'GlobalSettings' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Order' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'OrderLine' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'PaymentMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'ProductOption' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'ProductOptionGroup', + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'ProductVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Promotion' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Region' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'ShippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'StockLocation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'TaxCategory' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'TaxRate' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'User' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'Zone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'CustomFields', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFieldConfig' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'description' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'readonly' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nullable' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'StringCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StringCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pattern' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'options' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'label' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'LocaleStringCustomField' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleStringCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pattern' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TextCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TextCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'LocaleTextCustomField' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleTextCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'BooleanCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'BooleanCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'IntCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'IntCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'intStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'FloatCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'FloatCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'floatStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'DateTimeCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'DateTimeCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeMin' }, + name: { kind: 'Name', value: 'min' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeMax' }, + name: { kind: 'Name', value: 'max' }, + }, + { + kind: 'Field', + alias: { kind: 'Name', value: 'datetimeStep' }, + name: { kind: 'Name', value: 'step' }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'RelationCustomField' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'RelationCustomFieldConfig' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'CustomFieldConfig' } }, + { kind: 'Field', name: { kind: 'Name', value: 'entity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'scalarFields' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomFields' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomField' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'StringCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'StringCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleStringCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'LocaleStringCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'TextCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TextCustomField' } }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'LocaleTextCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'LocaleTextCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'BooleanCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'BooleanCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'IntCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'IntCustomField' } }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'FloatCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'FloatCustomField' } }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'DateTimeCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'DateTimeCustomField' }, + }, + ], + }, + }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RelationCustomFieldConfig' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'RelationCustomField' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetJobInfoDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetJobInfo' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'job' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'jobId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'JobInfo' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'JobInfo' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Job' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'settledAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'queueName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'progress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'duration' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'error' } }, + { kind: 'Field', name: { kind: 'Name', value: 'retries' } }, + { kind: 'Field', name: { kind: 'Name', value: 'attempts' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAllJobsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAllJobs' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'JobListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'jobs' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'JobInfo' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'JobInfo' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Job' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'settledAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'queueName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'progress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'duration' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'error' } }, + { kind: 'Field', name: { kind: 'Name', value: 'retries' } }, + { kind: 'Field', name: { kind: 'Name', value: 'attempts' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetJobsByIdDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetJobsById' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'jobsById' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'jobIds' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'JobInfo' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'JobInfo' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Job' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'settledAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'queueName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'progress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'duration' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'error' } }, + { kind: 'Field', name: { kind: 'Name', value: 'retries' } }, + { kind: 'Field', name: { kind: 'Name', value: 'attempts' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetJobQueueListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetJobQueueList' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'jobQueues' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'running' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CancelJobDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CancelJob' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'cancelJob' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'jobId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'JobInfo' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'JobInfo' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Job' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'settledAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'queueName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'progress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'duration' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'error' } }, + { kind: 'Field', name: { kind: 'Name', value: 'retries' } }, + { kind: 'Field', name: { kind: 'Name', value: 'attempts' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ReindexDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'Reindex' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'reindex' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'JobInfo' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'JobInfo' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Job' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'settledAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'queueName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'progress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'duration' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } }, + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'error' } }, + { kind: 'Field', name: { kind: 'Name', value: 'retries' } }, + { kind: 'Field', name: { kind: 'Name', value: 'attempts' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetPendingSearchIndexUpdatesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPendingSearchIndexUpdates' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'pendingSearchIndexUpdates' } }], + }, + }, + ], +} as unknown as DocumentNode; +export const RunPendingSearchIndexUpdatesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RunPendingSearchIndexUpdates' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'runPendingSearchIndexUpdates' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'success' } }], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RunPendingSearchIndexUpdatesMutation, + RunPendingSearchIndexUpdatesMutationVariables +>; +export const GetShippingMethodOperationsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetShippingMethodOperations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingEligibilityCheckers' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingCalculators' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlers' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperationDef' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ConfigurableOperationDefinition' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'required' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultValue' } }, + { kind: 'Field', name: { kind: 'Name', value: 'list' } }, + { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CreateShippingMethodDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateShippingMethod' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateShippingMethodInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'createShippingMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingMethod' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ShippingMethod' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShippingMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentHandlerCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'checker' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'calculator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateShippingMethodDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateShippingMethod' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateShippingMethodInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateShippingMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingMethod' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ShippingMethod' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShippingMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentHandlerCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'checker' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'calculator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteShippingMethodDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteShippingMethod' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteShippingMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const DeleteShippingMethodsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'DeleteShippingMethods' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'deleteShippingMethods' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'ids' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'result' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TestShippingMethodDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'TestShippingMethod' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'TestShippingMethodInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'testShippingMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'eligible' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'quote' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const TestEligibleShippingMethodsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'TestEligibleShippingMethods' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'TestEligibleShippingMethodsInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'testEligibleShippingMethods' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssetPreviewQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'AssetPreviewQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'asset' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'tags' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductVariantsForMultiSelectorDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductVariantsForMultiSelector' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ProductVariantListOptions' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariants' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'productId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'trackInventory' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'outOfStockThreshold' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLevels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocationId' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockOnHand' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockAllocated' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'stockLocation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'createdAt', + }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'updatedAt', + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'useGlobalOutOfStockThreshold' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Asset' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetProductVariantsForMultiSelectorQuery, + GetProductVariantsForMultiSelectorQueryVariables +>; +export const GetZoneSelectorListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetZoneSelectorList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ZoneListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'zones' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RelationAssetInputQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'RelationAssetInputQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'asset' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'tags' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Tag' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Asset' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fileSize' } }, + { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + { kind: 'Field', name: { kind: 'Name', value: 'source' } }, + { kind: 'Field', name: { kind: 'Name', value: 'width' } }, + { kind: 'Field', name: { kind: 'Name', value: 'height' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'focalPoint' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'x' } }, + { kind: 'Field', name: { kind: 'Name', value: 'y' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Tag' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Tag' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CustomerDetailQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'CustomerDetailQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderListOptions' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Customer' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'groups' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'orders' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'orderListOptions' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'type' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'state' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'total' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'totalWithTax' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'currencyCode' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'updatedAt' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'orderPlacedAt' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Address' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Address' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Customer' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Customer' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'title' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verified' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'addresses' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Address' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCustomerGroupDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCustomerGroupDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroup' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CustomerGroupDetail' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroupDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCustomerGroupListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCustomerGroupList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroupListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroups' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CustomerGroup' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerGroup' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerGroup' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const CustomerListQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'CustomerListQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CustomerListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customers' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CustomerListItem' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CustomerListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Customer' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'title' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verified' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetLatestOrdersDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetLatestOrders' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'orders' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'firstName' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lastName' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetOrderChartDataDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetOrderChartData' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'refresh' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'types' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'ListType', + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'MetricType' } }, + }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'metricSummary' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'interval' }, + value: { kind: 'EnumValue', value: 'Daily' }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'types' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'types' }, + }, + }, + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'refresh' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'refresh' }, + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'interval' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'entries' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'label' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetOrderSummaryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetOrderSummary' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'start' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'DateTime' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'end' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'DateTime' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'orders' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'orderPlacedAt' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'between' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'start', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'start', + }, + }, + }, + { + kind: 'ObjectField', + name: { + kind: 'Name', + value: 'end', + }, + value: { + kind: 'Variable', + name: { + kind: 'Name', + value: 'end', + }, + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetPromotionDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPromotionDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'promotion' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Promotion' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Promotion' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Promotion' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'perCustomerUsageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'conditions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'actions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignPromotionsToChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignPromotionsToChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AssignPromotionsToChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignPromotionsToChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RemovePromotionsFromChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemovePromotionsFromChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RemovePromotionsFromChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removePromotionsFromChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RemovePromotionsFromChannelMutation, + RemovePromotionsFromChannelMutationVariables +>; +export const GetPromotionListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPromotionList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'PromotionListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Promotion' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Promotion' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Promotion' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'perCustomerUsageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, + { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'conditions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'actions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAddManualPaymentMethodListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAddManualPaymentMethodList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'PaymentMethodListOptions' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'paymentMethods' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCouponCodeSelectorPromotionListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCouponCodeSelectorPromotionList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'PromotionListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + GetCouponCodeSelectorPromotionListQuery, + GetCouponCodeSelectorPromotionListQueryVariables +>; +export const OrderDetailQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'OrderDetailQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'order' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Discount' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Discount' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderLine' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderLine' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'preview' } }], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lineTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePrice' } }, + { kind: 'Field', name: { kind: 'Name', value: 'discountedLinePriceWithTax' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderAddress' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'OrderAddress' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'country' } }, + { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Payment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refunds' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'items' } }, + { kind: 'Field', name: { kind: 'Name', value: 'adjustment' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, + { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Fulfillment' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Fulfillment' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'method' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'OrderDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Order' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'aggregateOrder' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'nextStates' } }, + { kind: 'Field', name: { kind: 'Name', value: 'active' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderLine' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'price' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'discounts' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Discount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'promotions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'couponCode' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, + { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, + { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingLines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillmentHandlerCode' }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'taxSummary' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxBase' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, + { kind: 'Field', name: { kind: 'Name', value: 'taxTotal' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'billingAddress' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderAddress' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentWithRefunds' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'fulfillments' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Fulfillment' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'modifications' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, + { kind: 'Field', name: { kind: 'Name', value: 'note' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'payment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'lines' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'orderLineId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'refund' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'total' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'surcharges' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCustomerAddressesDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCustomerAddresses' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'customerId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'customer' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'customerId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'addresses' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Address' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Address' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Address' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fullName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'company' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, + { kind: 'Field', name: { kind: 'Name', value: 'streetLine2' } }, + { kind: 'Field', name: { kind: 'Name', value: 'city' } }, + { kind: 'Field', name: { kind: 'Name', value: 'province' } }, + { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'phoneNumber' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetSellerOrdersDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetSellerOrders' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'order' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sellerOrders' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'code' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetZoneMembersDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetZoneMembers' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'zoneId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'zoneId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'members' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAdministratorDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAdministratorDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'administrator' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Administrator' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Administrator' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAdministratorListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAdministratorList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'AdministratorListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'administrators' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AdministratorListItem' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AdministratorListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'identifier' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetChannelDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetChannelDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'channel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Channel' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Channel' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Channel' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguageCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultCurrencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultLanguageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultShippingZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultTaxZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetChannelListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetChannelList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ChannelListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'Channel' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Channel' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Channel' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguageCodes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultCurrencyCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'defaultLanguageCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultShippingZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'defaultTaxZone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCountryDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCountryDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'country' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Country' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetCountryListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetCountryList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'CountryListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'countries' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'CountryListItem' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'CountryListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Country' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetGlobalSettingsDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetGlobalSettingsDetail' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'globalSettings' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'GlobalSettingsDetail' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'GlobalSettingsDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'GlobalSettings' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'availableLanguages' } }, + { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, + { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetPaymentMethodDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPaymentMethodDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'paymentMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'PaymentMethod' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentMethod' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'PaymentMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'checker' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'handler' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignPaymentMethodsToChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignPaymentMethodsToChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AssignPaymentMethodsToChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignPaymentMethodsToChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + AssignPaymentMethodsToChannelMutation, + AssignPaymentMethodsToChannelMutationVariables +>; +export const RemovePaymentMethodsFromChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemovePaymentMethodsFromChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RemovePaymentMethodsFromChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removePaymentMethodsFromChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RemovePaymentMethodsFromChannelMutation, + RemovePaymentMethodsFromChannelMutationVariables +>; +export const GetPaymentMethodListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetPaymentMethodList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'PaymentMethodListOptions' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'paymentMethods' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'PaymentMethodListItem' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'PaymentMethodListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'PaymentMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProfileDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProfileDetail' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'activeAdministrator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProfileDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProfileDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Administrator' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'firstName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'emailAddress' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'lastLogin' } }, + { kind: 'Field', name: { kind: 'Name', value: 'verified' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetRoleDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetRoleDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'role' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetRoleListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetRoleList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'RoleListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'roles' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Role' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'Role' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Role' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'channels' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'token' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetSellerDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetSellerDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'seller' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'SellerDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'SellerDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Seller' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetSellerListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetSellerList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'SellerListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'sellers' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'SellerListItem' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'SellerListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Seller' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetShippingMethodDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetShippingMethodDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethod' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingMethod' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ConfigurableOperation' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'args' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ShippingMethod' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShippingMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentHandlerCode' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'checker' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'calculator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ConfigurableOperation' }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'translations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const AssignShippingMethodsToChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'AssignShippingMethodsToChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AssignShippingMethodsToChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'assignShippingMethodsToChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + AssignShippingMethodsToChannelMutation, + AssignShippingMethodsToChannelMutationVariables +>; +export const RemoveShippingMethodsFromChannelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RemoveShippingMethodsFromChannel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'RemoveShippingMethodsFromChannelInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'removeShippingMethodsFromChannel' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode< + RemoveShippingMethodsFromChannelMutation, + RemoveShippingMethodsFromChannelMutationVariables +>; +export const GetShippingMethodListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetShippingMethodList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ShippingMethodListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'shippingMethods' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ShippingMethodListItem' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ShippingMethodListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShippingMethod' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'code' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'fulfillmentHandlerCode' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTaxCategoryDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTaxCategoryDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategory' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TaxCategory' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxCategory' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxCategory' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isDefault' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTaxCategoryListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTaxCategoryList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxCategoryListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'taxCategories' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TaxCategory' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxCategory' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxCategory' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isDefault' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTaxRateDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTaxRateDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'TaxRate' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxRate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxRate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'category' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroup' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetTaxRateListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetTaxRateList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxRateListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'taxRates' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'TaxRate' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'TaxRate' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'TaxRate' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, + { kind: 'Field', name: { kind: 'Name', value: 'value' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'category' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customerGroup' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetZoneDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetZoneDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'zone' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ZoneDetail' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ZoneDetail' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetZoneListDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetZoneList' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ZoneListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'zones' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ZoneListItem' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ZoneListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Zone' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; diff --git a/packages/admin-ui/src/lib/core/src/extension/add-action-bar-item.ts b/packages/admin-ui/src/lib/core/src/extension/add-action-bar-item.ts index 73ce38fc55..3d2630e1b9 100644 --- a/packages/admin-ui/src/lib/core/src/extension/add-action-bar-item.ts +++ b/packages/admin-ui/src/lib/core/src/extension/add-action-bar-item.ts @@ -5,18 +5,18 @@ import { NavBuilderService } from '../providers/nav-builder/nav-builder.service' /** * @description * Adds a button to the ActionBar at the top right of each list or detail view. The locationId can - * be determined by inspecting the DOM and finding the element and its + * be determined by inspecting the DOM and finding the `` element and its * `data-location-id` attribute. * * This should be used in the NgModule `providers` array of your ui extension module. * * @example - * ```TypeScript + * ```ts * \@NgModule({ * imports: [SharedModule], * providers: [ * addActionBarItem({ - * id: 'print-invoice' + * id: 'print-invoice', * label: 'Print Invoice', * locationId: 'order-detail', * routerLink: ['/extensions/invoicing'], diff --git a/packages/admin-ui/src/lib/core/src/extension/add-nav-menu-item.ts b/packages/admin-ui/src/lib/core/src/extension/add-nav-menu-item.ts index 14ca735d08..10f2f6b659 100644 --- a/packages/admin-ui/src/lib/core/src/extension/add-nav-menu-item.ts +++ b/packages/admin-ui/src/lib/core/src/extension/add-nav-menu-item.ts @@ -11,7 +11,7 @@ import { NavBuilderService } from '../providers/nav-builder/nav-builder.service' * This should be used in the NgModule `providers` array of your ui extension module. * * @example - * ```TypeScript + * ```ts * \@NgModule({ * imports: [SharedModule], * providers: [ @@ -51,7 +51,7 @@ export function addNavMenuSection(config: NavMenuSection, before?: string): Prov * This should be used in the NgModule `providers` array of your ui extension module. * * @example - * ```TypeScript + * ```ts * \@NgModule({ * imports: [SharedModule], * providers: [ diff --git a/packages/admin-ui/src/lib/core/src/extension/register-form-input-component.ts b/packages/admin-ui/src/lib/core/src/extension/register-form-input-component.ts index a78763058a..43f98e862a 100644 --- a/packages/admin-ui/src/lib/core/src/extension/register-form-input-component.ts +++ b/packages/admin-ui/src/lib/core/src/extension/register-form-input-component.ts @@ -9,7 +9,7 @@ import { ComponentRegistryService } from '../providers/component-registry/compon * a custom field. * * @example - * ```TypeScript + * ```ts * \@NgModule({ * imports: [SharedModule], * declarations: [MyCustomFieldControl], @@ -23,7 +23,7 @@ import { ComponentRegistryService } from '../providers/component-registry/compon * This input component can then be used in a custom field: * * @example - * ```TypeScript + * ```ts * const config = { * // ... * customFields: { @@ -41,7 +41,7 @@ import { ComponentRegistryService } from '../providers/component-registry/compon * or with an argument of a {@link ConfigurableOperationDef}: * * @example - * ```TypeScript + * ```ts * args: { * rrp: { type: 'int', ui: { component: 'my-custom-input' } }, * } diff --git a/packages/admin-ui/src/lib/core/src/providers/nav-builder/nav-builder-types.ts b/packages/admin-ui/src/lib/core/src/providers/nav-builder/nav-builder-types.ts index 2ce48cba81..9e5854a386 100644 --- a/packages/admin-ui/src/lib/core/src/providers/nav-builder/nav-builder-types.ts +++ b/packages/admin-ui/src/lib/core/src/providers/nav-builder/nav-builder-types.ts @@ -98,9 +98,18 @@ export interface ActionBarItem { label: string; locationId: ActionBarLocationId; /** + * @description + * Deprecated since v2.1.0 - use `buttonState` instead. * @deprecated - use `buttonState` instead. */ disabled?: Observable; + /** + * @description + * A function which returns an observable of the button state, allowing you to + * dynamically enable/disable or show/hide the button. + * + * @since 2.1.0 + */ buttonState?: (context: ActionBarContext) => Observable; onClick?: (event: MouseEvent, context: ActionBarContext) => void; routerLink?: RouterLinkDefinition; diff --git a/packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts b/packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts index eda8e521ad..257372235f 100644 --- a/packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts +++ b/packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts @@ -3962,7 +3962,7 @@ export type PaymentStateTransitionError = ErrorResult & { * based on the activeUserId of the current session. As a result, the resolver code looks like this: * * @example - * ```TypeScript + * ```ts * \@Query() * \@Allow(Permission.Owner) * async activeCustomer(\@Ctx() ctx: RequestContext): Promise { diff --git a/packages/common/src/generated-types.ts b/packages/common/src/generated-types.ts index f2cd2445e6..cd63210c4a 100644 --- a/packages/common/src/generated-types.ts +++ b/packages/common/src/generated-types.ts @@ -5,385 +5,406 @@ export type Exact = { [K in keyof T]: T[K] export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type Incremental = + | T + | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string | number; output: string | number; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - DateTime: { input: any; output: any; } - JSON: { input: any; output: any; } - Money: { input: number; output: number; } - Upload: { input: any; output: any; } -}; - -export type AddFulfillmentToOrderResult = CreateFulfillmentError | EmptyOrderLineSelectionError | Fulfillment | FulfillmentStateTransitionError | InsufficientStockOnHandError | InvalidFulfillmentHandlerError | ItemsAlreadyFulfilledError; + ID: { input: string | number; output: string | number }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + DateTime: { input: any; output: any }; + JSON: { input: any; output: any }; + Money: { input: number; output: number }; + Upload: { input: any; output: any }; +}; + +export type AddFulfillmentToOrderResult = + | CreateFulfillmentError + | EmptyOrderLineSelectionError + | Fulfillment + | FulfillmentStateTransitionError + | InsufficientStockOnHandError + | InvalidFulfillmentHandlerError + | ItemsAlreadyFulfilledError; export type AddItemInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type AddItemToDraftOrderInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type AddManualPaymentToOrderResult = ManualPaymentStateError | Order; export type AddNoteToCustomerInput = { - id: Scalars['ID']['input']; - isPublic: Scalars['Boolean']['input']; - note: Scalars['String']['input']; + id: Scalars['ID']['input']; + isPublic: Scalars['Boolean']['input']; + note: Scalars['String']['input']; }; export type AddNoteToOrderInput = { - id: Scalars['ID']['input']; - isPublic: Scalars['Boolean']['input']; - note: Scalars['String']['input']; + id: Scalars['ID']['input']; + isPublic: Scalars['Boolean']['input']; + note: Scalars['String']['input']; }; export type Address = Node & { - __typename?: 'Address'; - city?: Maybe; - company?: Maybe; - country: Country; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - defaultBillingAddress?: Maybe; - defaultShippingAddress?: Maybe; - fullName?: Maybe; - id: Scalars['ID']['output']; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1: Scalars['String']['output']; - streetLine2?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Address'; + city?: Maybe; + company?: Maybe; + country: Country; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + defaultBillingAddress?: Maybe; + defaultShippingAddress?: Maybe; + fullName?: Maybe; + id: Scalars['ID']['output']; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1: Scalars['String']['output']; + streetLine2?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type AdjustDraftOrderLineInput = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type Adjustment = { - __typename?: 'Adjustment'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Adjustment'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + data?: Maybe; + description: Scalars['String']['output']; + type: AdjustmentType; }; export enum AdjustmentType { - DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', - OTHER = 'OTHER', - PROMOTION = 'PROMOTION' + DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', + OTHER = 'OTHER', + PROMOTION = 'PROMOTION', } export type Administrator = Node & { - __typename?: 'Administrator'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - user: User; + __typename?: 'Administrator'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + user: User; }; export type AdministratorFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; }; export type AdministratorList = PaginatedList & { - __typename?: 'AdministratorList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AdministratorList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AdministratorListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type AdministratorPaymentInput = { - metadata?: InputMaybe; - paymentMethod?: InputMaybe; + metadata?: InputMaybe; + paymentMethod?: InputMaybe; }; export type AdministratorRefundInput = { - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; }; export type AdministratorSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type Allocation = Node & StockMovement & { - __typename?: 'Allocation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - orderLine: OrderLine; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Allocation = Node & + StockMovement & { + __typename?: 'Allocation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + orderLine: OrderLine; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; /** Returned if an attempting to refund an OrderItem which has already been refunded */ export type AlreadyRefundedError = ErrorResult & { - __typename?: 'AlreadyRefundedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - refundId: Scalars['ID']['output']; + __typename?: 'AlreadyRefundedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + refundId: Scalars['ID']['output']; }; -export type ApplyCouponCodeResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | Order; +export type ApplyCouponCodeResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | Order; export type Asset = Node & { - __typename?: 'Asset'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - fileSize: Scalars['Int']['output']; - focalPoint?: Maybe; - height: Scalars['Int']['output']; - id: Scalars['ID']['output']; - mimeType: Scalars['String']['output']; - name: Scalars['String']['output']; - preview: Scalars['String']['output']; - source: Scalars['String']['output']; - tags: Array; - type: AssetType; - updatedAt: Scalars['DateTime']['output']; - width: Scalars['Int']['output']; + __typename?: 'Asset'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + fileSize: Scalars['Int']['output']; + focalPoint?: Maybe; + height: Scalars['Int']['output']; + id: Scalars['ID']['output']; + mimeType: Scalars['String']['output']; + name: Scalars['String']['output']; + preview: Scalars['String']['output']; + source: Scalars['String']['output']; + tags: Array; + type: AssetType; + updatedAt: Scalars['DateTime']['output']; + width: Scalars['Int']['output']; }; export type AssetFilterParameter = { - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + createdAt?: InputMaybe; + fileSize?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + mimeType?: InputMaybe; + name?: InputMaybe; + preview?: InputMaybe; + source?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; + width?: InputMaybe; }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AssetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AssetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - tags?: InputMaybe>; - tagsOperator?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + tags?: InputMaybe>; + tagsOperator?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type AssetSortParameter = { - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + createdAt?: InputMaybe; + fileSize?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + mimeType?: InputMaybe; + name?: InputMaybe; + preview?: InputMaybe; + source?: InputMaybe; + updatedAt?: InputMaybe; + width?: InputMaybe; }; export enum AssetType { - BINARY = 'BINARY', - IMAGE = 'IMAGE', - VIDEO = 'VIDEO' + BINARY = 'BINARY', + IMAGE = 'IMAGE', + VIDEO = 'VIDEO', } export type AssignAssetsToChannelInput = { - assetIds: Array; - channelId: Scalars['ID']['input']; + assetIds: Array; + channelId: Scalars['ID']['input']; }; export type AssignCollectionsToChannelInput = { - channelId: Scalars['ID']['input']; - collectionIds: Array; + channelId: Scalars['ID']['input']; + collectionIds: Array; }; export type AssignFacetsToChannelInput = { - channelId: Scalars['ID']['input']; - facetIds: Array; + channelId: Scalars['ID']['input']; + facetIds: Array; }; export type AssignPaymentMethodsToChannelInput = { - channelId: Scalars['ID']['input']; - paymentMethodIds: Array; + channelId: Scalars['ID']['input']; + paymentMethodIds: Array; }; export type AssignProductVariantsToChannelInput = { - channelId: Scalars['ID']['input']; - priceFactor?: InputMaybe; - productVariantIds: Array; + channelId: Scalars['ID']['input']; + priceFactor?: InputMaybe; + productVariantIds: Array; }; export type AssignProductsToChannelInput = { - channelId: Scalars['ID']['input']; - priceFactor?: InputMaybe; - productIds: Array; + channelId: Scalars['ID']['input']; + priceFactor?: InputMaybe; + productIds: Array; }; export type AssignPromotionsToChannelInput = { - channelId: Scalars['ID']['input']; - promotionIds: Array; + channelId: Scalars['ID']['input']; + promotionIds: Array; }; export type AssignShippingMethodsToChannelInput = { - channelId: Scalars['ID']['input']; - shippingMethodIds: Array; + channelId: Scalars['ID']['input']; + shippingMethodIds: Array; }; export type AssignStockLocationsToChannelInput = { - channelId: Scalars['ID']['input']; - stockLocationIds: Array; + channelId: Scalars['ID']['input']; + stockLocationIds: Array; }; export type AuthenticationInput = { - native?: InputMaybe; + native?: InputMaybe; }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'AuthenticationMethod'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + strategy: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type AuthenticationResult = CurrentUser | InvalidCredentialsError; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'BooleanCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Operators for filtering on a list of Boolean fields */ export type BooleanListOperators = { - inList: Scalars['Boolean']['input']; + inList: Scalars['Boolean']['input']; }; /** Operators for filtering on a Boolean field */ export type BooleanOperators = { - eq?: InputMaybe; - isNull?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; /** Returned if an attempting to cancel lines from an Order which is still active */ export type CancelActiveOrderError = ErrorResult & { - __typename?: 'CancelActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + __typename?: 'CancelActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; export type CancelOrderInput = { - /** Specify whether the shipping charges should also be cancelled. Defaults to false */ - cancelShipping?: InputMaybe; - /** Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled */ - lines?: InputMaybe>; - /** The id of the order to be cancelled */ - orderId: Scalars['ID']['input']; - reason?: InputMaybe; -}; - -export type CancelOrderResult = CancelActiveOrderError | EmptyOrderLineSelectionError | MultipleOrderError | Order | OrderStateTransitionError | QuantityTooGreatError; + /** Specify whether the shipping charges should also be cancelled. Defaults to false */ + cancelShipping?: InputMaybe; + /** Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled */ + lines?: InputMaybe>; + /** The id of the order to be cancelled */ + orderId: Scalars['ID']['input']; + reason?: InputMaybe; +}; + +export type CancelOrderResult = + | CancelActiveOrderError + | EmptyOrderLineSelectionError + | MultipleOrderError + | Order + | OrderStateTransitionError + | QuantityTooGreatError; /** Returned if the Payment cancellation fails */ export type CancelPaymentError = ErrorResult & { - __typename?: 'CancelPaymentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'CancelPaymentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; export type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError; -export type Cancellation = Node & StockMovement & { - __typename?: 'Cancellation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - orderLine: OrderLine; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type Cancellation = Node & + StockMovement & { + __typename?: 'Cancellation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + orderLine: OrderLine; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type Channel = Node & { - __typename?: 'Channel'; - availableCurrencyCodes: Array; - availableLanguageCodes?: Maybe>; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode: CurrencyCode; - customFields?: Maybe; - defaultCurrencyCode: CurrencyCode; - defaultLanguageCode: LanguageCode; - defaultShippingZone?: Maybe; - defaultTaxZone?: Maybe; - id: Scalars['ID']['output']; - /** Not yet used - will be implemented in a future release. */ - outOfStockThreshold?: Maybe; - pricesIncludeTax: Scalars['Boolean']['output']; - seller?: Maybe; - token: Scalars['String']['output']; - /** Not yet used - will be implemented in a future release. */ - trackInventory?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Channel'; + availableCurrencyCodes: Array; + availableLanguageCodes?: Maybe>; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode: CurrencyCode; + customFields?: Maybe; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: Maybe; + defaultTaxZone?: Maybe; + id: Scalars['ID']['output']; + /** Not yet used - will be implemented in a future release. */ + outOfStockThreshold?: Maybe; + pricesIncludeTax: Scalars['Boolean']['output']; + seller?: Maybe; + token: Scalars['String']['output']; + /** Not yet used - will be implemented in a future release. */ + trackInventory?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -391,123 +412,122 @@ export type Channel = Node & { * of the GlobalSettings */ export type ChannelDefaultLanguageError = ErrorResult & { - __typename?: 'ChannelDefaultLanguageError'; - channelCode: Scalars['String']['output']; - errorCode: ErrorCode; - language: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'ChannelDefaultLanguageError'; + channelCode: Scalars['String']['output']; + errorCode: ErrorCode; + language: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type ChannelFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode?: InputMaybe; + id?: InputMaybe; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax?: InputMaybe; + token?: InputMaybe; + trackInventory?: InputMaybe; + updatedAt?: InputMaybe; }; export type ChannelList = PaginatedList & { - __typename?: 'ChannelList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ChannelList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ChannelListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ChannelSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - token?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + outOfStockThreshold?: InputMaybe; + token?: InputMaybe; + updatedAt?: InputMaybe; }; export type Collection = Node & { - __typename?: 'Collection'; - assets: Array; - breadcrumbs: Array; - children?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - featuredAsset?: Maybe; - filters: Array; - id: Scalars['ID']['output']; - inheritFilters: Scalars['Boolean']['output']; - isPrivate: Scalars['Boolean']['output']; - languageCode?: Maybe; - name: Scalars['String']['output']; - parent?: Maybe; - parentId: Scalars['ID']['output']; - position: Scalars['Int']['output']; - productVariants: ProductVariantList; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Collection'; + assets: Array; + breadcrumbs: Array; + children?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + featuredAsset?: Maybe; + filters: Array; + id: Scalars['ID']['output']; + inheritFilters: Scalars['Boolean']['output']; + isPrivate: Scalars['Boolean']['output']; + languageCode?: Maybe; + name: Scalars['String']['output']; + parent?: Maybe; + parentId: Scalars['ID']['output']; + position: Scalars['Int']['output']; + productVariants: ProductVariantList; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; - export type CollectionProductVariantsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'CollectionBreadcrumb'; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CollectionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; - topLevelOnly?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; + topLevelOnly?: InputMaybe; }; /** @@ -515,432 +535,433 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - __typename?: 'CollectionResult'; - collection: Collection; - count: Scalars['Int']['output']; + __typename?: 'CollectionResult'; + collection: Collection; + count: Scalars['Int']['output']; }; export type CollectionSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CollectionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ConfigArg = { - __typename?: 'ConfigArg'; - name: Scalars['String']['output']; - value: Scalars['String']['output']; + __typename?: 'ConfigArg'; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; - defaultValue?: Maybe; - description?: Maybe; - label?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - required: Scalars['Boolean']['output']; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'ConfigArgDefinition'; + defaultValue?: Maybe; + description?: Maybe; + label?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + required: Scalars['Boolean']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type ConfigArgInput = { - name: Scalars['String']['input']; - /** A JSON stringified representation of the actual value */ - value: Scalars['String']['input']; + name: Scalars['String']['input']; + /** A JSON stringified representation of the actual value */ + value: Scalars['String']['input']; }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; - args: Array; - code: Scalars['String']['output']; + __typename?: 'ConfigurableOperation'; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + __typename?: 'ConfigurableOperationDefinition'; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; }; export type ConfigurableOperationInput = { - arguments: Array; - code: Scalars['String']['input']; + arguments: Array; + code: Scalars['String']['input']; }; export type Coordinate = { - __typename?: 'Coordinate'; - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; + __typename?: 'Coordinate'; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; }; export type CoordinateInput = { - x: Scalars['Float']['input']; - y: Scalars['Float']['input']; -}; - -export type Country = Node & Region & { - __typename?: 'Country'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; +}; + +export type Country = Node & + Region & { + __typename?: 'Country'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type CountryFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CountryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CountryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CountrySortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeExpiredError = ErrorResult & { - __typename?: 'CouponCodeExpiredError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeExpiredError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - __typename?: 'CouponCodeInvalidError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeInvalidError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - __typename?: 'CouponCodeLimitError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'CouponCodeLimitError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type CreateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode: Scalars['String']['input']; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1: Scalars['String']['input']; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode: Scalars['String']['input']; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1: Scalars['String']['input']; + streetLine2?: InputMaybe; }; export type CreateAdministratorInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - password: Scalars['String']['input']; - roleIds: Array; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + password: Scalars['String']['input']; + roleIds: Array; }; export type CreateAssetInput = { - customFields?: InputMaybe; - file: Scalars['Upload']['input']; - tags?: InputMaybe>; + customFields?: InputMaybe; + file: Scalars['Upload']['input']; + tags?: InputMaybe>; }; export type CreateAssetResult = Asset | MimeTypeError; export type CreateChannelInput = { - availableCurrencyCodes?: InputMaybe>; - availableLanguageCodes?: InputMaybe>; - code: Scalars['String']['input']; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode?: InputMaybe; - customFields?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode: LanguageCode; - defaultShippingZoneId: Scalars['ID']['input']; - defaultTaxZoneId: Scalars['ID']['input']; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax: Scalars['Boolean']['input']; - sellerId?: InputMaybe; - token: Scalars['String']['input']; - trackInventory?: InputMaybe; + availableCurrencyCodes?: InputMaybe>; + availableLanguageCodes?: InputMaybe>; + code: Scalars['String']['input']; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode?: InputMaybe; + customFields?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode: LanguageCode; + defaultShippingZoneId: Scalars['ID']['input']; + defaultTaxZoneId: Scalars['ID']['input']; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax: Scalars['Boolean']['input']; + sellerId?: InputMaybe; + token: Scalars['String']['input']; + trackInventory?: InputMaybe; }; export type CreateChannelResult = Channel | LanguageNotAvailableError; export type CreateCollectionInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - featuredAssetId?: InputMaybe; - filters: Array; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - parentId?: InputMaybe; - translations: Array; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + featuredAssetId?: InputMaybe; + filters: Array; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + parentId?: InputMaybe; + translations: Array; }; export type CreateCollectionTranslationInput = { - customFields?: InputMaybe; - description: Scalars['String']['input']; - languageCode: LanguageCode; - name: Scalars['String']['input']; - slug: Scalars['String']['input']; + customFields?: InputMaybe; + description: Scalars['String']['input']; + languageCode: LanguageCode; + name: Scalars['String']['input']; + slug: Scalars['String']['input']; }; export type CreateCountryInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + translations: Array; }; export type CreateCustomerGroupInput = { - customFields?: InputMaybe; - customerIds?: InputMaybe>; - name: Scalars['String']['input']; + customFields?: InputMaybe; + customerIds?: InputMaybe>; + name: Scalars['String']['input']; }; export type CreateCustomerInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type CreateCustomerResult = Customer | EmailAddressConflictError; export type CreateFacetInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - isPrivate: Scalars['Boolean']['input']; - translations: Array; - values?: InputMaybe>; + code: Scalars['String']['input']; + customFields?: InputMaybe; + isPrivate: Scalars['Boolean']['input']; + translations: Array; + values?: InputMaybe>; }; export type CreateFacetValueInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - facetId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + facetId: Scalars['ID']['input']; + translations: Array; }; export type CreateFacetValueWithFacetInput = { - code: Scalars['String']['input']; - translations: Array; + code: Scalars['String']['input']; + translations: Array; }; /** Returned if an error is thrown in a FulfillmentHandler's createFulfillment method */ export type CreateFulfillmentError = ErrorResult & { - __typename?: 'CreateFulfillmentError'; - errorCode: ErrorCode; - fulfillmentHandlerError: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'CreateFulfillmentError'; + errorCode: ErrorCode; + fulfillmentHandlerError: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type CreateGroupOptionInput = { - code: Scalars['String']['input']; - translations: Array; + code: Scalars['String']['input']; + translations: Array; }; export type CreatePaymentMethodInput = { - checker?: InputMaybe; - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - handler: ConfigurableOperationInput; - translations: Array; + checker?: InputMaybe; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + handler: ConfigurableOperationInput; + translations: Array; }; export type CreateProductInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - translations: Array; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + translations: Array; }; export type CreateProductOptionGroupInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - options: Array; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + options: Array; + translations: Array; }; export type CreateProductOptionInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - productOptionGroupId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + productOptionGroupId: Scalars['ID']['input']; + translations: Array; }; export type CreateProductVariantInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - optionIds?: InputMaybe>; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - productId: Scalars['ID']['input']; - sku: Scalars['String']['input']; - stockLevels?: InputMaybe>; - stockOnHand?: InputMaybe; - taxCategoryId?: InputMaybe; - trackInventory?: InputMaybe; - translations: Array; - useGlobalOutOfStockThreshold?: InputMaybe; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + optionIds?: InputMaybe>; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + productId: Scalars['ID']['input']; + sku: Scalars['String']['input']; + stockLevels?: InputMaybe>; + stockOnHand?: InputMaybe; + taxCategoryId?: InputMaybe; + trackInventory?: InputMaybe; + translations: Array; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type CreateProductVariantOptionInput = { - code: Scalars['String']['input']; - optionGroupId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + optionGroupId: Scalars['ID']['input']; + translations: Array; }; export type CreatePromotionInput = { - actions: Array; - conditions: Array; - couponCode?: InputMaybe; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - endsAt?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - translations: Array; - usageLimit?: InputMaybe; + actions: Array; + conditions: Array; + couponCode?: InputMaybe; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + endsAt?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + translations: Array; + usageLimit?: InputMaybe; }; export type CreatePromotionResult = MissingConditionsError | Promotion; export type CreateProvinceInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + translations: Array; }; export type CreateRoleInput = { - channelIds?: InputMaybe>; - code: Scalars['String']['input']; - description: Scalars['String']['input']; - permissions: Array; + channelIds?: InputMaybe>; + code: Scalars['String']['input']; + description: Scalars['String']['input']; + permissions: Array; }; export type CreateSellerInput = { - customFields?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateShippingMethodInput = { - calculator: ConfigurableOperationInput; - checker: ConfigurableOperationInput; - code: Scalars['String']['input']; - customFields?: InputMaybe; - fulfillmentHandler: Scalars['String']['input']; - translations: Array; + calculator: ConfigurableOperationInput; + checker: ConfigurableOperationInput; + code: Scalars['String']['input']; + customFields?: InputMaybe; + fulfillmentHandler: Scalars['String']['input']; + translations: Array; }; export type CreateStockLocationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + description?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateTagInput = { - value: Scalars['String']['input']; + value: Scalars['String']['input']; }; export type CreateTaxCategoryInput = { - customFields?: InputMaybe; - isDefault?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + isDefault?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateTaxRateInput = { - categoryId: Scalars['ID']['input']; - customFields?: InputMaybe; - customerGroupId?: InputMaybe; - enabled: Scalars['Boolean']['input']; - name: Scalars['String']['input']; - value: Scalars['Float']['input']; - zoneId: Scalars['ID']['input']; + categoryId: Scalars['ID']['input']; + customFields?: InputMaybe; + customerGroupId?: InputMaybe; + enabled: Scalars['Boolean']['input']; + name: Scalars['String']['input']; + value: Scalars['Float']['input']; + zoneId: Scalars['ID']['input']; }; export type CreateZoneInput = { - customFields?: InputMaybe; - memberIds?: InputMaybe>; - name: Scalars['String']['input']; + customFields?: InputMaybe; + memberIds?: InputMaybe>; + name: Scalars['String']['input']; }; /** @@ -950,517 +971,523 @@ export type CreateZoneInput = { * @docsCategory common */ export enum CurrencyCode { - /** United Arab Emirates dirham */ - AED = 'AED', - /** Afghan afghani */ - AFN = 'AFN', - /** Albanian lek */ - ALL = 'ALL', - /** Armenian dram */ - AMD = 'AMD', - /** Netherlands Antillean guilder */ - ANG = 'ANG', - /** Angolan kwanza */ - AOA = 'AOA', - /** Argentine peso */ - ARS = 'ARS', - /** Australian dollar */ - AUD = 'AUD', - /** Aruban florin */ - AWG = 'AWG', - /** Azerbaijani manat */ - AZN = 'AZN', - /** Bosnia and Herzegovina convertible mark */ - BAM = 'BAM', - /** Barbados dollar */ - BBD = 'BBD', - /** Bangladeshi taka */ - BDT = 'BDT', - /** Bulgarian lev */ - BGN = 'BGN', - /** Bahraini dinar */ - BHD = 'BHD', - /** Burundian franc */ - BIF = 'BIF', - /** Bermudian dollar */ - BMD = 'BMD', - /** Brunei dollar */ - BND = 'BND', - /** Boliviano */ - BOB = 'BOB', - /** Brazilian real */ - BRL = 'BRL', - /** Bahamian dollar */ - BSD = 'BSD', - /** Bhutanese ngultrum */ - BTN = 'BTN', - /** Botswana pula */ - BWP = 'BWP', - /** Belarusian ruble */ - BYN = 'BYN', - /** Belize dollar */ - BZD = 'BZD', - /** Canadian dollar */ - CAD = 'CAD', - /** Congolese franc */ - CDF = 'CDF', - /** Swiss franc */ - CHF = 'CHF', - /** Chilean peso */ - CLP = 'CLP', - /** Renminbi (Chinese) yuan */ - CNY = 'CNY', - /** Colombian peso */ - COP = 'COP', - /** Costa Rican colon */ - CRC = 'CRC', - /** Cuban convertible peso */ - CUC = 'CUC', - /** Cuban peso */ - CUP = 'CUP', - /** Cape Verde escudo */ - CVE = 'CVE', - /** Czech koruna */ - CZK = 'CZK', - /** Djiboutian franc */ - DJF = 'DJF', - /** Danish krone */ - DKK = 'DKK', - /** Dominican peso */ - DOP = 'DOP', - /** Algerian dinar */ - DZD = 'DZD', - /** Egyptian pound */ - EGP = 'EGP', - /** Eritrean nakfa */ - ERN = 'ERN', - /** Ethiopian birr */ - ETB = 'ETB', - /** Euro */ - EUR = 'EUR', - /** Fiji dollar */ - FJD = 'FJD', - /** Falkland Islands pound */ - FKP = 'FKP', - /** Pound sterling */ - GBP = 'GBP', - /** Georgian lari */ - GEL = 'GEL', - /** Ghanaian cedi */ - GHS = 'GHS', - /** Gibraltar pound */ - GIP = 'GIP', - /** Gambian dalasi */ - GMD = 'GMD', - /** Guinean franc */ - GNF = 'GNF', - /** Guatemalan quetzal */ - GTQ = 'GTQ', - /** Guyanese dollar */ - GYD = 'GYD', - /** Hong Kong dollar */ - HKD = 'HKD', - /** Honduran lempira */ - HNL = 'HNL', - /** Croatian kuna */ - HRK = 'HRK', - /** Haitian gourde */ - HTG = 'HTG', - /** Hungarian forint */ - HUF = 'HUF', - /** Indonesian rupiah */ - IDR = 'IDR', - /** Israeli new shekel */ - ILS = 'ILS', - /** Indian rupee */ - INR = 'INR', - /** Iraqi dinar */ - IQD = 'IQD', - /** Iranian rial */ - IRR = 'IRR', - /** Icelandic króna */ - ISK = 'ISK', - /** Jamaican dollar */ - JMD = 'JMD', - /** Jordanian dinar */ - JOD = 'JOD', - /** Japanese yen */ - JPY = 'JPY', - /** Kenyan shilling */ - KES = 'KES', - /** Kyrgyzstani som */ - KGS = 'KGS', - /** Cambodian riel */ - KHR = 'KHR', - /** Comoro franc */ - KMF = 'KMF', - /** North Korean won */ - KPW = 'KPW', - /** South Korean won */ - KRW = 'KRW', - /** Kuwaiti dinar */ - KWD = 'KWD', - /** Cayman Islands dollar */ - KYD = 'KYD', - /** Kazakhstani tenge */ - KZT = 'KZT', - /** Lao kip */ - LAK = 'LAK', - /** Lebanese pound */ - LBP = 'LBP', - /** Sri Lankan rupee */ - LKR = 'LKR', - /** Liberian dollar */ - LRD = 'LRD', - /** Lesotho loti */ - LSL = 'LSL', - /** Libyan dinar */ - LYD = 'LYD', - /** Moroccan dirham */ - MAD = 'MAD', - /** Moldovan leu */ - MDL = 'MDL', - /** Malagasy ariary */ - MGA = 'MGA', - /** Macedonian denar */ - MKD = 'MKD', - /** Myanmar kyat */ - MMK = 'MMK', - /** Mongolian tögrög */ - MNT = 'MNT', - /** Macanese pataca */ - MOP = 'MOP', - /** Mauritanian ouguiya */ - MRU = 'MRU', - /** Mauritian rupee */ - MUR = 'MUR', - /** Maldivian rufiyaa */ - MVR = 'MVR', - /** Malawian kwacha */ - MWK = 'MWK', - /** Mexican peso */ - MXN = 'MXN', - /** Malaysian ringgit */ - MYR = 'MYR', - /** Mozambican metical */ - MZN = 'MZN', - /** Namibian dollar */ - NAD = 'NAD', - /** Nigerian naira */ - NGN = 'NGN', - /** Nicaraguan córdoba */ - NIO = 'NIO', - /** Norwegian krone */ - NOK = 'NOK', - /** Nepalese rupee */ - NPR = 'NPR', - /** New Zealand dollar */ - NZD = 'NZD', - /** Omani rial */ - OMR = 'OMR', - /** Panamanian balboa */ - PAB = 'PAB', - /** Peruvian sol */ - PEN = 'PEN', - /** Papua New Guinean kina */ - PGK = 'PGK', - /** Philippine peso */ - PHP = 'PHP', - /** Pakistani rupee */ - PKR = 'PKR', - /** Polish złoty */ - PLN = 'PLN', - /** Paraguayan guaraní */ - PYG = 'PYG', - /** Qatari riyal */ - QAR = 'QAR', - /** Romanian leu */ - RON = 'RON', - /** Serbian dinar */ - RSD = 'RSD', - /** Russian ruble */ - RUB = 'RUB', - /** Rwandan franc */ - RWF = 'RWF', - /** Saudi riyal */ - SAR = 'SAR', - /** Solomon Islands dollar */ - SBD = 'SBD', - /** Seychelles rupee */ - SCR = 'SCR', - /** Sudanese pound */ - SDG = 'SDG', - /** Swedish krona/kronor */ - SEK = 'SEK', - /** Singapore dollar */ - SGD = 'SGD', - /** Saint Helena pound */ - SHP = 'SHP', - /** Sierra Leonean leone */ - SLL = 'SLL', - /** Somali shilling */ - SOS = 'SOS', - /** Surinamese dollar */ - SRD = 'SRD', - /** South Sudanese pound */ - SSP = 'SSP', - /** São Tomé and Príncipe dobra */ - STN = 'STN', - /** Salvadoran colón */ - SVC = 'SVC', - /** Syrian pound */ - SYP = 'SYP', - /** Swazi lilangeni */ - SZL = 'SZL', - /** Thai baht */ - THB = 'THB', - /** Tajikistani somoni */ - TJS = 'TJS', - /** Turkmenistan manat */ - TMT = 'TMT', - /** Tunisian dinar */ - TND = 'TND', - /** Tongan paʻanga */ - TOP = 'TOP', - /** Turkish lira */ - TRY = 'TRY', - /** Trinidad and Tobago dollar */ - TTD = 'TTD', - /** New Taiwan dollar */ - TWD = 'TWD', - /** Tanzanian shilling */ - TZS = 'TZS', - /** Ukrainian hryvnia */ - UAH = 'UAH', - /** Ugandan shilling */ - UGX = 'UGX', - /** United States dollar */ - USD = 'USD', - /** Uruguayan peso */ - UYU = 'UYU', - /** Uzbekistan som */ - UZS = 'UZS', - /** Venezuelan bolívar soberano */ - VES = 'VES', - /** Vietnamese đồng */ - VND = 'VND', - /** Vanuatu vatu */ - VUV = 'VUV', - /** Samoan tala */ - WST = 'WST', - /** CFA franc BEAC */ - XAF = 'XAF', - /** East Caribbean dollar */ - XCD = 'XCD', - /** CFA franc BCEAO */ - XOF = 'XOF', - /** CFP franc (franc Pacifique) */ - XPF = 'XPF', - /** Yemeni rial */ - YER = 'YER', - /** South African rand */ - ZAR = 'ZAR', - /** Zambian kwacha */ - ZMW = 'ZMW', - /** Zimbabwean dollar */ - ZWL = 'ZWL' + /** United Arab Emirates dirham */ + AED = 'AED', + /** Afghan afghani */ + AFN = 'AFN', + /** Albanian lek */ + ALL = 'ALL', + /** Armenian dram */ + AMD = 'AMD', + /** Netherlands Antillean guilder */ + ANG = 'ANG', + /** Angolan kwanza */ + AOA = 'AOA', + /** Argentine peso */ + ARS = 'ARS', + /** Australian dollar */ + AUD = 'AUD', + /** Aruban florin */ + AWG = 'AWG', + /** Azerbaijani manat */ + AZN = 'AZN', + /** Bosnia and Herzegovina convertible mark */ + BAM = 'BAM', + /** Barbados dollar */ + BBD = 'BBD', + /** Bangladeshi taka */ + BDT = 'BDT', + /** Bulgarian lev */ + BGN = 'BGN', + /** Bahraini dinar */ + BHD = 'BHD', + /** Burundian franc */ + BIF = 'BIF', + /** Bermudian dollar */ + BMD = 'BMD', + /** Brunei dollar */ + BND = 'BND', + /** Boliviano */ + BOB = 'BOB', + /** Brazilian real */ + BRL = 'BRL', + /** Bahamian dollar */ + BSD = 'BSD', + /** Bhutanese ngultrum */ + BTN = 'BTN', + /** Botswana pula */ + BWP = 'BWP', + /** Belarusian ruble */ + BYN = 'BYN', + /** Belize dollar */ + BZD = 'BZD', + /** Canadian dollar */ + CAD = 'CAD', + /** Congolese franc */ + CDF = 'CDF', + /** Swiss franc */ + CHF = 'CHF', + /** Chilean peso */ + CLP = 'CLP', + /** Renminbi (Chinese) yuan */ + CNY = 'CNY', + /** Colombian peso */ + COP = 'COP', + /** Costa Rican colon */ + CRC = 'CRC', + /** Cuban convertible peso */ + CUC = 'CUC', + /** Cuban peso */ + CUP = 'CUP', + /** Cape Verde escudo */ + CVE = 'CVE', + /** Czech koruna */ + CZK = 'CZK', + /** Djiboutian franc */ + DJF = 'DJF', + /** Danish krone */ + DKK = 'DKK', + /** Dominican peso */ + DOP = 'DOP', + /** Algerian dinar */ + DZD = 'DZD', + /** Egyptian pound */ + EGP = 'EGP', + /** Eritrean nakfa */ + ERN = 'ERN', + /** Ethiopian birr */ + ETB = 'ETB', + /** Euro */ + EUR = 'EUR', + /** Fiji dollar */ + FJD = 'FJD', + /** Falkland Islands pound */ + FKP = 'FKP', + /** Pound sterling */ + GBP = 'GBP', + /** Georgian lari */ + GEL = 'GEL', + /** Ghanaian cedi */ + GHS = 'GHS', + /** Gibraltar pound */ + GIP = 'GIP', + /** Gambian dalasi */ + GMD = 'GMD', + /** Guinean franc */ + GNF = 'GNF', + /** Guatemalan quetzal */ + GTQ = 'GTQ', + /** Guyanese dollar */ + GYD = 'GYD', + /** Hong Kong dollar */ + HKD = 'HKD', + /** Honduran lempira */ + HNL = 'HNL', + /** Croatian kuna */ + HRK = 'HRK', + /** Haitian gourde */ + HTG = 'HTG', + /** Hungarian forint */ + HUF = 'HUF', + /** Indonesian rupiah */ + IDR = 'IDR', + /** Israeli new shekel */ + ILS = 'ILS', + /** Indian rupee */ + INR = 'INR', + /** Iraqi dinar */ + IQD = 'IQD', + /** Iranian rial */ + IRR = 'IRR', + /** Icelandic króna */ + ISK = 'ISK', + /** Jamaican dollar */ + JMD = 'JMD', + /** Jordanian dinar */ + JOD = 'JOD', + /** Japanese yen */ + JPY = 'JPY', + /** Kenyan shilling */ + KES = 'KES', + /** Kyrgyzstani som */ + KGS = 'KGS', + /** Cambodian riel */ + KHR = 'KHR', + /** Comoro franc */ + KMF = 'KMF', + /** North Korean won */ + KPW = 'KPW', + /** South Korean won */ + KRW = 'KRW', + /** Kuwaiti dinar */ + KWD = 'KWD', + /** Cayman Islands dollar */ + KYD = 'KYD', + /** Kazakhstani tenge */ + KZT = 'KZT', + /** Lao kip */ + LAK = 'LAK', + /** Lebanese pound */ + LBP = 'LBP', + /** Sri Lankan rupee */ + LKR = 'LKR', + /** Liberian dollar */ + LRD = 'LRD', + /** Lesotho loti */ + LSL = 'LSL', + /** Libyan dinar */ + LYD = 'LYD', + /** Moroccan dirham */ + MAD = 'MAD', + /** Moldovan leu */ + MDL = 'MDL', + /** Malagasy ariary */ + MGA = 'MGA', + /** Macedonian denar */ + MKD = 'MKD', + /** Myanmar kyat */ + MMK = 'MMK', + /** Mongolian tögrög */ + MNT = 'MNT', + /** Macanese pataca */ + MOP = 'MOP', + /** Mauritanian ouguiya */ + MRU = 'MRU', + /** Mauritian rupee */ + MUR = 'MUR', + /** Maldivian rufiyaa */ + MVR = 'MVR', + /** Malawian kwacha */ + MWK = 'MWK', + /** Mexican peso */ + MXN = 'MXN', + /** Malaysian ringgit */ + MYR = 'MYR', + /** Mozambican metical */ + MZN = 'MZN', + /** Namibian dollar */ + NAD = 'NAD', + /** Nigerian naira */ + NGN = 'NGN', + /** Nicaraguan córdoba */ + NIO = 'NIO', + /** Norwegian krone */ + NOK = 'NOK', + /** Nepalese rupee */ + NPR = 'NPR', + /** New Zealand dollar */ + NZD = 'NZD', + /** Omani rial */ + OMR = 'OMR', + /** Panamanian balboa */ + PAB = 'PAB', + /** Peruvian sol */ + PEN = 'PEN', + /** Papua New Guinean kina */ + PGK = 'PGK', + /** Philippine peso */ + PHP = 'PHP', + /** Pakistani rupee */ + PKR = 'PKR', + /** Polish złoty */ + PLN = 'PLN', + /** Paraguayan guaraní */ + PYG = 'PYG', + /** Qatari riyal */ + QAR = 'QAR', + /** Romanian leu */ + RON = 'RON', + /** Serbian dinar */ + RSD = 'RSD', + /** Russian ruble */ + RUB = 'RUB', + /** Rwandan franc */ + RWF = 'RWF', + /** Saudi riyal */ + SAR = 'SAR', + /** Solomon Islands dollar */ + SBD = 'SBD', + /** Seychelles rupee */ + SCR = 'SCR', + /** Sudanese pound */ + SDG = 'SDG', + /** Swedish krona/kronor */ + SEK = 'SEK', + /** Singapore dollar */ + SGD = 'SGD', + /** Saint Helena pound */ + SHP = 'SHP', + /** Sierra Leonean leone */ + SLL = 'SLL', + /** Somali shilling */ + SOS = 'SOS', + /** Surinamese dollar */ + SRD = 'SRD', + /** South Sudanese pound */ + SSP = 'SSP', + /** São Tomé and Príncipe dobra */ + STN = 'STN', + /** Salvadoran colón */ + SVC = 'SVC', + /** Syrian pound */ + SYP = 'SYP', + /** Swazi lilangeni */ + SZL = 'SZL', + /** Thai baht */ + THB = 'THB', + /** Tajikistani somoni */ + TJS = 'TJS', + /** Turkmenistan manat */ + TMT = 'TMT', + /** Tunisian dinar */ + TND = 'TND', + /** Tongan paʻanga */ + TOP = 'TOP', + /** Turkish lira */ + TRY = 'TRY', + /** Trinidad and Tobago dollar */ + TTD = 'TTD', + /** New Taiwan dollar */ + TWD = 'TWD', + /** Tanzanian shilling */ + TZS = 'TZS', + /** Ukrainian hryvnia */ + UAH = 'UAH', + /** Ugandan shilling */ + UGX = 'UGX', + /** United States dollar */ + USD = 'USD', + /** Uruguayan peso */ + UYU = 'UYU', + /** Uzbekistan som */ + UZS = 'UZS', + /** Venezuelan bolívar soberano */ + VES = 'VES', + /** Vietnamese đồng */ + VND = 'VND', + /** Vanuatu vatu */ + VUV = 'VUV', + /** Samoan tala */ + WST = 'WST', + /** CFA franc BEAC */ + XAF = 'XAF', + /** East Caribbean dollar */ + XCD = 'XCD', + /** CFA franc BCEAO */ + XOF = 'XOF', + /** CFP franc (franc Pacifique) */ + XPF = 'XPF', + /** Yemeni rial */ + YER = 'YER', + /** South African rand */ + ZAR = 'ZAR', + /** Zambian kwacha */ + ZMW = 'ZMW', + /** Zimbabwean dollar */ + ZWL = 'ZWL', } export type CurrentUser = { - __typename?: 'CurrentUser'; - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + __typename?: 'CurrentUser'; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + __typename?: 'CurrentUserChannel'; + code: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + token: Scalars['String']['output']; }; export type CustomField = { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = + | BooleanCustomFieldConfig + | DateTimeCustomFieldConfig + | FloatCustomFieldConfig + | IntCustomFieldConfig + | LocaleStringCustomFieldConfig + | LocaleTextCustomFieldConfig + | RelationCustomFieldConfig + | StringCustomFieldConfig + | TextCustomFieldConfig; export type CustomFields = { - __typename?: 'CustomFields'; - Address: Array; - Administrator: Array; - Asset: Array; - Channel: Array; - Collection: Array; - Customer: Array; - CustomerGroup: Array; - Facet: Array; - FacetValue: Array; - Fulfillment: Array; - GlobalSettings: Array; - Order: Array; - OrderLine: Array; - PaymentMethod: Array; - Product: Array; - ProductOption: Array; - ProductOptionGroup: Array; - ProductVariant: Array; - Promotion: Array; - Region: Array; - Seller: Array; - ShippingMethod: Array; - StockLocation: Array; - TaxCategory: Array; - TaxRate: Array; - User: Array; - Zone: Array; + __typename?: 'CustomFields'; + Address: Array; + Administrator: Array; + Asset: Array; + Channel: Array; + Collection: Array; + Customer: Array; + CustomerGroup: Array; + Facet: Array; + FacetValue: Array; + Fulfillment: Array; + GlobalSettings: Array; + Order: Array; + OrderLine: Array; + PaymentMethod: Array; + Product: Array; + ProductOption: Array; + ProductOptionGroup: Array; + ProductVariant: Array; + Promotion: Array; + Region: Array; + Seller: Array; + ShippingMethod: Array; + StockLocation: Array; + TaxCategory: Array; + TaxRate: Array; + User: Array; + Zone: Array; }; export type Customer = Node & { - __typename?: 'Customer'; - addresses?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - groups: Array; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - orders: OrderList; - phoneNumber?: Maybe; - title?: Maybe; - updatedAt: Scalars['DateTime']['output']; - user?: Maybe; + __typename?: 'Customer'; + addresses?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + groups: Array; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + orders: OrderList; + phoneNumber?: Maybe; + title?: Maybe; + updatedAt: Scalars['DateTime']['output']; + user?: Maybe; }; - export type CustomerHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type CustomerOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CustomerGroup'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customers: CustomerList; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; - export type CustomerGroupCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerGroupFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroupList = PaginatedList & { - __typename?: 'CustomerGroupList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerGroupList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerGroupListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerGroupSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; /** Operators for filtering on a list of Date fields */ export type DateListOperators = { - inList: Scalars['DateTime']['input']; + inList: Scalars['DateTime']['input']; }; /** Operators for filtering on a DateTime field */ export type DateOperators = { - after?: InputMaybe; - before?: InputMaybe; - between?: InputMaybe; - eq?: InputMaybe; - isNull?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; export type DateRange = { - end: Scalars['DateTime']['input']; - start: Scalars['DateTime']['input']; + end: Scalars['DateTime']['input']; + start: Scalars['DateTime']['input']; }; /** @@ -1468,220 +1495,219 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - __typename?: 'DateTimeCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'DateTimeCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type DeleteAssetInput = { - assetId: Scalars['ID']['input']; - deleteFromAllChannels?: InputMaybe; - force?: InputMaybe; + assetId: Scalars['ID']['input']; + deleteFromAllChannels?: InputMaybe; + force?: InputMaybe; }; export type DeleteAssetsInput = { - assetIds: Array; - deleteFromAllChannels?: InputMaybe; - force?: InputMaybe; + assetIds: Array; + deleteFromAllChannels?: InputMaybe; + force?: InputMaybe; }; export type DeleteStockLocationInput = { - id: Scalars['ID']['input']; - transferToLocationId?: InputMaybe; + id: Scalars['ID']['input']; + transferToLocationId?: InputMaybe; }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; - message?: Maybe; - result: DeletionResult; + __typename?: 'DeletionResponse'; + message?: Maybe; + result: DeletionResult; }; export enum DeletionResult { - /** The entity was successfully deleted */ - DELETED = 'DELETED', - /** Deletion did not take place, reason given in message */ - NOT_DELETED = 'NOT_DELETED' + /** The entity was successfully deleted */ + DELETED = 'DELETED', + /** Deletion did not take place, reason given in message */ + NOT_DELETED = 'NOT_DELETED', } export type Discount = { - __typename?: 'Discount'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Discount'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - __typename?: 'EmailAddressConflictError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmailAddressConflictError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if no OrderLines have been specified for the operation */ export type EmptyOrderLineSelectionError = ErrorResult & { - __typename?: 'EmptyOrderLineSelectionError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmptyOrderLineSelectionError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum ErrorCode { - ALREADY_REFUNDED_ERROR = 'ALREADY_REFUNDED_ERROR', - CANCEL_ACTIVE_ORDER_ERROR = 'CANCEL_ACTIVE_ORDER_ERROR', - CANCEL_PAYMENT_ERROR = 'CANCEL_PAYMENT_ERROR', - CHANNEL_DEFAULT_LANGUAGE_ERROR = 'CHANNEL_DEFAULT_LANGUAGE_ERROR', - COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', - COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', - COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', - CREATE_FULFILLMENT_ERROR = 'CREATE_FULFILLMENT_ERROR', - EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', - EMPTY_ORDER_LINE_SELECTION_ERROR = 'EMPTY_ORDER_LINE_SELECTION_ERROR', - FACET_IN_USE_ERROR = 'FACET_IN_USE_ERROR', - FULFILLMENT_STATE_TRANSITION_ERROR = 'FULFILLMENT_STATE_TRANSITION_ERROR', - GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', - INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', - INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', - INSUFFICIENT_STOCK_ON_HAND_ERROR = 'INSUFFICIENT_STOCK_ON_HAND_ERROR', - INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', - INVALID_FULFILLMENT_HANDLER_ERROR = 'INVALID_FULFILLMENT_HANDLER_ERROR', - ITEMS_ALREADY_FULFILLED_ERROR = 'ITEMS_ALREADY_FULFILLED_ERROR', - LANGUAGE_NOT_AVAILABLE_ERROR = 'LANGUAGE_NOT_AVAILABLE_ERROR', - MANUAL_PAYMENT_STATE_ERROR = 'MANUAL_PAYMENT_STATE_ERROR', - MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', - MISSING_CONDITIONS_ERROR = 'MISSING_CONDITIONS_ERROR', - MULTIPLE_ORDER_ERROR = 'MULTIPLE_ORDER_ERROR', - NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', - NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', - NOTHING_TO_REFUND_ERROR = 'NOTHING_TO_REFUND_ERROR', - NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', - NO_CHANGES_SPECIFIED_ERROR = 'NO_CHANGES_SPECIFIED_ERROR', - ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', - ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', - ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', - ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', - PAYMENT_METHOD_MISSING_ERROR = 'PAYMENT_METHOD_MISSING_ERROR', - PAYMENT_ORDER_MISMATCH_ERROR = 'PAYMENT_ORDER_MISMATCH_ERROR', - PAYMENT_STATE_TRANSITION_ERROR = 'PAYMENT_STATE_TRANSITION_ERROR', - PRODUCT_OPTION_IN_USE_ERROR = 'PRODUCT_OPTION_IN_USE_ERROR', - QUANTITY_TOO_GREAT_ERROR = 'QUANTITY_TOO_GREAT_ERROR', - REFUND_ORDER_STATE_ERROR = 'REFUND_ORDER_STATE_ERROR', - REFUND_PAYMENT_ID_MISSING_ERROR = 'REFUND_PAYMENT_ID_MISSING_ERROR', - REFUND_STATE_TRANSITION_ERROR = 'REFUND_STATE_TRANSITION_ERROR', - SETTLE_PAYMENT_ERROR = 'SETTLE_PAYMENT_ERROR', - UNKNOWN_ERROR = 'UNKNOWN_ERROR' + ALREADY_REFUNDED_ERROR = 'ALREADY_REFUNDED_ERROR', + CANCEL_ACTIVE_ORDER_ERROR = 'CANCEL_ACTIVE_ORDER_ERROR', + CANCEL_PAYMENT_ERROR = 'CANCEL_PAYMENT_ERROR', + CHANNEL_DEFAULT_LANGUAGE_ERROR = 'CHANNEL_DEFAULT_LANGUAGE_ERROR', + COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', + COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', + COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', + CREATE_FULFILLMENT_ERROR = 'CREATE_FULFILLMENT_ERROR', + EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', + EMPTY_ORDER_LINE_SELECTION_ERROR = 'EMPTY_ORDER_LINE_SELECTION_ERROR', + FACET_IN_USE_ERROR = 'FACET_IN_USE_ERROR', + FULFILLMENT_STATE_TRANSITION_ERROR = 'FULFILLMENT_STATE_TRANSITION_ERROR', + GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', + INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', + INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', + INSUFFICIENT_STOCK_ON_HAND_ERROR = 'INSUFFICIENT_STOCK_ON_HAND_ERROR', + INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', + INVALID_FULFILLMENT_HANDLER_ERROR = 'INVALID_FULFILLMENT_HANDLER_ERROR', + ITEMS_ALREADY_FULFILLED_ERROR = 'ITEMS_ALREADY_FULFILLED_ERROR', + LANGUAGE_NOT_AVAILABLE_ERROR = 'LANGUAGE_NOT_AVAILABLE_ERROR', + MANUAL_PAYMENT_STATE_ERROR = 'MANUAL_PAYMENT_STATE_ERROR', + MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', + MISSING_CONDITIONS_ERROR = 'MISSING_CONDITIONS_ERROR', + MULTIPLE_ORDER_ERROR = 'MULTIPLE_ORDER_ERROR', + NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', + NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', + NOTHING_TO_REFUND_ERROR = 'NOTHING_TO_REFUND_ERROR', + NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', + NO_CHANGES_SPECIFIED_ERROR = 'NO_CHANGES_SPECIFIED_ERROR', + ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', + ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', + ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', + PAYMENT_METHOD_MISSING_ERROR = 'PAYMENT_METHOD_MISSING_ERROR', + PAYMENT_ORDER_MISMATCH_ERROR = 'PAYMENT_ORDER_MISMATCH_ERROR', + PAYMENT_STATE_TRANSITION_ERROR = 'PAYMENT_STATE_TRANSITION_ERROR', + PRODUCT_OPTION_IN_USE_ERROR = 'PRODUCT_OPTION_IN_USE_ERROR', + QUANTITY_TOO_GREAT_ERROR = 'QUANTITY_TOO_GREAT_ERROR', + REFUND_ORDER_STATE_ERROR = 'REFUND_ORDER_STATE_ERROR', + REFUND_PAYMENT_ID_MISSING_ERROR = 'REFUND_PAYMENT_ID_MISSING_ERROR', + REFUND_STATE_TRANSITION_ERROR = 'REFUND_STATE_TRANSITION_ERROR', + SETTLE_PAYMENT_ERROR = 'SETTLE_PAYMENT_ERROR', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', } export type ErrorResult = { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Facet = Node & { - __typename?: 'Facet'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isPrivate: Scalars['Boolean']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - /** Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0. */ - valueList: FacetValueList; - values: Array; + __typename?: 'Facet'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isPrivate: Scalars['Boolean']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + /** Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0. */ + valueList: FacetValueList; + values: Array; }; - export type FacetValueListArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type FacetFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetInUseError = ErrorResult & { - __typename?: 'FacetInUseError'; - errorCode: ErrorCode; - facetCode: Scalars['String']['output']; - message: Scalars['String']['output']; - productCount: Scalars['Int']['output']; - variantCount: Scalars['Int']['output']; + __typename?: 'FacetInUseError'; + errorCode: ErrorCode; + facetCode: Scalars['String']['output']; + message: Scalars['String']['output']; + productCount: Scalars['Int']['output']; + variantCount: Scalars['Int']['output']; }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type FacetSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type FacetValue = Node & { - __typename?: 'FacetValue'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - facet: Facet; - facetId: Scalars['ID']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValue'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + facet: Facet; + facetId: Scalars['ID']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -1693,37 +1719,37 @@ export type FacetValue = Node & { * * ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }` */ export type FacetValueFilterInput = { - and?: InputMaybe; - or?: InputMaybe>; + and?: InputMaybe; + or?: InputMaybe>; }; export type FacetValueFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + facetId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueList = PaginatedList & { - __typename?: 'FacetValueList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetValueList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetValueListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -1731,223 +1757,223 @@ export type FacetValueListOptions = { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; - count: Scalars['Int']['output']; - facetValue: FacetValue; + __typename?: 'FacetValueResult'; + count: Scalars['Int']['output']; + facetValue: FacetValue; }; export type FacetValueSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + facetId?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValueTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetValueTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'FloatCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FulfillOrderInput = { - handler: ConfigurableOperationInput; - lines: Array; + handler: ConfigurableOperationInput; + lines: Array; }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - lines: Array; - method: Scalars['String']['output']; - nextStates: Array; - state: Scalars['String']['output']; - /** @deprecated Use the `lines` field instead */ - summary: Array; - trackingCode?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Fulfillment'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + lines: Array; + method: Scalars['String']['output']; + nextStates: Array; + state: Scalars['String']['output']; + /** @deprecated Use the `lines` field instead */ + summary: Array; + trackingCode?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type FulfillmentLine = { - __typename?: 'FulfillmentLine'; - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'FulfillmentLine'; + fulfillment: Fulfillment; + fulfillmentId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; /** Returned when there is an error in transitioning the Fulfillment state */ export type FulfillmentStateTransitionError = ErrorResult & { - __typename?: 'FulfillmentStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'FulfillmentStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; export enum GlobalFlag { - FALSE = 'FALSE', - INHERIT = 'INHERIT', - TRUE = 'TRUE' + FALSE = 'FALSE', + INHERIT = 'INHERIT', + TRUE = 'TRUE', } export type GlobalSettings = { - __typename?: 'GlobalSettings'; - availableLanguages: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - outOfStockThreshold: Scalars['Int']['output']; - serverConfig: ServerConfig; - trackInventory: Scalars['Boolean']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'GlobalSettings'; + availableLanguages: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + outOfStockThreshold: Scalars['Int']['output']; + serverConfig: ServerConfig; + trackInventory: Scalars['Boolean']['output']; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it. */ export type GuestCheckoutError = ErrorResult & { - __typename?: 'GuestCheckoutError'; - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'GuestCheckoutError'; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; - administrator?: Maybe; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - isPublic: Scalars['Boolean']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'HistoryEntry'; + administrator?: Maybe; + createdAt: Scalars['DateTime']['output']; + data: Scalars['JSON']['output']; + id: Scalars['ID']['output']; + isPublic: Scalars['Boolean']['output']; + type: HistoryEntryType; + updatedAt: Scalars['DateTime']['output']; }; export type HistoryEntryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - isPublic?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPublic?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'HistoryEntryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type HistoryEntrySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export enum HistoryEntryType { - CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', - CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', - CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', - CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', - CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', - CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', - CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', - CUSTOMER_NOTE = 'CUSTOMER_NOTE', - CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', - CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', - CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', - CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', - CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', - CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', - ORDER_CANCELLATION = 'ORDER_CANCELLATION', - ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', - ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', - ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', - ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', - ORDER_MODIFIED = 'ORDER_MODIFIED', - ORDER_NOTE = 'ORDER_NOTE', - ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', - ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', - ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION' + CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', + CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', + CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', + CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', + CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', + CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', + CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', + CUSTOMER_NOTE = 'CUSTOMER_NOTE', + CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', + CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', + CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', + CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', + CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', + CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', + ORDER_CANCELLATION = 'ORDER_CANCELLATION', + ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', + ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', + ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', + ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', + ORDER_MODIFIED = 'ORDER_MODIFIED', + ORDER_NOTE = 'ORDER_NOTE', + ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', + ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', + ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION', } /** Operators for filtering on a list of ID fields */ export type IdListOperators = { - inList: Scalars['ID']['input']; + inList: Scalars['ID']['input']; }; /** Operators for filtering on an ID field */ export type IdOperators = { - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; }; export type ImportInfo = { - __typename?: 'ImportInfo'; - errors?: Maybe>; - imported: Scalars['Int']['output']; - processed: Scalars['Int']['output']; + __typename?: 'ImportInfo'; + errors?: Maybe>; + imported: Scalars['Int']['output']; + processed: Scalars['Int']['output']; }; /** Returned when attempting to set a ShippingMethod for which the Order is not eligible */ export type IneligibleShippingMethodError = ErrorResult & { - __typename?: 'IneligibleShippingMethodError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'IneligibleShippingMethodError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - __typename?: 'InsufficientStockError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + __typename?: 'InsufficientStockError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; /** @@ -1955,125 +1981,125 @@ export type InsufficientStockError = ErrorResult & { * stockOnHand of a ProductVariant to satisfy the requested quantity. */ export type InsufficientStockOnHandError = ErrorResult & { - __typename?: 'InsufficientStockOnHandError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - stockOnHand: Scalars['Int']['output']; + __typename?: 'InsufficientStockOnHandError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + stockOnHand: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'IntCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - __typename?: 'InvalidCredentialsError'; - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidCredentialsError'; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified FulfillmentHandler code is not valid */ export type InvalidFulfillmentHandlerError = ErrorResult & { - __typename?: 'InvalidFulfillmentHandlerError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidFulfillmentHandlerError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified items are already part of a Fulfillment */ export type ItemsAlreadyFulfilledError = ErrorResult & { - __typename?: 'ItemsAlreadyFulfilledError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'ItemsAlreadyFulfilledError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Job = Node & { - __typename?: 'Job'; - attempts: Scalars['Int']['output']; - createdAt: Scalars['DateTime']['output']; - data?: Maybe; - duration: Scalars['Int']['output']; - error?: Maybe; - id: Scalars['ID']['output']; - isSettled: Scalars['Boolean']['output']; - progress: Scalars['Float']['output']; - queueName: Scalars['String']['output']; - result?: Maybe; - retries: Scalars['Int']['output']; - settledAt?: Maybe; - startedAt?: Maybe; - state: JobState; + __typename?: 'Job'; + attempts: Scalars['Int']['output']; + createdAt: Scalars['DateTime']['output']; + data?: Maybe; + duration: Scalars['Int']['output']; + error?: Maybe; + id: Scalars['ID']['output']; + isSettled: Scalars['Boolean']['output']; + progress: Scalars['Float']['output']; + queueName: Scalars['String']['output']; + result?: Maybe; + retries: Scalars['Int']['output']; + settledAt?: Maybe; + startedAt?: Maybe; + state: JobState; }; export type JobBufferSize = { - __typename?: 'JobBufferSize'; - bufferId: Scalars['String']['output']; - size: Scalars['Int']['output']; + __typename?: 'JobBufferSize'; + bufferId: Scalars['String']['output']; + size: Scalars['Int']['output']; }; export type JobFilterParameter = { - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - isSettled?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; - state?: InputMaybe; + attempts?: InputMaybe; + createdAt?: InputMaybe; + duration?: InputMaybe; + id?: InputMaybe; + isSettled?: InputMaybe; + progress?: InputMaybe; + queueName?: InputMaybe; + retries?: InputMaybe; + settledAt?: InputMaybe; + startedAt?: InputMaybe; + state?: InputMaybe; }; export type JobList = PaginatedList & { - __typename?: 'JobList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'JobList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type JobListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type JobQueue = { - __typename?: 'JobQueue'; - name: Scalars['String']['output']; - running: Scalars['Boolean']['output']; + __typename?: 'JobQueue'; + name: Scalars['String']['output']; + running: Scalars['Boolean']['output']; }; export type JobSortParameter = { - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; + attempts?: InputMaybe; + createdAt?: InputMaybe; + duration?: InputMaybe; + id?: InputMaybe; + progress?: InputMaybe; + queueName?: InputMaybe; + retries?: InputMaybe; + settledAt?: InputMaybe; + startedAt?: InputMaybe; }; /** @@ -2083,12 +2109,12 @@ export type JobSortParameter = { * @docsCategory common */ export enum JobState { - CANCELLED = 'CANCELLED', - COMPLETED = 'COMPLETED', - FAILED = 'FAILED', - PENDING = 'PENDING', - RETRYING = 'RETRYING', - RUNNING = 'RUNNING' + CANCELLED = 'CANCELLED', + COMPLETED = 'COMPLETED', + FAILED = 'FAILED', + PENDING = 'PENDING', + RETRYING = 'RETRYING', + RUNNING = 'RUNNING', } /** @@ -2101,374 +2127,374 @@ export enum JobState { * @docsCategory common */ export enum LanguageCode { - /** Afrikaans */ - af = 'af', - /** Akan */ - ak = 'ak', - /** Amharic */ - am = 'am', - /** Arabic */ - ar = 'ar', - /** Assamese */ - as = 'as', - /** Azerbaijani */ - az = 'az', - /** Belarusian */ - be = 'be', - /** Bulgarian */ - bg = 'bg', - /** Bambara */ - bm = 'bm', - /** Bangla */ - bn = 'bn', - /** Tibetan */ - bo = 'bo', - /** Breton */ - br = 'br', - /** Bosnian */ - bs = 'bs', - /** Catalan */ - ca = 'ca', - /** Chechen */ - ce = 'ce', - /** Corsican */ - co = 'co', - /** Czech */ - cs = 'cs', - /** Church Slavic */ - cu = 'cu', - /** Welsh */ - cy = 'cy', - /** Danish */ - da = 'da', - /** German */ - de = 'de', - /** Austrian German */ - de_AT = 'de_AT', - /** Swiss High German */ - de_CH = 'de_CH', - /** Dzongkha */ - dz = 'dz', - /** Ewe */ - ee = 'ee', - /** Greek */ - el = 'el', - /** English */ - en = 'en', - /** Australian English */ - en_AU = 'en_AU', - /** Canadian English */ - en_CA = 'en_CA', - /** British English */ - en_GB = 'en_GB', - /** American English */ - en_US = 'en_US', - /** Esperanto */ - eo = 'eo', - /** Spanish */ - es = 'es', - /** European Spanish */ - es_ES = 'es_ES', - /** Mexican Spanish */ - es_MX = 'es_MX', - /** Estonian */ - et = 'et', - /** Basque */ - eu = 'eu', - /** Persian */ - fa = 'fa', - /** Dari */ - fa_AF = 'fa_AF', - /** Fulah */ - ff = 'ff', - /** Finnish */ - fi = 'fi', - /** Faroese */ - fo = 'fo', - /** French */ - fr = 'fr', - /** Canadian French */ - fr_CA = 'fr_CA', - /** Swiss French */ - fr_CH = 'fr_CH', - /** Western Frisian */ - fy = 'fy', - /** Irish */ - ga = 'ga', - /** Scottish Gaelic */ - gd = 'gd', - /** Galician */ - gl = 'gl', - /** Gujarati */ - gu = 'gu', - /** Manx */ - gv = 'gv', - /** Hausa */ - ha = 'ha', - /** Hebrew */ - he = 'he', - /** Hindi */ - hi = 'hi', - /** Croatian */ - hr = 'hr', - /** Haitian Creole */ - ht = 'ht', - /** Hungarian */ - hu = 'hu', - /** Armenian */ - hy = 'hy', - /** Interlingua */ - ia = 'ia', - /** Indonesian */ - id = 'id', - /** Igbo */ - ig = 'ig', - /** Sichuan Yi */ - ii = 'ii', - /** Icelandic */ - is = 'is', - /** Italian */ - it = 'it', - /** Japanese */ - ja = 'ja', - /** Javanese */ - jv = 'jv', - /** Georgian */ - ka = 'ka', - /** Kikuyu */ - ki = 'ki', - /** Kazakh */ - kk = 'kk', - /** Kalaallisut */ - kl = 'kl', - /** Khmer */ - km = 'km', - /** Kannada */ - kn = 'kn', - /** Korean */ - ko = 'ko', - /** Kashmiri */ - ks = 'ks', - /** Kurdish */ - ku = 'ku', - /** Cornish */ - kw = 'kw', - /** Kyrgyz */ - ky = 'ky', - /** Latin */ - la = 'la', - /** Luxembourgish */ - lb = 'lb', - /** Ganda */ - lg = 'lg', - /** Lingala */ - ln = 'ln', - /** Lao */ - lo = 'lo', - /** Lithuanian */ - lt = 'lt', - /** Luba-Katanga */ - lu = 'lu', - /** Latvian */ - lv = 'lv', - /** Malagasy */ - mg = 'mg', - /** Maori */ - mi = 'mi', - /** Macedonian */ - mk = 'mk', - /** Malayalam */ - ml = 'ml', - /** Mongolian */ - mn = 'mn', - /** Marathi */ - mr = 'mr', - /** Malay */ - ms = 'ms', - /** Maltese */ - mt = 'mt', - /** Burmese */ - my = 'my', - /** Norwegian Bokmål */ - nb = 'nb', - /** North Ndebele */ - nd = 'nd', - /** Nepali */ - ne = 'ne', - /** Dutch */ - nl = 'nl', - /** Flemish */ - nl_BE = 'nl_BE', - /** Norwegian Nynorsk */ - nn = 'nn', - /** Nyanja */ - ny = 'ny', - /** Oromo */ - om = 'om', - /** Odia */ - or = 'or', - /** Ossetic */ - os = 'os', - /** Punjabi */ - pa = 'pa', - /** Polish */ - pl = 'pl', - /** Pashto */ - ps = 'ps', - /** Portuguese */ - pt = 'pt', - /** Brazilian Portuguese */ - pt_BR = 'pt_BR', - /** European Portuguese */ - pt_PT = 'pt_PT', - /** Quechua */ - qu = 'qu', - /** Romansh */ - rm = 'rm', - /** Rundi */ - rn = 'rn', - /** Romanian */ - ro = 'ro', - /** Moldavian */ - ro_MD = 'ro_MD', - /** Russian */ - ru = 'ru', - /** Kinyarwanda */ - rw = 'rw', - /** Sanskrit */ - sa = 'sa', - /** Sindhi */ - sd = 'sd', - /** Northern Sami */ - se = 'se', - /** Sango */ - sg = 'sg', - /** Sinhala */ - si = 'si', - /** Slovak */ - sk = 'sk', - /** Slovenian */ - sl = 'sl', - /** Samoan */ - sm = 'sm', - /** Shona */ - sn = 'sn', - /** Somali */ - so = 'so', - /** Albanian */ - sq = 'sq', - /** Serbian */ - sr = 'sr', - /** Southern Sotho */ - st = 'st', - /** Sundanese */ - su = 'su', - /** Swedish */ - sv = 'sv', - /** Swahili */ - sw = 'sw', - /** Congo Swahili */ - sw_CD = 'sw_CD', - /** Tamil */ - ta = 'ta', - /** Telugu */ - te = 'te', - /** Tajik */ - tg = 'tg', - /** Thai */ - th = 'th', - /** Tigrinya */ - ti = 'ti', - /** Turkmen */ - tk = 'tk', - /** Tongan */ - to = 'to', - /** Turkish */ - tr = 'tr', - /** Tatar */ - tt = 'tt', - /** Uyghur */ - ug = 'ug', - /** Ukrainian */ - uk = 'uk', - /** Urdu */ - ur = 'ur', - /** Uzbek */ - uz = 'uz', - /** Vietnamese */ - vi = 'vi', - /** Volapük */ - vo = 'vo', - /** Wolof */ - wo = 'wo', - /** Xhosa */ - xh = 'xh', - /** Yiddish */ - yi = 'yi', - /** Yoruba */ - yo = 'yo', - /** Chinese */ - zh = 'zh', - /** Simplified Chinese */ - zh_Hans = 'zh_Hans', - /** Traditional Chinese */ - zh_Hant = 'zh_Hant', - /** Zulu */ - zu = 'zu' + /** Afrikaans */ + af = 'af', + /** Akan */ + ak = 'ak', + /** Amharic */ + am = 'am', + /** Arabic */ + ar = 'ar', + /** Assamese */ + as = 'as', + /** Azerbaijani */ + az = 'az', + /** Belarusian */ + be = 'be', + /** Bulgarian */ + bg = 'bg', + /** Bambara */ + bm = 'bm', + /** Bangla */ + bn = 'bn', + /** Tibetan */ + bo = 'bo', + /** Breton */ + br = 'br', + /** Bosnian */ + bs = 'bs', + /** Catalan */ + ca = 'ca', + /** Chechen */ + ce = 'ce', + /** Corsican */ + co = 'co', + /** Czech */ + cs = 'cs', + /** Church Slavic */ + cu = 'cu', + /** Welsh */ + cy = 'cy', + /** Danish */ + da = 'da', + /** German */ + de = 'de', + /** Austrian German */ + de_AT = 'de_AT', + /** Swiss High German */ + de_CH = 'de_CH', + /** Dzongkha */ + dz = 'dz', + /** Ewe */ + ee = 'ee', + /** Greek */ + el = 'el', + /** English */ + en = 'en', + /** Australian English */ + en_AU = 'en_AU', + /** Canadian English */ + en_CA = 'en_CA', + /** British English */ + en_GB = 'en_GB', + /** American English */ + en_US = 'en_US', + /** Esperanto */ + eo = 'eo', + /** Spanish */ + es = 'es', + /** European Spanish */ + es_ES = 'es_ES', + /** Mexican Spanish */ + es_MX = 'es_MX', + /** Estonian */ + et = 'et', + /** Basque */ + eu = 'eu', + /** Persian */ + fa = 'fa', + /** Dari */ + fa_AF = 'fa_AF', + /** Fulah */ + ff = 'ff', + /** Finnish */ + fi = 'fi', + /** Faroese */ + fo = 'fo', + /** French */ + fr = 'fr', + /** Canadian French */ + fr_CA = 'fr_CA', + /** Swiss French */ + fr_CH = 'fr_CH', + /** Western Frisian */ + fy = 'fy', + /** Irish */ + ga = 'ga', + /** Scottish Gaelic */ + gd = 'gd', + /** Galician */ + gl = 'gl', + /** Gujarati */ + gu = 'gu', + /** Manx */ + gv = 'gv', + /** Hausa */ + ha = 'ha', + /** Hebrew */ + he = 'he', + /** Hindi */ + hi = 'hi', + /** Croatian */ + hr = 'hr', + /** Haitian Creole */ + ht = 'ht', + /** Hungarian */ + hu = 'hu', + /** Armenian */ + hy = 'hy', + /** Interlingua */ + ia = 'ia', + /** Indonesian */ + id = 'id', + /** Igbo */ + ig = 'ig', + /** Sichuan Yi */ + ii = 'ii', + /** Icelandic */ + is = 'is', + /** Italian */ + it = 'it', + /** Japanese */ + ja = 'ja', + /** Javanese */ + jv = 'jv', + /** Georgian */ + ka = 'ka', + /** Kikuyu */ + ki = 'ki', + /** Kazakh */ + kk = 'kk', + /** Kalaallisut */ + kl = 'kl', + /** Khmer */ + km = 'km', + /** Kannada */ + kn = 'kn', + /** Korean */ + ko = 'ko', + /** Kashmiri */ + ks = 'ks', + /** Kurdish */ + ku = 'ku', + /** Cornish */ + kw = 'kw', + /** Kyrgyz */ + ky = 'ky', + /** Latin */ + la = 'la', + /** Luxembourgish */ + lb = 'lb', + /** Ganda */ + lg = 'lg', + /** Lingala */ + ln = 'ln', + /** Lao */ + lo = 'lo', + /** Lithuanian */ + lt = 'lt', + /** Luba-Katanga */ + lu = 'lu', + /** Latvian */ + lv = 'lv', + /** Malagasy */ + mg = 'mg', + /** Maori */ + mi = 'mi', + /** Macedonian */ + mk = 'mk', + /** Malayalam */ + ml = 'ml', + /** Mongolian */ + mn = 'mn', + /** Marathi */ + mr = 'mr', + /** Malay */ + ms = 'ms', + /** Maltese */ + mt = 'mt', + /** Burmese */ + my = 'my', + /** Norwegian Bokmål */ + nb = 'nb', + /** North Ndebele */ + nd = 'nd', + /** Nepali */ + ne = 'ne', + /** Dutch */ + nl = 'nl', + /** Flemish */ + nl_BE = 'nl_BE', + /** Norwegian Nynorsk */ + nn = 'nn', + /** Nyanja */ + ny = 'ny', + /** Oromo */ + om = 'om', + /** Odia */ + or = 'or', + /** Ossetic */ + os = 'os', + /** Punjabi */ + pa = 'pa', + /** Polish */ + pl = 'pl', + /** Pashto */ + ps = 'ps', + /** Portuguese */ + pt = 'pt', + /** Brazilian Portuguese */ + pt_BR = 'pt_BR', + /** European Portuguese */ + pt_PT = 'pt_PT', + /** Quechua */ + qu = 'qu', + /** Romansh */ + rm = 'rm', + /** Rundi */ + rn = 'rn', + /** Romanian */ + ro = 'ro', + /** Moldavian */ + ro_MD = 'ro_MD', + /** Russian */ + ru = 'ru', + /** Kinyarwanda */ + rw = 'rw', + /** Sanskrit */ + sa = 'sa', + /** Sindhi */ + sd = 'sd', + /** Northern Sami */ + se = 'se', + /** Sango */ + sg = 'sg', + /** Sinhala */ + si = 'si', + /** Slovak */ + sk = 'sk', + /** Slovenian */ + sl = 'sl', + /** Samoan */ + sm = 'sm', + /** Shona */ + sn = 'sn', + /** Somali */ + so = 'so', + /** Albanian */ + sq = 'sq', + /** Serbian */ + sr = 'sr', + /** Southern Sotho */ + st = 'st', + /** Sundanese */ + su = 'su', + /** Swedish */ + sv = 'sv', + /** Swahili */ + sw = 'sw', + /** Congo Swahili */ + sw_CD = 'sw_CD', + /** Tamil */ + ta = 'ta', + /** Telugu */ + te = 'te', + /** Tajik */ + tg = 'tg', + /** Thai */ + th = 'th', + /** Tigrinya */ + ti = 'ti', + /** Turkmen */ + tk = 'tk', + /** Tongan */ + to = 'to', + /** Turkish */ + tr = 'tr', + /** Tatar */ + tt = 'tt', + /** Uyghur */ + ug = 'ug', + /** Ukrainian */ + uk = 'uk', + /** Urdu */ + ur = 'ur', + /** Uzbek */ + uz = 'uz', + /** Vietnamese */ + vi = 'vi', + /** Volapük */ + vo = 'vo', + /** Wolof */ + wo = 'wo', + /** Xhosa */ + xh = 'xh', + /** Yiddish */ + yi = 'yi', + /** Yoruba */ + yo = 'yo', + /** Chinese */ + zh = 'zh', + /** Simplified Chinese */ + zh_Hans = 'zh_Hans', + /** Traditional Chinese */ + zh_Hant = 'zh_Hant', + /** Zulu */ + zu = 'zu', } /** Returned if attempting to set a Channel's defaultLanguageCode to a language which is not enabled in GlobalSettings */ export type LanguageNotAvailableError = ErrorResult & { - __typename?: 'LanguageNotAvailableError'; - errorCode: ErrorCode; - languageCode: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'LanguageNotAvailableError'; + errorCode: ErrorCode; + languageCode: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleStringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - __typename?: 'LocaleTextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleTextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - __typename?: 'LocalizedString'; - languageCode: LanguageCode; - value: Scalars['String']['output']; + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: Scalars['String']['output']; }; export enum LogicalOperator { - AND = 'AND', - OR = 'OR' + AND = 'AND', + OR = 'OR', } export type ManualPaymentInput = { - metadata?: InputMaybe; - method: Scalars['String']['input']; - orderId: Scalars['ID']['input']; - transactionId?: InputMaybe; + metadata?: InputMaybe; + method: Scalars['String']['input']; + orderId: Scalars['ID']['input']; + transactionId?: InputMaybe; }; /** @@ -2476,1230 +2502,1085 @@ export type ManualPaymentInput = { * is not in the required state. */ export type ManualPaymentStateError = ErrorResult & { - __typename?: 'ManualPaymentStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'ManualPaymentStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum MetricInterval { - Daily = 'Daily' + Daily = 'Daily', } export type MetricSummary = { - __typename?: 'MetricSummary'; - entries: Array; - interval: MetricInterval; - title: Scalars['String']['output']; - type: MetricType; + __typename?: 'MetricSummary'; + entries: Array; + interval: MetricInterval; + title: Scalars['String']['output']; + type: MetricType; }; export type MetricSummaryEntry = { - __typename?: 'MetricSummaryEntry'; - label: Scalars['String']['output']; - value: Scalars['Float']['output']; + __typename?: 'MetricSummaryEntry'; + label: Scalars['String']['output']; + value: Scalars['Float']['output']; }; export type MetricSummaryInput = { - interval: MetricInterval; - refresh?: InputMaybe; - types: Array; + interval: MetricInterval; + refresh?: InputMaybe; + types: Array; }; export enum MetricType { - AverageOrderValue = 'AverageOrderValue', - OrderCount = 'OrderCount', - OrderTotal = 'OrderTotal' + AverageOrderValue = 'AverageOrderValue', + OrderCount = 'OrderCount', + OrderTotal = 'OrderTotal', } export type MimeTypeError = ErrorResult & { - __typename?: 'MimeTypeError'; - errorCode: ErrorCode; - fileName: Scalars['String']['output']; - message: Scalars['String']['output']; - mimeType: Scalars['String']['output']; + __typename?: 'MimeTypeError'; + errorCode: ErrorCode; + fileName: Scalars['String']['output']; + message: Scalars['String']['output']; + mimeType: Scalars['String']['output']; }; /** Returned if a PromotionCondition has neither a couponCode nor any conditions set */ export type MissingConditionsError = ErrorResult & { - __typename?: 'MissingConditionsError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MissingConditionsError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type ModifyOrderInput = { - addItems?: InputMaybe>; - adjustOrderLines?: InputMaybe>; - couponCodes?: InputMaybe>; - dryRun: Scalars['Boolean']['input']; - note?: InputMaybe; - options?: InputMaybe; - orderId: Scalars['ID']['input']; - refund?: InputMaybe; - surcharges?: InputMaybe>; - updateBillingAddress?: InputMaybe; - updateShippingAddress?: InputMaybe; + addItems?: InputMaybe>; + adjustOrderLines?: InputMaybe>; + couponCodes?: InputMaybe>; + dryRun: Scalars['Boolean']['input']; + note?: InputMaybe; + options?: InputMaybe; + orderId: Scalars['ID']['input']; + refund?: InputMaybe; + surcharges?: InputMaybe>; + updateBillingAddress?: InputMaybe; + updateShippingAddress?: InputMaybe; }; export type ModifyOrderOptions = { - freezePromotions?: InputMaybe; - recalculateShipping?: InputMaybe; -}; - -export type ModifyOrderResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | InsufficientStockError | NegativeQuantityError | NoChangesSpecifiedError | Order | OrderLimitError | OrderModificationStateError | PaymentMethodMissingError | RefundPaymentIdMissingError; + freezePromotions?: InputMaybe; + recalculateShipping?: InputMaybe; +}; + +export type ModifyOrderResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | InsufficientStockError + | NegativeQuantityError + | NoChangesSpecifiedError + | Order + | OrderLimitError + | OrderModificationStateError + | PaymentMethodMissingError + | RefundPaymentIdMissingError; export type MoveCollectionInput = { - collectionId: Scalars['ID']['input']; - index: Scalars['Int']['input']; - parentId: Scalars['ID']['input']; + collectionId: Scalars['ID']['input']; + index: Scalars['Int']['input']; + parentId: Scalars['ID']['input']; }; /** Returned if an operation has specified OrderLines from multiple Orders */ export type MultipleOrderError = ErrorResult & { - __typename?: 'MultipleOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MultipleOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Mutation = { - __typename?: 'Mutation'; - /** Add Customers to a CustomerGroup */ - addCustomersToGroup: CustomerGroup; - addFulfillmentToOrder: AddFulfillmentToOrderResult; - /** Adds an item to the draft Order. */ - addItemToDraftOrder: UpdateOrderItemsResult; - /** - * Used to manually create a new Payment against an Order. - * This can be used by an Administrator when an Order is in the ArrangingPayment state. - * - * It is also used when a completed Order - * has been modified (using `modifyOrder`) and the price has increased. The extra payment - * can then be manually arranged by the administrator, and the details used to create a new - * Payment. - */ - addManualPaymentToOrder: AddManualPaymentToOrderResult; - /** Add members to a Zone */ - addMembersToZone: Zone; - addNoteToCustomer: Customer; - addNoteToOrder: Order; - /** Add an OptionGroup to a Product */ - addOptionGroupToProduct: Product; - /** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ - adjustDraftOrderLine: UpdateOrderItemsResult; - /** Applies the given coupon code to the draft Order */ - applyCouponCodeToDraftOrder: ApplyCouponCodeResult; - /** Assign assets to channel */ - assignAssetsToChannel: Array; - /** Assigns Collections to the specified Channel */ - assignCollectionsToChannel: Array; - /** Assigns Facets to the specified Channel */ - assignFacetsToChannel: Array; - /** Assigns PaymentMethods to the specified Channel */ - assignPaymentMethodsToChannel: Array; - /** Assigns ProductVariants to the specified Channel */ - assignProductVariantsToChannel: Array; - /** Assigns all ProductVariants of Product to the specified Channel */ - assignProductsToChannel: Array; - /** Assigns Promotions to the specified Channel */ - assignPromotionsToChannel: Array; - /** Assign a Role to an Administrator */ - assignRoleToAdministrator: Administrator; - /** Assigns ShippingMethods to the specified Channel */ - assignShippingMethodsToChannel: Array; - /** Assigns StockLocations to the specified Channel */ - assignStockLocationsToChannel: Array; - /** Authenticates the user using a named authentication strategy */ - authenticate: AuthenticationResult; - cancelJob: Job; - cancelOrder: CancelOrderResult; - cancelPayment: CancelPaymentResult; - /** Create a new Administrator */ - createAdministrator: Administrator; - /** Create a new Asset */ - createAssets: Array; - /** Create a new Channel */ - createChannel: CreateChannelResult; - /** Create a new Collection */ - createCollection: Collection; - /** Create a new Country */ - createCountry: Country; - /** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */ - createCustomer: CreateCustomerResult; - /** Create a new Address and associate it with the Customer specified by customerId */ - createCustomerAddress: Address; - /** Create a new CustomerGroup */ - createCustomerGroup: CustomerGroup; - /** Creates a draft Order */ - createDraftOrder: Order; - /** Create a new Facet */ - createFacet: Facet; - /** Create one or more FacetValues */ - createFacetValues: Array; - /** Create existing PaymentMethod */ - createPaymentMethod: PaymentMethod; - /** Create a new Product */ - createProduct: Product; - /** Create a new ProductOption within a ProductOptionGroup */ - createProductOption: ProductOption; - /** Create a new ProductOptionGroup */ - createProductOptionGroup: ProductOptionGroup; - /** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */ - createProductVariants: Array>; - createPromotion: CreatePromotionResult; - /** Create a new Province */ - createProvince: Province; - /** Create a new Role */ - createRole: Role; - /** Create a new Seller */ - createSeller: Seller; - /** Create a new ShippingMethod */ - createShippingMethod: ShippingMethod; - createStockLocation: StockLocation; - /** Create a new Tag */ - createTag: Tag; - /** Create a new TaxCategory */ - createTaxCategory: TaxCategory; - /** Create a new TaxRate */ - createTaxRate: TaxRate; - /** Create a new Zone */ - createZone: Zone; - /** Delete an Administrator */ - deleteAdministrator: DeletionResponse; - /** Delete multiple Administrators */ - deleteAdministrators: Array; - /** Delete an Asset */ - deleteAsset: DeletionResponse; - /** Delete multiple Assets */ - deleteAssets: DeletionResponse; - /** Delete a Channel */ - deleteChannel: DeletionResponse; - /** Delete multiple Channels */ - deleteChannels: Array; - /** Delete a Collection and all of its descendants */ - deleteCollection: DeletionResponse; - /** Delete multiple Collections and all of their descendants */ - deleteCollections: Array; - /** Delete multiple Countries */ - deleteCountries: Array; - /** Delete a Country */ - deleteCountry: DeletionResponse; - /** Delete a Customer */ - deleteCustomer: DeletionResponse; - /** Update an existing Address */ - deleteCustomerAddress: Success; - /** Delete a CustomerGroup */ - deleteCustomerGroup: DeletionResponse; - /** Delete multiple CustomerGroups */ - deleteCustomerGroups: Array; - deleteCustomerNote: DeletionResponse; - /** Deletes Customers */ - deleteCustomers: Array; - /** Deletes a draft Order */ - deleteDraftOrder: DeletionResponse; - /** Delete an existing Facet */ - deleteFacet: DeletionResponse; - /** Delete one or more FacetValues */ - deleteFacetValues: Array; - /** Delete multiple existing Facets */ - deleteFacets: Array; - deleteOrderNote: DeletionResponse; - /** Delete a PaymentMethod */ - deletePaymentMethod: DeletionResponse; - /** Delete multiple PaymentMethods */ - deletePaymentMethods: Array; - /** Delete a Product */ - deleteProduct: DeletionResponse; - /** Delete a ProductOption */ - deleteProductOption: DeletionResponse; - /** Delete a ProductVariant */ - deleteProductVariant: DeletionResponse; - /** Delete multiple ProductVariants */ - deleteProductVariants: Array; - /** Delete multiple Products */ - deleteProducts: Array; - deletePromotion: DeletionResponse; - deletePromotions: Array; - /** Delete a Province */ - deleteProvince: DeletionResponse; - /** Delete an existing Role */ - deleteRole: DeletionResponse; - /** Delete multiple Roles */ - deleteRoles: Array; - /** Delete a Seller */ - deleteSeller: DeletionResponse; - /** Delete multiple Sellers */ - deleteSellers: Array; - /** Delete a ShippingMethod */ - deleteShippingMethod: DeletionResponse; - /** Delete multiple ShippingMethods */ - deleteShippingMethods: Array; - deleteStockLocation: DeletionResponse; - deleteStockLocations: Array; - /** Delete an existing Tag */ - deleteTag: DeletionResponse; - /** Deletes multiple TaxCategories */ - deleteTaxCategories: Array; - /** Deletes a TaxCategory */ - deleteTaxCategory: DeletionResponse; - /** Delete a TaxRate */ - deleteTaxRate: DeletionResponse; - /** Delete multiple TaxRates */ - deleteTaxRates: Array; - /** Delete a Zone */ - deleteZone: DeletionResponse; - /** Delete a Zone */ - deleteZones: Array; - flushBufferedJobs: Success; - importProducts?: Maybe; - /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ - login: NativeAuthenticationResult; - logout: Success; - /** - * Allows an Order to be modified after it has been completed by the Customer. The Order must first - * be in the `Modifying` state. - */ - modifyOrder: ModifyOrderResult; - /** Move a Collection to a different parent or index */ - moveCollection: Collection; - refundOrder: RefundOrderResult; - reindex: Job; - /** Removes Collections from the specified Channel */ - removeCollectionsFromChannel: Array; - /** Removes the given coupon code from the draft Order */ - removeCouponCodeFromDraftOrder?: Maybe; - /** Remove Customers from a CustomerGroup */ - removeCustomersFromGroup: CustomerGroup; - /** Remove an OrderLine from the draft Order */ - removeDraftOrderLine: RemoveOrderItemsResult; - /** Removes Facets from the specified Channel */ - removeFacetsFromChannel: Array; - /** Remove members from a Zone */ - removeMembersFromZone: Zone; - /** - * Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants - * the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed. - * Setting the `force` argument to `true` will override this and remove the OptionGroup anyway, - * as well as removing any of the group's options from the Product's ProductVariants. - */ - removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; - /** Removes PaymentMethods from the specified Channel */ - removePaymentMethodsFromChannel: Array; - /** Removes ProductVariants from the specified Channel */ - removeProductVariantsFromChannel: Array; - /** Removes all ProductVariants of Product from the specified Channel */ - removeProductsFromChannel: Array; - /** Removes Promotions from the specified Channel */ - removePromotionsFromChannel: Array; - /** Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted. */ - removeSettledJobs: Scalars['Int']['output']; - /** Removes ShippingMethods from the specified Channel */ - removeShippingMethodsFromChannel: Array; - /** Removes StockLocations from the specified Channel */ - removeStockLocationsFromChannel: Array; - runPendingSearchIndexUpdates: Success; - setCustomerForDraftOrder: SetCustomerForDraftOrderResult; - /** Sets the billing address for a draft Order */ - setDraftOrderBillingAddress: Order; - /** Allows any custom fields to be set for the active order */ - setDraftOrderCustomFields: Order; - /** Sets the shipping address for a draft Order */ - setDraftOrderShippingAddress: Order; - /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */ - setDraftOrderShippingMethod: SetOrderShippingMethodResult; - setOrderCustomFields?: Maybe; - settlePayment: SettlePaymentResult; - settleRefund: SettleRefundResult; - transitionFulfillmentToState: TransitionFulfillmentToStateResult; - transitionOrderToState?: Maybe; - transitionPaymentToState: TransitionPaymentToStateResult; - /** Update the active (currently logged-in) Administrator */ - updateActiveAdministrator: Administrator; - /** Update an existing Administrator */ - updateAdministrator: Administrator; - /** Update an existing Asset */ - updateAsset: Asset; - /** Update an existing Channel */ - updateChannel: UpdateChannelResult; - /** Update an existing Collection */ - updateCollection: Collection; - /** Update an existing Country */ - updateCountry: Country; - /** Update an existing Customer */ - updateCustomer: UpdateCustomerResult; - /** Update an existing Address */ - updateCustomerAddress: Address; - /** Update an existing CustomerGroup */ - updateCustomerGroup: CustomerGroup; - updateCustomerNote: HistoryEntry; - /** Update an existing Facet */ - updateFacet: Facet; - /** Update one or more FacetValues */ - updateFacetValues: Array; - updateGlobalSettings: UpdateGlobalSettingsResult; - updateOrderNote: HistoryEntry; - /** Update an existing PaymentMethod */ - updatePaymentMethod: PaymentMethod; - /** Update an existing Product */ - updateProduct: Product; - /** Create a new ProductOption within a ProductOptionGroup */ - updateProductOption: ProductOption; - /** Update an existing ProductOptionGroup */ - updateProductOptionGroup: ProductOptionGroup; - /** Update existing ProductVariants */ - updateProductVariants: Array>; - /** Update multiple existing Products */ - updateProducts: Array; - updatePromotion: UpdatePromotionResult; - /** Update an existing Province */ - updateProvince: Province; - /** Update an existing Role */ - updateRole: Role; - /** Update an existing Seller */ - updateSeller: Seller; - /** Update an existing ShippingMethod */ - updateShippingMethod: ShippingMethod; - updateStockLocation: StockLocation; - /** Update an existing Tag */ - updateTag: Tag; - /** Update an existing TaxCategory */ - updateTaxCategory: TaxCategory; - /** Update an existing TaxRate */ - updateTaxRate: TaxRate; - /** Update an existing Zone */ - updateZone: Zone; + __typename?: 'Mutation'; + /** Add Customers to a CustomerGroup */ + addCustomersToGroup: CustomerGroup; + addFulfillmentToOrder: AddFulfillmentToOrderResult; + /** Adds an item to the draft Order. */ + addItemToDraftOrder: UpdateOrderItemsResult; + /** + * Used to manually create a new Payment against an Order. + * This can be used by an Administrator when an Order is in the ArrangingPayment state. + * + * It is also used when a completed Order + * has been modified (using `modifyOrder`) and the price has increased. The extra payment + * can then be manually arranged by the administrator, and the details used to create a new + * Payment. + */ + addManualPaymentToOrder: AddManualPaymentToOrderResult; + /** Add members to a Zone */ + addMembersToZone: Zone; + addNoteToCustomer: Customer; + addNoteToOrder: Order; + /** Add an OptionGroup to a Product */ + addOptionGroupToProduct: Product; + /** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ + adjustDraftOrderLine: UpdateOrderItemsResult; + /** Applies the given coupon code to the draft Order */ + applyCouponCodeToDraftOrder: ApplyCouponCodeResult; + /** Assign assets to channel */ + assignAssetsToChannel: Array; + /** Assigns Collections to the specified Channel */ + assignCollectionsToChannel: Array; + /** Assigns Facets to the specified Channel */ + assignFacetsToChannel: Array; + /** Assigns PaymentMethods to the specified Channel */ + assignPaymentMethodsToChannel: Array; + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Assigns all ProductVariants of Product to the specified Channel */ + assignProductsToChannel: Array; + /** Assigns Promotions to the specified Channel */ + assignPromotionsToChannel: Array; + /** Assign a Role to an Administrator */ + assignRoleToAdministrator: Administrator; + /** Assigns ShippingMethods to the specified Channel */ + assignShippingMethodsToChannel: Array; + /** Assigns StockLocations to the specified Channel */ + assignStockLocationsToChannel: Array; + /** Authenticates the user using a named authentication strategy */ + authenticate: AuthenticationResult; + cancelJob: Job; + cancelOrder: CancelOrderResult; + cancelPayment: CancelPaymentResult; + /** Create a new Administrator */ + createAdministrator: Administrator; + /** Create a new Asset */ + createAssets: Array; + /** Create a new Channel */ + createChannel: CreateChannelResult; + /** Create a new Collection */ + createCollection: Collection; + /** Create a new Country */ + createCountry: Country; + /** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */ + createCustomer: CreateCustomerResult; + /** Create a new Address and associate it with the Customer specified by customerId */ + createCustomerAddress: Address; + /** Create a new CustomerGroup */ + createCustomerGroup: CustomerGroup; + /** Creates a draft Order */ + createDraftOrder: Order; + /** Create a new Facet */ + createFacet: Facet; + /** Create one or more FacetValues */ + createFacetValues: Array; + /** Create existing PaymentMethod */ + createPaymentMethod: PaymentMethod; + /** Create a new Product */ + createProduct: Product; + /** Create a new ProductOption within a ProductOptionGroup */ + createProductOption: ProductOption; + /** Create a new ProductOptionGroup */ + createProductOptionGroup: ProductOptionGroup; + /** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */ + createProductVariants: Array>; + createPromotion: CreatePromotionResult; + /** Create a new Province */ + createProvince: Province; + /** Create a new Role */ + createRole: Role; + /** Create a new Seller */ + createSeller: Seller; + /** Create a new ShippingMethod */ + createShippingMethod: ShippingMethod; + createStockLocation: StockLocation; + /** Create a new Tag */ + createTag: Tag; + /** Create a new TaxCategory */ + createTaxCategory: TaxCategory; + /** Create a new TaxRate */ + createTaxRate: TaxRate; + /** Create a new Zone */ + createZone: Zone; + /** Delete an Administrator */ + deleteAdministrator: DeletionResponse; + /** Delete multiple Administrators */ + deleteAdministrators: Array; + /** Delete an Asset */ + deleteAsset: DeletionResponse; + /** Delete multiple Assets */ + deleteAssets: DeletionResponse; + /** Delete a Channel */ + deleteChannel: DeletionResponse; + /** Delete multiple Channels */ + deleteChannels: Array; + /** Delete a Collection and all of its descendants */ + deleteCollection: DeletionResponse; + /** Delete multiple Collections and all of their descendants */ + deleteCollections: Array; + /** Delete multiple Countries */ + deleteCountries: Array; + /** Delete a Country */ + deleteCountry: DeletionResponse; + /** Delete a Customer */ + deleteCustomer: DeletionResponse; + /** Update an existing Address */ + deleteCustomerAddress: Success; + /** Delete a CustomerGroup */ + deleteCustomerGroup: DeletionResponse; + /** Delete multiple CustomerGroups */ + deleteCustomerGroups: Array; + deleteCustomerNote: DeletionResponse; + /** Deletes Customers */ + deleteCustomers: Array; + /** Deletes a draft Order */ + deleteDraftOrder: DeletionResponse; + /** Delete an existing Facet */ + deleteFacet: DeletionResponse; + /** Delete one or more FacetValues */ + deleteFacetValues: Array; + /** Delete multiple existing Facets */ + deleteFacets: Array; + deleteOrderNote: DeletionResponse; + /** Delete a PaymentMethod */ + deletePaymentMethod: DeletionResponse; + /** Delete multiple PaymentMethods */ + deletePaymentMethods: Array; + /** Delete a Product */ + deleteProduct: DeletionResponse; + /** Delete a ProductOption */ + deleteProductOption: DeletionResponse; + /** Delete a ProductVariant */ + deleteProductVariant: DeletionResponse; + /** Delete multiple ProductVariants */ + deleteProductVariants: Array; + /** Delete multiple Products */ + deleteProducts: Array; + deletePromotion: DeletionResponse; + deletePromotions: Array; + /** Delete a Province */ + deleteProvince: DeletionResponse; + /** Delete an existing Role */ + deleteRole: DeletionResponse; + /** Delete multiple Roles */ + deleteRoles: Array; + /** Delete a Seller */ + deleteSeller: DeletionResponse; + /** Delete multiple Sellers */ + deleteSellers: Array; + /** Delete a ShippingMethod */ + deleteShippingMethod: DeletionResponse; + /** Delete multiple ShippingMethods */ + deleteShippingMethods: Array; + deleteStockLocation: DeletionResponse; + deleteStockLocations: Array; + /** Delete an existing Tag */ + deleteTag: DeletionResponse; + /** Deletes multiple TaxCategories */ + deleteTaxCategories: Array; + /** Deletes a TaxCategory */ + deleteTaxCategory: DeletionResponse; + /** Delete a TaxRate */ + deleteTaxRate: DeletionResponse; + /** Delete multiple TaxRates */ + deleteTaxRates: Array; + /** Delete a Zone */ + deleteZone: DeletionResponse; + /** Delete a Zone */ + deleteZones: Array; + flushBufferedJobs: Success; + importProducts?: Maybe; + /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ + login: NativeAuthenticationResult; + logout: Success; + /** + * Allows an Order to be modified after it has been completed by the Customer. The Order must first + * be in the `Modifying` state. + */ + modifyOrder: ModifyOrderResult; + /** Move a Collection to a different parent or index */ + moveCollection: Collection; + refundOrder: RefundOrderResult; + reindex: Job; + /** Removes Collections from the specified Channel */ + removeCollectionsFromChannel: Array; + /** Removes the given coupon code from the draft Order */ + removeCouponCodeFromDraftOrder?: Maybe; + /** Remove Customers from a CustomerGroup */ + removeCustomersFromGroup: CustomerGroup; + /** Remove an OrderLine from the draft Order */ + removeDraftOrderLine: RemoveOrderItemsResult; + /** Removes Facets from the specified Channel */ + removeFacetsFromChannel: Array; + /** Remove members from a Zone */ + removeMembersFromZone: Zone; + /** + * Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants + * the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed. + * Setting the `force` argument to `true` will override this and remove the OptionGroup anyway, + * as well as removing any of the group's options from the Product's ProductVariants. + */ + removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; + /** Removes PaymentMethods from the specified Channel */ + removePaymentMethodsFromChannel: Array; + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; + /** Removes all ProductVariants of Product from the specified Channel */ + removeProductsFromChannel: Array; + /** Removes Promotions from the specified Channel */ + removePromotionsFromChannel: Array; + /** Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted. */ + removeSettledJobs: Scalars['Int']['output']; + /** Removes ShippingMethods from the specified Channel */ + removeShippingMethodsFromChannel: Array; + /** Removes StockLocations from the specified Channel */ + removeStockLocationsFromChannel: Array; + runPendingSearchIndexUpdates: Success; + setCustomerForDraftOrder: SetCustomerForDraftOrderResult; + /** Sets the billing address for a draft Order */ + setDraftOrderBillingAddress: Order; + /** Allows any custom fields to be set for the active order */ + setDraftOrderCustomFields: Order; + /** Sets the shipping address for a draft Order */ + setDraftOrderShippingAddress: Order; + /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */ + setDraftOrderShippingMethod: SetOrderShippingMethodResult; + setOrderCustomFields?: Maybe; + settlePayment: SettlePaymentResult; + settleRefund: SettleRefundResult; + transitionFulfillmentToState: TransitionFulfillmentToStateResult; + transitionOrderToState?: Maybe; + transitionPaymentToState: TransitionPaymentToStateResult; + /** Update the active (currently logged-in) Administrator */ + updateActiveAdministrator: Administrator; + /** Update an existing Administrator */ + updateAdministrator: Administrator; + /** Update an existing Asset */ + updateAsset: Asset; + /** Update an existing Channel */ + updateChannel: UpdateChannelResult; + /** Update an existing Collection */ + updateCollection: Collection; + /** Update an existing Country */ + updateCountry: Country; + /** Update an existing Customer */ + updateCustomer: UpdateCustomerResult; + /** Update an existing Address */ + updateCustomerAddress: Address; + /** Update an existing CustomerGroup */ + updateCustomerGroup: CustomerGroup; + updateCustomerNote: HistoryEntry; + /** Update an existing Facet */ + updateFacet: Facet; + /** Update one or more FacetValues */ + updateFacetValues: Array; + updateGlobalSettings: UpdateGlobalSettingsResult; + updateOrderNote: HistoryEntry; + /** Update an existing PaymentMethod */ + updatePaymentMethod: PaymentMethod; + /** Update an existing Product */ + updateProduct: Product; + /** Create a new ProductOption within a ProductOptionGroup */ + updateProductOption: ProductOption; + /** Update an existing ProductOptionGroup */ + updateProductOptionGroup: ProductOptionGroup; + /** Update existing ProductVariants */ + updateProductVariants: Array>; + /** Update multiple existing Products */ + updateProducts: Array; + updatePromotion: UpdatePromotionResult; + /** Update an existing Province */ + updateProvince: Province; + /** Update an existing Role */ + updateRole: Role; + /** Update an existing Seller */ + updateSeller: Seller; + /** Update an existing ShippingMethod */ + updateShippingMethod: ShippingMethod; + updateStockLocation: StockLocation; + /** Update an existing Tag */ + updateTag: Tag; + /** Update an existing TaxCategory */ + updateTaxCategory: TaxCategory; + /** Update an existing TaxRate */ + updateTaxRate: TaxRate; + /** Update an existing Zone */ + updateZone: Zone; }; - export type MutationAddCustomersToGroupArgs = { - customerGroupId: Scalars['ID']['input']; - customerIds: Array; + customerGroupId: Scalars['ID']['input']; + customerIds: Array; }; - export type MutationAddFulfillmentToOrderArgs = { - input: FulfillOrderInput; + input: FulfillOrderInput; }; - export type MutationAddItemToDraftOrderArgs = { - input: AddItemToDraftOrderInput; - orderId: Scalars['ID']['input']; + input: AddItemToDraftOrderInput; + orderId: Scalars['ID']['input']; }; - export type MutationAddManualPaymentToOrderArgs = { - input: ManualPaymentInput; + input: ManualPaymentInput; }; - export type MutationAddMembersToZoneArgs = { - memberIds: Array; - zoneId: Scalars['ID']['input']; + memberIds: Array; + zoneId: Scalars['ID']['input']; }; - export type MutationAddNoteToCustomerArgs = { - input: AddNoteToCustomerInput; + input: AddNoteToCustomerInput; }; - export type MutationAddNoteToOrderArgs = { - input: AddNoteToOrderInput; + input: AddNoteToOrderInput; }; - export type MutationAddOptionGroupToProductArgs = { - optionGroupId: Scalars['ID']['input']; - productId: Scalars['ID']['input']; + optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; }; - export type MutationAdjustDraftOrderLineArgs = { - input: AdjustDraftOrderLineInput; - orderId: Scalars['ID']['input']; + input: AdjustDraftOrderLineInput; + orderId: Scalars['ID']['input']; }; - export type MutationApplyCouponCodeToDraftOrderArgs = { - couponCode: Scalars['String']['input']; - orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationAssignAssetsToChannelArgs = { - input: AssignAssetsToChannelInput; + input: AssignAssetsToChannelInput; }; - export type MutationAssignCollectionsToChannelArgs = { - input: AssignCollectionsToChannelInput; + input: AssignCollectionsToChannelInput; }; - export type MutationAssignFacetsToChannelArgs = { - input: AssignFacetsToChannelInput; + input: AssignFacetsToChannelInput; }; - export type MutationAssignPaymentMethodsToChannelArgs = { - input: AssignPaymentMethodsToChannelInput; + input: AssignPaymentMethodsToChannelInput; }; - export type MutationAssignProductVariantsToChannelArgs = { - input: AssignProductVariantsToChannelInput; + input: AssignProductVariantsToChannelInput; }; - export type MutationAssignProductsToChannelArgs = { - input: AssignProductsToChannelInput; + input: AssignProductsToChannelInput; }; - export type MutationAssignPromotionsToChannelArgs = { - input: AssignPromotionsToChannelInput; + input: AssignPromotionsToChannelInput; }; - export type MutationAssignRoleToAdministratorArgs = { - administratorId: Scalars['ID']['input']; - roleId: Scalars['ID']['input']; + administratorId: Scalars['ID']['input']; + roleId: Scalars['ID']['input']; }; - export type MutationAssignShippingMethodsToChannelArgs = { - input: AssignShippingMethodsToChannelInput; + input: AssignShippingMethodsToChannelInput; }; - export type MutationAssignStockLocationsToChannelArgs = { - input: AssignStockLocationsToChannelInput; + input: AssignStockLocationsToChannelInput; }; - export type MutationAuthenticateArgs = { - input: AuthenticationInput; - rememberMe?: InputMaybe; + input: AuthenticationInput; + rememberMe?: InputMaybe; }; - export type MutationCancelJobArgs = { - jobId: Scalars['ID']['input']; + jobId: Scalars['ID']['input']; }; - export type MutationCancelOrderArgs = { - input: CancelOrderInput; + input: CancelOrderInput; }; - export type MutationCancelPaymentArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationCreateAdministratorArgs = { - input: CreateAdministratorInput; + input: CreateAdministratorInput; }; - export type MutationCreateAssetsArgs = { - input: Array; + input: Array; }; - export type MutationCreateChannelArgs = { - input: CreateChannelInput; + input: CreateChannelInput; }; - export type MutationCreateCollectionArgs = { - input: CreateCollectionInput; + input: CreateCollectionInput; }; - export type MutationCreateCountryArgs = { - input: CreateCountryInput; + input: CreateCountryInput; }; - export type MutationCreateCustomerArgs = { - input: CreateCustomerInput; - password?: InputMaybe; + input: CreateCustomerInput; + password?: InputMaybe; }; - export type MutationCreateCustomerAddressArgs = { - customerId: Scalars['ID']['input']; - input: CreateAddressInput; + customerId: Scalars['ID']['input']; + input: CreateAddressInput; }; - export type MutationCreateCustomerGroupArgs = { - input: CreateCustomerGroupInput; + input: CreateCustomerGroupInput; }; - export type MutationCreateFacetArgs = { - input: CreateFacetInput; + input: CreateFacetInput; }; - export type MutationCreateFacetValuesArgs = { - input: Array; + input: Array; }; - export type MutationCreatePaymentMethodArgs = { - input: CreatePaymentMethodInput; + input: CreatePaymentMethodInput; }; - export type MutationCreateProductArgs = { - input: CreateProductInput; + input: CreateProductInput; }; - export type MutationCreateProductOptionArgs = { - input: CreateProductOptionInput; + input: CreateProductOptionInput; }; - export type MutationCreateProductOptionGroupArgs = { - input: CreateProductOptionGroupInput; + input: CreateProductOptionGroupInput; }; - export type MutationCreateProductVariantsArgs = { - input: Array; + input: Array; }; - export type MutationCreatePromotionArgs = { - input: CreatePromotionInput; + input: CreatePromotionInput; }; - export type MutationCreateProvinceArgs = { - input: CreateProvinceInput; + input: CreateProvinceInput; }; - export type MutationCreateRoleArgs = { - input: CreateRoleInput; + input: CreateRoleInput; }; - export type MutationCreateSellerArgs = { - input: CreateSellerInput; + input: CreateSellerInput; }; - export type MutationCreateShippingMethodArgs = { - input: CreateShippingMethodInput; + input: CreateShippingMethodInput; }; - export type MutationCreateStockLocationArgs = { - input: CreateStockLocationInput; + input: CreateStockLocationInput; }; - export type MutationCreateTagArgs = { - input: CreateTagInput; + input: CreateTagInput; }; - export type MutationCreateTaxCategoryArgs = { - input: CreateTaxCategoryInput; + input: CreateTaxCategoryInput; }; - export type MutationCreateTaxRateArgs = { - input: CreateTaxRateInput; + input: CreateTaxRateInput; }; - export type MutationCreateZoneArgs = { - input: CreateZoneInput; + input: CreateZoneInput; }; - export type MutationDeleteAdministratorArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteAdministratorsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteAssetArgs = { - input: DeleteAssetInput; + input: DeleteAssetInput; }; - export type MutationDeleteAssetsArgs = { - input: DeleteAssetsInput; + input: DeleteAssetsInput; }; - export type MutationDeleteChannelArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteChannelsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCollectionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCollectionsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCountriesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCountryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerAddressArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerGroupsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCustomerNoteArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomersArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteDraftOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationDeleteFacetArgs = { - force?: InputMaybe; - id: Scalars['ID']['input']; + force?: InputMaybe; + id: Scalars['ID']['input']; }; - export type MutationDeleteFacetValuesArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteFacetsArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteOrderNoteArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeletePaymentMethodArgs = { - force?: InputMaybe; - id: Scalars['ID']['input']; + force?: InputMaybe; + id: Scalars['ID']['input']; }; - export type MutationDeletePaymentMethodsArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteProductArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductOptionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductVariantArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductVariantsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteProductsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeletePromotionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeletePromotionsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteProvinceArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteRoleArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteRolesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteSellerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteSellersArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteShippingMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteShippingMethodsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteStockLocationArgs = { - input: DeleteStockLocationInput; + input: DeleteStockLocationInput; }; - export type MutationDeleteStockLocationsArgs = { - input: Array; + input: Array; }; - export type MutationDeleteTagArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxCategoriesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteTaxCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxRateArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxRatesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteZoneArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteZonesArgs = { - ids: Array; + ids: Array; }; - export type MutationFlushBufferedJobsArgs = { - bufferIds?: InputMaybe>; + bufferIds?: InputMaybe>; }; - export type MutationImportProductsArgs = { - csvFile: Scalars['Upload']['input']; + csvFile: Scalars['Upload']['input']; }; - export type MutationLoginArgs = { - password: Scalars['String']['input']; - rememberMe?: InputMaybe; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + rememberMe?: InputMaybe; + username: Scalars['String']['input']; }; - export type MutationModifyOrderArgs = { - input: ModifyOrderInput; + input: ModifyOrderInput; }; - export type MutationMoveCollectionArgs = { - input: MoveCollectionInput; + input: MoveCollectionInput; }; - export type MutationRefundOrderArgs = { - input: RefundOrderInput; + input: RefundOrderInput; }; - export type MutationRemoveCollectionsFromChannelArgs = { - input: RemoveCollectionsFromChannelInput; + input: RemoveCollectionsFromChannelInput; }; - export type MutationRemoveCouponCodeFromDraftOrderArgs = { - couponCode: Scalars['String']['input']; - orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationRemoveCustomersFromGroupArgs = { - customerGroupId: Scalars['ID']['input']; - customerIds: Array; + customerGroupId: Scalars['ID']['input']; + customerIds: Array; }; - export type MutationRemoveDraftOrderLineArgs = { - orderId: Scalars['ID']['input']; - orderLineId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + orderLineId: Scalars['ID']['input']; }; - export type MutationRemoveFacetsFromChannelArgs = { - input: RemoveFacetsFromChannelInput; + input: RemoveFacetsFromChannelInput; }; - export type MutationRemoveMembersFromZoneArgs = { - memberIds: Array; - zoneId: Scalars['ID']['input']; + memberIds: Array; + zoneId: Scalars['ID']['input']; }; - export type MutationRemoveOptionGroupFromProductArgs = { - force?: InputMaybe; - optionGroupId: Scalars['ID']['input']; - productId: Scalars['ID']['input']; + force?: InputMaybe; + optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; }; - export type MutationRemovePaymentMethodsFromChannelArgs = { - input: RemovePaymentMethodsFromChannelInput; + input: RemovePaymentMethodsFromChannelInput; }; - export type MutationRemoveProductVariantsFromChannelArgs = { - input: RemoveProductVariantsFromChannelInput; + input: RemoveProductVariantsFromChannelInput; }; - export type MutationRemoveProductsFromChannelArgs = { - input: RemoveProductsFromChannelInput; + input: RemoveProductsFromChannelInput; }; - export type MutationRemovePromotionsFromChannelArgs = { - input: RemovePromotionsFromChannelInput; + input: RemovePromotionsFromChannelInput; }; - export type MutationRemoveSettledJobsArgs = { - olderThan?: InputMaybe; - queueNames?: InputMaybe>; + olderThan?: InputMaybe; + queueNames?: InputMaybe>; }; - export type MutationRemoveShippingMethodsFromChannelArgs = { - input: RemoveShippingMethodsFromChannelInput; + input: RemoveShippingMethodsFromChannelInput; }; - export type MutationRemoveStockLocationsFromChannelArgs = { - input: RemoveStockLocationsFromChannelInput; + input: RemoveStockLocationsFromChannelInput; }; - export type MutationSetCustomerForDraftOrderArgs = { - customerId?: InputMaybe; - input?: InputMaybe; - orderId: Scalars['ID']['input']; + customerId?: InputMaybe; + input?: InputMaybe; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderBillingAddressArgs = { - input: CreateAddressInput; - orderId: Scalars['ID']['input']; + input: CreateAddressInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderCustomFieldsArgs = { - input: UpdateOrderInput; - orderId: Scalars['ID']['input']; + input: UpdateOrderInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderShippingAddressArgs = { - input: CreateAddressInput; - orderId: Scalars['ID']['input']; + input: CreateAddressInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderShippingMethodArgs = { - orderId: Scalars['ID']['input']; - shippingMethodId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + shippingMethodId: Scalars['ID']['input']; }; - export type MutationSetOrderCustomFieldsArgs = { - input: UpdateOrderInput; + input: UpdateOrderInput; }; - export type MutationSettlePaymentArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationSettleRefundArgs = { - input: SettleRefundInput; + input: SettleRefundInput; }; - export type MutationTransitionFulfillmentToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationTransitionOrderToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationTransitionPaymentToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationUpdateActiveAdministratorArgs = { - input: UpdateActiveAdministratorInput; + input: UpdateActiveAdministratorInput; }; - export type MutationUpdateAdministratorArgs = { - input: UpdateAdministratorInput; + input: UpdateAdministratorInput; }; - export type MutationUpdateAssetArgs = { - input: UpdateAssetInput; + input: UpdateAssetInput; }; - export type MutationUpdateChannelArgs = { - input: UpdateChannelInput; + input: UpdateChannelInput; }; - export type MutationUpdateCollectionArgs = { - input: UpdateCollectionInput; + input: UpdateCollectionInput; }; - export type MutationUpdateCountryArgs = { - input: UpdateCountryInput; + input: UpdateCountryInput; }; - export type MutationUpdateCustomerArgs = { - input: UpdateCustomerInput; + input: UpdateCustomerInput; }; - export type MutationUpdateCustomerAddressArgs = { - input: UpdateAddressInput; + input: UpdateAddressInput; }; - export type MutationUpdateCustomerGroupArgs = { - input: UpdateCustomerGroupInput; + input: UpdateCustomerGroupInput; }; - export type MutationUpdateCustomerNoteArgs = { - input: UpdateCustomerNoteInput; + input: UpdateCustomerNoteInput; }; - export type MutationUpdateFacetArgs = { - input: UpdateFacetInput; + input: UpdateFacetInput; }; - export type MutationUpdateFacetValuesArgs = { - input: Array; + input: Array; }; - export type MutationUpdateGlobalSettingsArgs = { - input: UpdateGlobalSettingsInput; + input: UpdateGlobalSettingsInput; }; - export type MutationUpdateOrderNoteArgs = { - input: UpdateOrderNoteInput; + input: UpdateOrderNoteInput; }; - export type MutationUpdatePaymentMethodArgs = { - input: UpdatePaymentMethodInput; + input: UpdatePaymentMethodInput; }; - export type MutationUpdateProductArgs = { - input: UpdateProductInput; + input: UpdateProductInput; }; - export type MutationUpdateProductOptionArgs = { - input: UpdateProductOptionInput; + input: UpdateProductOptionInput; }; - export type MutationUpdateProductOptionGroupArgs = { - input: UpdateProductOptionGroupInput; + input: UpdateProductOptionGroupInput; }; - export type MutationUpdateProductVariantsArgs = { - input: Array; + input: Array; }; - export type MutationUpdateProductsArgs = { - input: Array; + input: Array; }; - export type MutationUpdatePromotionArgs = { - input: UpdatePromotionInput; + input: UpdatePromotionInput; }; - export type MutationUpdateProvinceArgs = { - input: UpdateProvinceInput; + input: UpdateProvinceInput; }; - export type MutationUpdateRoleArgs = { - input: UpdateRoleInput; + input: UpdateRoleInput; }; - export type MutationUpdateSellerArgs = { - input: UpdateSellerInput; + input: UpdateSellerInput; }; - export type MutationUpdateShippingMethodArgs = { - input: UpdateShippingMethodInput; + input: UpdateShippingMethodInput; }; - export type MutationUpdateStockLocationArgs = { - input: UpdateStockLocationInput; + input: UpdateStockLocationInput; }; - export type MutationUpdateTagArgs = { - input: UpdateTagInput; + input: UpdateTagInput; }; - export type MutationUpdateTaxCategoryArgs = { - input: UpdateTaxCategoryInput; + input: UpdateTaxCategoryInput; }; - export type MutationUpdateTaxRateArgs = { - input: UpdateTaxRateInput; + input: UpdateTaxRateInput; }; - export type MutationUpdateZoneArgs = { - input: UpdateZoneInput; + input: UpdateZoneInput; }; export type NativeAuthInput = { - password: Scalars['String']['input']; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + username: Scalars['String']['input']; }; /** Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */ export type NativeAuthStrategyError = ErrorResult & { - __typename?: 'NativeAuthStrategyError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NativeAuthStrategyError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError; /** Returned when attempting to set a negative OrderLine quantity. */ export type NegativeQuantityError = ErrorResult & { - __typename?: 'NegativeQuantityError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NegativeQuantityError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -3707,321 +3588,320 @@ export type NegativeQuantityError = ErrorResult & { * current session. */ export type NoActiveOrderError = ErrorResult & { - __typename?: 'NoActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when a call to modifyOrder fails to specify any changes */ export type NoChangesSpecifiedError = ErrorResult & { - __typename?: 'NoChangesSpecifiedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoChangesSpecifiedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Node = { - id: Scalars['ID']['output']; + id: Scalars['ID']['output']; }; /** Returned if an attempting to refund an Order but neither items nor shipping refund was specified */ export type NothingToRefundError = ErrorResult & { - __typename?: 'NothingToRefundError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NothingToRefundError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Operators for filtering on a list of Number fields */ export type NumberListOperators = { - inList: Scalars['Float']['input']; + inList: Scalars['Float']['input']; }; /** Operators for filtering on a Int or Float field */ export type NumberOperators = { - between?: InputMaybe; - eq?: InputMaybe; - gt?: InputMaybe; - gte?: InputMaybe; - isNull?: InputMaybe; - lt?: InputMaybe; - lte?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + isNull?: InputMaybe; + lt?: InputMaybe; + lte?: InputMaybe; }; export type NumberRange = { - end: Scalars['Float']['input']; - start: Scalars['Float']['input']; + end: Scalars['Float']['input']; + start: Scalars['Float']['input']; }; export type Order = Node & { - __typename?: 'Order'; - /** An order is active as long as the payment process has not been completed */ - active: Scalars['Boolean']['output']; - aggregateOrder?: Maybe; - aggregateOrderId?: Maybe; - billingAddress?: Maybe; - channels: Array; - /** A unique code for the Order */ - code: Scalars['String']['output']; - /** An array of all coupon codes applied to the Order */ - couponCodes: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - customer?: Maybe; - discounts: Array; - fulfillments?: Maybe>; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lines: Array; - modifications: Array; - nextStates: Array; - /** - * The date & time that the Order was placed, i.e. the Customer - * completed the checkout and the Order is no longer "active" - */ - orderPlacedAt?: Maybe; - payments?: Maybe>; - /** Promotions applied to the order. Only gets populated after the payment process has completed. */ - promotions: Array; - sellerOrders?: Maybe>; - shipping: Scalars['Money']['output']; - shippingAddress?: Maybe; - shippingLines: Array; - shippingWithTax: Scalars['Money']['output']; - state: Scalars['String']['output']; - /** - * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level - * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. - * To get a total of all OrderLines which does not account for prorated discounts, use the - * sum of `OrderLine.discountedLinePrice` values. - */ - subTotal: Scalars['Money']['output']; - /** Same as subTotal, but inclusive of tax */ - subTotalWithTax: Scalars['Money']['output']; - /** - * Surcharges are arbitrary modifications to the Order total which are neither - * ProductVariants nor discounts resulting from applied Promotions. For example, - * one-off discounts based on customer interaction, or surcharges based on payment - * methods. - */ - surcharges: Array; - /** A summary of the taxes being applied to this Order */ - taxSummary: Array; - /** Equal to subTotal plus shipping */ - total: Scalars['Money']['output']; - totalQuantity: Scalars['Int']['output']; - /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ - totalWithTax: Scalars['Money']['output']; - type: OrderType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Order'; + /** An order is active as long as the payment process has not been completed */ + active: Scalars['Boolean']['output']; + aggregateOrder?: Maybe; + aggregateOrderId?: Maybe; + billingAddress?: Maybe; + channels: Array; + /** A unique code for the Order */ + code: Scalars['String']['output']; + /** An array of all coupon codes applied to the Order */ + couponCodes: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + customer?: Maybe; + discounts: Array; + fulfillments?: Maybe>; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lines: Array; + modifications: Array; + nextStates: Array; + /** + * The date & time that the Order was placed, i.e. the Customer + * completed the checkout and the Order is no longer "active" + */ + orderPlacedAt?: Maybe; + payments?: Maybe>; + /** Promotions applied to the order. Only gets populated after the payment process has completed. */ + promotions: Array; + sellerOrders?: Maybe>; + shipping: Scalars['Money']['output']; + shippingAddress?: Maybe; + shippingLines: Array; + shippingWithTax: Scalars['Money']['output']; + state: Scalars['String']['output']; + /** + * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level + * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. + * To get a total of all OrderLines which does not account for prorated discounts, use the + * sum of `OrderLine.discountedLinePrice` values. + */ + subTotal: Scalars['Money']['output']; + /** Same as subTotal, but inclusive of tax */ + subTotalWithTax: Scalars['Money']['output']; + /** + * Surcharges are arbitrary modifications to the Order total which are neither + * ProductVariants nor discounts resulting from applied Promotions. For example, + * one-off discounts based on customer interaction, or surcharges based on payment + * methods. + */ + surcharges: Array; + /** A summary of the taxes being applied to this Order */ + taxSummary: Array; + /** Equal to subTotal plus shipping */ + total: Scalars['Money']['output']; + totalQuantity: Scalars['Int']['output']; + /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ + totalWithTax: Scalars['Money']['output']; + type: OrderType; + updatedAt: Scalars['DateTime']['output']; }; - export type OrderHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type OrderAddress = { - __typename?: 'OrderAddress'; - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + __typename?: 'OrderAddress'; + city?: Maybe; + company?: Maybe; + country?: Maybe; + countryCode?: Maybe; + customFields?: Maybe; + fullName?: Maybe; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1?: Maybe; + streetLine2?: Maybe; }; export type OrderFilterParameter = { - active?: InputMaybe; - aggregateOrderId?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - customerLastName?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - transactionId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + active?: InputMaybe; + aggregateOrderId?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + customerLastName?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + transactionId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - __typename?: 'OrderLimitError'; - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'OrderLimitError'; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - __typename?: 'OrderLine'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - /** The price of the line including discounts, excluding tax */ - discountedLinePrice: Scalars['Money']['output']; - /** The price of the line including discounts and tax */ - discountedLinePriceWithTax: Scalars['Money']['output']; - /** - * The price of a single unit including discounts, excluding tax. - * - * If Order-level discounts have been applied, this will not be the - * actual taxable unit price (see `proratedUnitPrice`), but is generally the - * correct price to display to customers to avoid confusion - * about the internal handling of distributed Order-level discounts. - */ - discountedUnitPrice: Scalars['Money']['output']; - /** The price of a single unit including discounts and tax */ - discountedUnitPriceWithTax: Scalars['Money']['output']; - discounts: Array; - featuredAsset?: Maybe; - fulfillmentLines?: Maybe>; - id: Scalars['ID']['output']; - /** The total price of the line excluding tax and discounts. */ - linePrice: Scalars['Money']['output']; - /** The total price of the line including tax but excluding discounts. */ - linePriceWithTax: Scalars['Money']['output']; - /** The total tax on this line */ - lineTax: Scalars['Money']['output']; - order: Order; - /** The quantity at the time the Order was placed */ - orderPlacedQuantity: Scalars['Int']['output']; - productVariant: ProductVariant; - /** - * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax - * and refund calculations. - */ - proratedLinePrice: Scalars['Money']['output']; - /** The proratedLinePrice including tax */ - proratedLinePriceWithTax: Scalars['Money']['output']; - /** - * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax - * and refund calculations. - */ - proratedUnitPrice: Scalars['Money']['output']; - /** The proratedUnitPrice including tax */ - proratedUnitPriceWithTax: Scalars['Money']['output']; - quantity: Scalars['Int']['output']; - taxLines: Array; - taxRate: Scalars['Float']['output']; - /** The price of a single unit, excluding tax and discounts */ - unitPrice: Scalars['Money']['output']; - /** Non-zero if the unitPrice has changed since it was initially added to Order */ - unitPriceChangeSinceAdded: Scalars['Money']['output']; - /** The price of a single unit, including tax but excluding discounts */ - unitPriceWithTax: Scalars['Money']['output']; - /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ - unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderLine'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + /** The price of the line including discounts, excluding tax */ + discountedLinePrice: Scalars['Money']['output']; + /** The price of the line including discounts and tax */ + discountedLinePriceWithTax: Scalars['Money']['output']; + /** + * The price of a single unit including discounts, excluding tax. + * + * If Order-level discounts have been applied, this will not be the + * actual taxable unit price (see `proratedUnitPrice`), but is generally the + * correct price to display to customers to avoid confusion + * about the internal handling of distributed Order-level discounts. + */ + discountedUnitPrice: Scalars['Money']['output']; + /** The price of a single unit including discounts and tax */ + discountedUnitPriceWithTax: Scalars['Money']['output']; + discounts: Array; + featuredAsset?: Maybe; + fulfillmentLines?: Maybe>; + id: Scalars['ID']['output']; + /** The total price of the line excluding tax and discounts. */ + linePrice: Scalars['Money']['output']; + /** The total price of the line including tax but excluding discounts. */ + linePriceWithTax: Scalars['Money']['output']; + /** The total tax on this line */ + lineTax: Scalars['Money']['output']; + order: Order; + /** The quantity at the time the Order was placed */ + orderPlacedQuantity: Scalars['Int']['output']; + productVariant: ProductVariant; + /** + * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax + * and refund calculations. + */ + proratedLinePrice: Scalars['Money']['output']; + /** The proratedLinePrice including tax */ + proratedLinePriceWithTax: Scalars['Money']['output']; + /** + * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax + * and refund calculations. + */ + proratedUnitPrice: Scalars['Money']['output']; + /** The proratedUnitPrice including tax */ + proratedUnitPriceWithTax: Scalars['Money']['output']; + quantity: Scalars['Int']['output']; + taxLines: Array; + taxRate: Scalars['Float']['output']; + /** The price of a single unit, excluding tax and discounts */ + unitPrice: Scalars['Money']['output']; + /** Non-zero if the unitPrice has changed since it was initially added to Order */ + unitPriceChangeSinceAdded: Scalars['Money']['output']; + /** The price of a single unit, including tax but excluding discounts */ + unitPriceWithTax: Scalars['Money']['output']; + /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ + unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type OrderLineInput = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'OrderList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type OrderModification = Node & { - __typename?: 'OrderModification'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - isSettled: Scalars['Boolean']['output']; - lines: Array; - note: Scalars['String']['output']; - payment?: Maybe; - priceChange: Scalars['Money']['output']; - refund?: Maybe; - surcharges?: Maybe>; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderModification'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + isSettled: Scalars['Boolean']['output']; + lines: Array; + note: Scalars['String']['output']; + payment?: Maybe; + priceChange: Scalars['Money']['output']; + refund?: Maybe; + surcharges?: Maybe>; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */ export type OrderModificationError = ErrorResult & { - __typename?: 'OrderModificationError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderModificationLine = { - __typename?: 'OrderModificationLine'; - modification: OrderModification; - modificationId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'OrderModificationLine'; + modification: OrderModification; + modificationId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; /** Returned when attempting to modify the contents of an Order that is not in the `Modifying` state. */ export type OrderModificationStateError = ErrorResult & { - __typename?: 'OrderModificationStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderProcessState = { - __typename?: 'OrderProcessState'; - name: Scalars['String']['output']; - to: Array; + __typename?: 'OrderProcessState'; + name: Scalars['String']['output']; + to: Array; }; export type OrderSortParameter = { - aggregateOrderId?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - customerLastName?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - transactionId?: InputMaybe; - updatedAt?: InputMaybe; + aggregateOrderId?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + customerLastName?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + transactionId?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned if there is an error in transitioning the Order state */ export type OrderStateTransitionError = ErrorResult & { - __typename?: 'OrderStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'OrderStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4029,85 +3909,85 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type OrderTaxSummary = { - __typename?: 'OrderTaxSummary'; - /** A description of this tax */ - description: Scalars['String']['output']; - /** The total net price of OrderLines to which this taxRate applies */ - taxBase: Scalars['Money']['output']; - /** The taxRate as a percentage */ - taxRate: Scalars['Float']['output']; - /** The total tax being applied to the Order at this taxRate */ - taxTotal: Scalars['Money']['output']; + __typename?: 'OrderTaxSummary'; + /** A description of this tax */ + description: Scalars['String']['output']; + /** The total net price of OrderLines to which this taxRate applies */ + taxBase: Scalars['Money']['output']; + /** The taxRate as a percentage */ + taxRate: Scalars['Float']['output']; + /** The total tax being applied to the Order at this taxRate */ + taxTotal: Scalars['Money']['output']; }; export enum OrderType { - Aggregate = 'Aggregate', - Regular = 'Regular', - Seller = 'Seller' + Aggregate = 'Aggregate', + Regular = 'Regular', + Seller = 'Seller', } export type PaginatedList = { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type Payment = Node & { - __typename?: 'Payment'; - amount: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - errorMessage?: Maybe; - id: Scalars['ID']['output']; - metadata?: Maybe; - method: Scalars['String']['output']; - nextStates: Array; - refunds: Array; - state: Scalars['String']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Payment'; + amount: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + errorMessage?: Maybe; + id: Scalars['ID']['output']; + metadata?: Maybe; + method: Scalars['String']['output']; + nextStates: Array; + refunds: Array; + state: Scalars['String']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; - checker?: Maybe; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - handler: ConfigurableOperation; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethod'; + checker?: Maybe; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + handler: ConfigurableOperation; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodList = PaginatedList & { - __typename?: 'PaymentMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PaymentMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PaymentMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -4115,64 +3995,64 @@ export type PaymentMethodListOptions = { * though the price has increased as a result of the changes. */ export type PaymentMethodMissingError = ErrorResult & { - __typename?: 'PaymentMethodMissingError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PaymentMethodMissingError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type PaymentMethodQuote = { - __typename?: 'PaymentMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - eligibilityMessage?: Maybe; - id: Scalars['ID']['output']; - isEligible: Scalars['Boolean']['output']; - name: Scalars['String']['output']; + __typename?: 'PaymentMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + eligibilityMessage?: Maybe; + id: Scalars['ID']['output']; + isEligible: Scalars['Boolean']['output']; + name: Scalars['String']['output']; }; export type PaymentMethodSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodTranslation = { - __typename?: 'PaymentMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if an attempting to refund a Payment against OrderLines from a different Order */ export type PaymentOrderMismatchError = ErrorResult & { - __typename?: 'PaymentOrderMismatchError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PaymentOrderMismatchError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Payment state */ export type PaymentStateTransitionError = ErrorResult & { - __typename?: 'PaymentStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'PaymentStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4189,7 +4069,7 @@ export type PaymentStateTransitionError = ErrorResult & { * based on the activeUserId of the current session. As a result, the resolver code looks like this: * * @example - * ```TypeScript + * ```ts * \@Query() * \@Allow(Permission.Owner) * async activeCustomer(\@Ctx() ctx: RequestContext): Promise { @@ -4208,455 +4088,453 @@ export type PaymentStateTransitionError = ErrorResult & { * @docsCategory common */ export enum Permission { - /** Authenticated means simply that the user is logged in */ - Authenticated = 'Authenticated', - /** Grants permission to create Administrator */ - CreateAdministrator = 'CreateAdministrator', - /** Grants permission to create Asset */ - CreateAsset = 'CreateAsset', - /** Grants permission to create Products, Facets, Assets, Collections */ - CreateCatalog = 'CreateCatalog', - /** Grants permission to create Channel */ - CreateChannel = 'CreateChannel', - /** Grants permission to create Collection */ - CreateCollection = 'CreateCollection', - /** Grants permission to create Country */ - CreateCountry = 'CreateCountry', - /** Grants permission to create Customer */ - CreateCustomer = 'CreateCustomer', - /** Grants permission to create CustomerGroup */ - CreateCustomerGroup = 'CreateCustomerGroup', - /** Grants permission to create Facet */ - CreateFacet = 'CreateFacet', - /** Grants permission to create Order */ - CreateOrder = 'CreateOrder', - /** Grants permission to create PaymentMethod */ - CreatePaymentMethod = 'CreatePaymentMethod', - /** Grants permission to create Product */ - CreateProduct = 'CreateProduct', - /** Grants permission to create Promotion */ - CreatePromotion = 'CreatePromotion', - /** Grants permission to create Seller */ - CreateSeller = 'CreateSeller', - /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - CreateSettings = 'CreateSettings', - /** Grants permission to create ShippingMethod */ - CreateShippingMethod = 'CreateShippingMethod', - /** Grants permission to create StockLocation */ - CreateStockLocation = 'CreateStockLocation', - /** Grants permission to create System */ - CreateSystem = 'CreateSystem', - /** Grants permission to create Tag */ - CreateTag = 'CreateTag', - /** Grants permission to create TaxCategory */ - CreateTaxCategory = 'CreateTaxCategory', - /** Grants permission to create TaxRate */ - CreateTaxRate = 'CreateTaxRate', - /** Grants permission to create Zone */ - CreateZone = 'CreateZone', - /** Grants permission to delete Administrator */ - DeleteAdministrator = 'DeleteAdministrator', - /** Grants permission to delete Asset */ - DeleteAsset = 'DeleteAsset', - /** Grants permission to delete Products, Facets, Assets, Collections */ - DeleteCatalog = 'DeleteCatalog', - /** Grants permission to delete Channel */ - DeleteChannel = 'DeleteChannel', - /** Grants permission to delete Collection */ - DeleteCollection = 'DeleteCollection', - /** Grants permission to delete Country */ - DeleteCountry = 'DeleteCountry', - /** Grants permission to delete Customer */ - DeleteCustomer = 'DeleteCustomer', - /** Grants permission to delete CustomerGroup */ - DeleteCustomerGroup = 'DeleteCustomerGroup', - /** Grants permission to delete Facet */ - DeleteFacet = 'DeleteFacet', - /** Grants permission to delete Order */ - DeleteOrder = 'DeleteOrder', - /** Grants permission to delete PaymentMethod */ - DeletePaymentMethod = 'DeletePaymentMethod', - /** Grants permission to delete Product */ - DeleteProduct = 'DeleteProduct', - /** Grants permission to delete Promotion */ - DeletePromotion = 'DeletePromotion', - /** Grants permission to delete Seller */ - DeleteSeller = 'DeleteSeller', - /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - DeleteSettings = 'DeleteSettings', - /** Grants permission to delete ShippingMethod */ - DeleteShippingMethod = 'DeleteShippingMethod', - /** Grants permission to delete StockLocation */ - DeleteStockLocation = 'DeleteStockLocation', - /** Grants permission to delete System */ - DeleteSystem = 'DeleteSystem', - /** Grants permission to delete Tag */ - DeleteTag = 'DeleteTag', - /** Grants permission to delete TaxCategory */ - DeleteTaxCategory = 'DeleteTaxCategory', - /** Grants permission to delete TaxRate */ - DeleteTaxRate = 'DeleteTaxRate', - /** Grants permission to delete Zone */ - DeleteZone = 'DeleteZone', - /** Owner means the user owns this entity, e.g. a Customer's own Order */ - Owner = 'Owner', - /** Public means any unauthenticated user may perform the operation */ - Public = 'Public', - /** Grants permission to read Administrator */ - ReadAdministrator = 'ReadAdministrator', - /** Grants permission to read Asset */ - ReadAsset = 'ReadAsset', - /** Grants permission to read Products, Facets, Assets, Collections */ - ReadCatalog = 'ReadCatalog', - /** Grants permission to read Channel */ - ReadChannel = 'ReadChannel', - /** Grants permission to read Collection */ - ReadCollection = 'ReadCollection', - /** Grants permission to read Country */ - ReadCountry = 'ReadCountry', - /** Grants permission to read Customer */ - ReadCustomer = 'ReadCustomer', - /** Grants permission to read CustomerGroup */ - ReadCustomerGroup = 'ReadCustomerGroup', - /** Grants permission to read Facet */ - ReadFacet = 'ReadFacet', - /** Grants permission to read Order */ - ReadOrder = 'ReadOrder', - /** Grants permission to read PaymentMethod */ - ReadPaymentMethod = 'ReadPaymentMethod', - /** Grants permission to read Product */ - ReadProduct = 'ReadProduct', - /** Grants permission to read Promotion */ - ReadPromotion = 'ReadPromotion', - /** Grants permission to read Seller */ - ReadSeller = 'ReadSeller', - /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - ReadSettings = 'ReadSettings', - /** Grants permission to read ShippingMethod */ - ReadShippingMethod = 'ReadShippingMethod', - /** Grants permission to read StockLocation */ - ReadStockLocation = 'ReadStockLocation', - /** Grants permission to read System */ - ReadSystem = 'ReadSystem', - /** Grants permission to read Tag */ - ReadTag = 'ReadTag', - /** Grants permission to read TaxCategory */ - ReadTaxCategory = 'ReadTaxCategory', - /** Grants permission to read TaxRate */ - ReadTaxRate = 'ReadTaxRate', - /** Grants permission to read Zone */ - ReadZone = 'ReadZone', - /** SuperAdmin has unrestricted access to all operations */ - SuperAdmin = 'SuperAdmin', - /** Grants permission to update Administrator */ - UpdateAdministrator = 'UpdateAdministrator', - /** Grants permission to update Asset */ - UpdateAsset = 'UpdateAsset', - /** Grants permission to update Products, Facets, Assets, Collections */ - UpdateCatalog = 'UpdateCatalog', - /** Grants permission to update Channel */ - UpdateChannel = 'UpdateChannel', - /** Grants permission to update Collection */ - UpdateCollection = 'UpdateCollection', - /** Grants permission to update Country */ - UpdateCountry = 'UpdateCountry', - /** Grants permission to update Customer */ - UpdateCustomer = 'UpdateCustomer', - /** Grants permission to update CustomerGroup */ - UpdateCustomerGroup = 'UpdateCustomerGroup', - /** Grants permission to update Facet */ - UpdateFacet = 'UpdateFacet', - /** Grants permission to update GlobalSettings */ - UpdateGlobalSettings = 'UpdateGlobalSettings', - /** Grants permission to update Order */ - UpdateOrder = 'UpdateOrder', - /** Grants permission to update PaymentMethod */ - UpdatePaymentMethod = 'UpdatePaymentMethod', - /** Grants permission to update Product */ - UpdateProduct = 'UpdateProduct', - /** Grants permission to update Promotion */ - UpdatePromotion = 'UpdatePromotion', - /** Grants permission to update Seller */ - UpdateSeller = 'UpdateSeller', - /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - UpdateSettings = 'UpdateSettings', - /** Grants permission to update ShippingMethod */ - UpdateShippingMethod = 'UpdateShippingMethod', - /** Grants permission to update StockLocation */ - UpdateStockLocation = 'UpdateStockLocation', - /** Grants permission to update System */ - UpdateSystem = 'UpdateSystem', - /** Grants permission to update Tag */ - UpdateTag = 'UpdateTag', - /** Grants permission to update TaxCategory */ - UpdateTaxCategory = 'UpdateTaxCategory', - /** Grants permission to update TaxRate */ - UpdateTaxRate = 'UpdateTaxRate', - /** Grants permission to update Zone */ - UpdateZone = 'UpdateZone' + /** Authenticated means simply that the user is logged in */ + Authenticated = 'Authenticated', + /** Grants permission to create Administrator */ + CreateAdministrator = 'CreateAdministrator', + /** Grants permission to create Asset */ + CreateAsset = 'CreateAsset', + /** Grants permission to create Products, Facets, Assets, Collections */ + CreateCatalog = 'CreateCatalog', + /** Grants permission to create Channel */ + CreateChannel = 'CreateChannel', + /** Grants permission to create Collection */ + CreateCollection = 'CreateCollection', + /** Grants permission to create Country */ + CreateCountry = 'CreateCountry', + /** Grants permission to create Customer */ + CreateCustomer = 'CreateCustomer', + /** Grants permission to create CustomerGroup */ + CreateCustomerGroup = 'CreateCustomerGroup', + /** Grants permission to create Facet */ + CreateFacet = 'CreateFacet', + /** Grants permission to create Order */ + CreateOrder = 'CreateOrder', + /** Grants permission to create PaymentMethod */ + CreatePaymentMethod = 'CreatePaymentMethod', + /** Grants permission to create Product */ + CreateProduct = 'CreateProduct', + /** Grants permission to create Promotion */ + CreatePromotion = 'CreatePromotion', + /** Grants permission to create Seller */ + CreateSeller = 'CreateSeller', + /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + CreateSettings = 'CreateSettings', + /** Grants permission to create ShippingMethod */ + CreateShippingMethod = 'CreateShippingMethod', + /** Grants permission to create StockLocation */ + CreateStockLocation = 'CreateStockLocation', + /** Grants permission to create System */ + CreateSystem = 'CreateSystem', + /** Grants permission to create Tag */ + CreateTag = 'CreateTag', + /** Grants permission to create TaxCategory */ + CreateTaxCategory = 'CreateTaxCategory', + /** Grants permission to create TaxRate */ + CreateTaxRate = 'CreateTaxRate', + /** Grants permission to create Zone */ + CreateZone = 'CreateZone', + /** Grants permission to delete Administrator */ + DeleteAdministrator = 'DeleteAdministrator', + /** Grants permission to delete Asset */ + DeleteAsset = 'DeleteAsset', + /** Grants permission to delete Products, Facets, Assets, Collections */ + DeleteCatalog = 'DeleteCatalog', + /** Grants permission to delete Channel */ + DeleteChannel = 'DeleteChannel', + /** Grants permission to delete Collection */ + DeleteCollection = 'DeleteCollection', + /** Grants permission to delete Country */ + DeleteCountry = 'DeleteCountry', + /** Grants permission to delete Customer */ + DeleteCustomer = 'DeleteCustomer', + /** Grants permission to delete CustomerGroup */ + DeleteCustomerGroup = 'DeleteCustomerGroup', + /** Grants permission to delete Facet */ + DeleteFacet = 'DeleteFacet', + /** Grants permission to delete Order */ + DeleteOrder = 'DeleteOrder', + /** Grants permission to delete PaymentMethod */ + DeletePaymentMethod = 'DeletePaymentMethod', + /** Grants permission to delete Product */ + DeleteProduct = 'DeleteProduct', + /** Grants permission to delete Promotion */ + DeletePromotion = 'DeletePromotion', + /** Grants permission to delete Seller */ + DeleteSeller = 'DeleteSeller', + /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + DeleteSettings = 'DeleteSettings', + /** Grants permission to delete ShippingMethod */ + DeleteShippingMethod = 'DeleteShippingMethod', + /** Grants permission to delete StockLocation */ + DeleteStockLocation = 'DeleteStockLocation', + /** Grants permission to delete System */ + DeleteSystem = 'DeleteSystem', + /** Grants permission to delete Tag */ + DeleteTag = 'DeleteTag', + /** Grants permission to delete TaxCategory */ + DeleteTaxCategory = 'DeleteTaxCategory', + /** Grants permission to delete TaxRate */ + DeleteTaxRate = 'DeleteTaxRate', + /** Grants permission to delete Zone */ + DeleteZone = 'DeleteZone', + /** Owner means the user owns this entity, e.g. a Customer's own Order */ + Owner = 'Owner', + /** Public means any unauthenticated user may perform the operation */ + Public = 'Public', + /** Grants permission to read Administrator */ + ReadAdministrator = 'ReadAdministrator', + /** Grants permission to read Asset */ + ReadAsset = 'ReadAsset', + /** Grants permission to read Products, Facets, Assets, Collections */ + ReadCatalog = 'ReadCatalog', + /** Grants permission to read Channel */ + ReadChannel = 'ReadChannel', + /** Grants permission to read Collection */ + ReadCollection = 'ReadCollection', + /** Grants permission to read Country */ + ReadCountry = 'ReadCountry', + /** Grants permission to read Customer */ + ReadCustomer = 'ReadCustomer', + /** Grants permission to read CustomerGroup */ + ReadCustomerGroup = 'ReadCustomerGroup', + /** Grants permission to read Facet */ + ReadFacet = 'ReadFacet', + /** Grants permission to read Order */ + ReadOrder = 'ReadOrder', + /** Grants permission to read PaymentMethod */ + ReadPaymentMethod = 'ReadPaymentMethod', + /** Grants permission to read Product */ + ReadProduct = 'ReadProduct', + /** Grants permission to read Promotion */ + ReadPromotion = 'ReadPromotion', + /** Grants permission to read Seller */ + ReadSeller = 'ReadSeller', + /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + ReadSettings = 'ReadSettings', + /** Grants permission to read ShippingMethod */ + ReadShippingMethod = 'ReadShippingMethod', + /** Grants permission to read StockLocation */ + ReadStockLocation = 'ReadStockLocation', + /** Grants permission to read System */ + ReadSystem = 'ReadSystem', + /** Grants permission to read Tag */ + ReadTag = 'ReadTag', + /** Grants permission to read TaxCategory */ + ReadTaxCategory = 'ReadTaxCategory', + /** Grants permission to read TaxRate */ + ReadTaxRate = 'ReadTaxRate', + /** Grants permission to read Zone */ + ReadZone = 'ReadZone', + /** SuperAdmin has unrestricted access to all operations */ + SuperAdmin = 'SuperAdmin', + /** Grants permission to update Administrator */ + UpdateAdministrator = 'UpdateAdministrator', + /** Grants permission to update Asset */ + UpdateAsset = 'UpdateAsset', + /** Grants permission to update Products, Facets, Assets, Collections */ + UpdateCatalog = 'UpdateCatalog', + /** Grants permission to update Channel */ + UpdateChannel = 'UpdateChannel', + /** Grants permission to update Collection */ + UpdateCollection = 'UpdateCollection', + /** Grants permission to update Country */ + UpdateCountry = 'UpdateCountry', + /** Grants permission to update Customer */ + UpdateCustomer = 'UpdateCustomer', + /** Grants permission to update CustomerGroup */ + UpdateCustomerGroup = 'UpdateCustomerGroup', + /** Grants permission to update Facet */ + UpdateFacet = 'UpdateFacet', + /** Grants permission to update GlobalSettings */ + UpdateGlobalSettings = 'UpdateGlobalSettings', + /** Grants permission to update Order */ + UpdateOrder = 'UpdateOrder', + /** Grants permission to update PaymentMethod */ + UpdatePaymentMethod = 'UpdatePaymentMethod', + /** Grants permission to update Product */ + UpdateProduct = 'UpdateProduct', + /** Grants permission to update Promotion */ + UpdatePromotion = 'UpdatePromotion', + /** Grants permission to update Seller */ + UpdateSeller = 'UpdateSeller', + /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + UpdateSettings = 'UpdateSettings', + /** Grants permission to update ShippingMethod */ + UpdateShippingMethod = 'UpdateShippingMethod', + /** Grants permission to update StockLocation */ + UpdateStockLocation = 'UpdateStockLocation', + /** Grants permission to update System */ + UpdateSystem = 'UpdateSystem', + /** Grants permission to update Tag */ + UpdateTag = 'UpdateTag', + /** Grants permission to update TaxCategory */ + UpdateTaxCategory = 'UpdateTaxCategory', + /** Grants permission to update TaxRate */ + UpdateTaxRate = 'UpdateTaxRate', + /** Grants permission to update Zone */ + UpdateZone = 'UpdateZone', } export type PermissionDefinition = { - __typename?: 'PermissionDefinition'; - assignable: Scalars['Boolean']['output']; - description: Scalars['String']['output']; - name: Scalars['String']['output']; + __typename?: 'PermissionDefinition'; + assignable: Scalars['Boolean']['output']; + description: Scalars['String']['output']; + name: Scalars['String']['output']; }; export type PreviewCollectionVariantsInput = { - filters: Array; - inheritFilters: Scalars['Boolean']['input']; - parentId?: InputMaybe; + filters: Array; + inheritFilters: Scalars['Boolean']['input']; + parentId?: InputMaybe; }; /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + __typename?: 'PriceRange'; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - __typename?: 'Product'; - assets: Array; - channels: Array; - collections: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - optionGroups: Array; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - /** Returns a paginated, sortable, filterable list of ProductVariants */ - variantList: ProductVariantList; - /** Returns all ProductVariants */ - variants: Array; + __typename?: 'Product'; + assets: Array; + channels: Array; + collections: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + optionGroups: Array; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + /** Returns a paginated, sortable, filterable list of ProductVariants */ + variantList: ProductVariantList; + /** Returns all ProductVariants */ + variants: Array; }; - export type ProductVariantListArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductOption = Node & { - __typename?: 'ProductOption'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - group: ProductOptionGroup; - groupId: Scalars['ID']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOption'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + group: ProductOptionGroup; + groupId: Scalars['ID']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroup'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroupTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type ProductOptionInUseError = ErrorResult & { - __typename?: 'ProductOptionInUseError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - optionGroupCode: Scalars['String']['output']; - productVariantCount: Scalars['Int']['output']; + __typename?: 'ProductOptionInUseError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + optionGroupCode: Scalars['String']['output']; + productVariantCount: Scalars['Int']['output']; }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type ProductSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; - slug?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; + slug?: InputMaybe; }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; - assets: Array; - channels: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - outOfStockThreshold: Scalars['Int']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - prices: Array; - product: Product; - productId: Scalars['ID']['output']; - sku: Scalars['String']['output']; - /** @deprecated use stockLevels */ - stockAllocated: Scalars['Int']['output']; - stockLevel: Scalars['String']['output']; - stockLevels: Array; - stockMovements: StockMovementList; - /** @deprecated use stockLevels */ - stockOnHand: Scalars['Int']['output']; - taxCategory: TaxCategory; - taxRateApplied: TaxRate; - trackInventory: GlobalFlag; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - useGlobalOutOfStockThreshold: Scalars['Boolean']['output']; + __typename?: 'ProductVariant'; + assets: Array; + channels: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + outOfStockThreshold: Scalars['Int']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + prices: Array; + product: Product; + productId: Scalars['ID']['output']; + sku: Scalars['String']['output']; + /** @deprecated use stockLevels */ + stockAllocated: Scalars['Int']['output']; + stockLevel: Scalars['String']['output']; + stockLevels: Array; + stockMovements: StockMovementList; + /** @deprecated use stockLevels */ + stockOnHand: Scalars['Int']['output']; + taxCategory: TaxCategory; + taxRateApplied: TaxRate; + trackInventory: GlobalFlag; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + useGlobalOutOfStockThreshold: Scalars['Boolean']['output']; }; - export type ProductVariantStockMovementsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductVariantFilterParameter = { - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockAllocated?: InputMaybe; - stockLevel?: InputMaybe; - stockOnHand?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; - useGlobalOutOfStockThreshold?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockAllocated?: InputMaybe; + stockLevel?: InputMaybe; + stockOnHand?: InputMaybe; + trackInventory?: InputMaybe; + updatedAt?: InputMaybe; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductVariantList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductVariantPrice = { - __typename?: 'ProductVariantPrice'; - currencyCode: CurrencyCode; - price: Scalars['Int']['output']; + __typename?: 'ProductVariantPrice'; + currencyCode: CurrencyCode; + price: Scalars['Int']['output']; }; /** @@ -4664,613 +4542,566 @@ export type ProductVariantPrice = { * If the `delete` flag is `true`, the price will be deleted for the given Channel. */ export type ProductVariantPriceInput = { - currencyCode: CurrencyCode; - delete?: InputMaybe; - price: Scalars['Money']['input']; + currencyCode: CurrencyCode; + delete?: InputMaybe; + price: Scalars['Money']['input']; }; export type ProductVariantSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockAllocated?: InputMaybe; - stockLevel?: InputMaybe; - stockOnHand?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockAllocated?: InputMaybe; + stockLevel?: InputMaybe; + stockOnHand?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductVariantTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductVariantTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type Promotion = Node & { - __typename?: 'Promotion'; - actions: Array; - conditions: Array; - couponCode?: Maybe; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - endsAt?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - perCustomerUsageLimit?: Maybe; - startsAt?: Maybe; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - usageLimit?: Maybe; + __typename?: 'Promotion'; + actions: Array; + conditions: Array; + couponCode?: Maybe; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + endsAt?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + perCustomerUsageLimit?: Maybe; + startsAt?: Maybe; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + usageLimit?: Maybe; }; export type PromotionFilterParameter = { - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; - usageLimit?: InputMaybe; + couponCode?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + endsAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + updatedAt?: InputMaybe; + usageLimit?: InputMaybe; }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PromotionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type PromotionSortParameter = { - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; - usageLimit?: InputMaybe; + couponCode?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + endsAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + updatedAt?: InputMaybe; + usageLimit?: InputMaybe; }; export type PromotionTranslation = { - __typename?: 'PromotionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PromotionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type PromotionTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; -}; - -export type Province = Node & Region & { - __typename?: 'Province'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; +}; + +export type Province = Node & + Region & { + __typename?: 'Province'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type ProvinceFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceList = PaginatedList & { - __typename?: 'ProvinceList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProvinceList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProvinceListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProvinceSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if the specified quantity of an OrderLine is greater than the number of items in that line */ export type QuantityTooGreatError = ErrorResult & { - __typename?: 'QuantityTooGreatError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'QuantityTooGreatError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Query = { - __typename?: 'Query'; - activeAdministrator?: Maybe; - activeChannel: Channel; - administrator?: Maybe; - administrators: AdministratorList; - /** Get a single Asset by id */ - asset?: Maybe; - /** Get a list of Assets */ - assets: AssetList; - channel?: Maybe; - channels: ChannelList; - /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */ - collection?: Maybe; - collectionFilters: Array; - collections: CollectionList; - countries: CountryList; - country?: Maybe; - customer?: Maybe; - customerGroup?: Maybe; - customerGroups: CustomerGroupList; - customers: CustomerList; - /** Returns a list of eligible shipping methods for the draft Order */ - eligibleShippingMethodsForDraftOrder: Array; - facet?: Maybe; - facetValues: FacetValueList; - facets: FacetList; - fulfillmentHandlers: Array; - globalSettings: GlobalSettings; - job?: Maybe; - jobBufferSize: Array; - jobQueues: Array; - jobs: JobList; - jobsById: Array; - me?: Maybe; - /** Get metrics for the given interval and metric types. */ - metricSummary: Array; - order?: Maybe; - orders: OrderList; - paymentMethod?: Maybe; - paymentMethodEligibilityCheckers: Array; - paymentMethodHandlers: Array; - paymentMethods: PaymentMethodList; - pendingSearchIndexUpdates: Scalars['Int']['output']; - /** Used for real-time previews of the contents of a Collection */ - previewCollectionVariants: ProductVariantList; - /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */ - product?: Maybe; - productOptionGroup?: Maybe; - productOptionGroups: Array; - /** Get a ProductVariant by id */ - productVariant?: Maybe; - /** List ProductVariants either all or for the specific product. */ - productVariants: ProductVariantList; - /** List Products */ - products: ProductList; - promotion?: Maybe; - promotionActions: Array; - promotionConditions: Array; - promotions: PromotionList; - province?: Maybe; - provinces: ProvinceList; - role?: Maybe; - roles: RoleList; - search: SearchResponse; - seller?: Maybe; - sellers: SellerList; - shippingCalculators: Array; - shippingEligibilityCheckers: Array; - shippingMethod?: Maybe; - shippingMethods: ShippingMethodList; - stockLocation?: Maybe; - stockLocations: StockLocationList; - tag: Tag; - tags: TagList; - taxCategories: TaxCategoryList; - taxCategory?: Maybe; - taxRate?: Maybe; - taxRates: TaxRateList; - testEligibleShippingMethods: Array; - testShippingMethod: TestShippingMethodResult; - zone?: Maybe; - zones: ZoneList; + __typename?: 'Query'; + activeAdministrator?: Maybe; + activeChannel: Channel; + administrator?: Maybe; + administrators: AdministratorList; + /** Get a single Asset by id */ + asset?: Maybe; + /** Get a list of Assets */ + assets: AssetList; + channel?: Maybe; + channels: ChannelList; + /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */ + collection?: Maybe; + collectionFilters: Array; + collections: CollectionList; + countries: CountryList; + country?: Maybe; + customer?: Maybe; + customerGroup?: Maybe; + customerGroups: CustomerGroupList; + customers: CustomerList; + /** Returns a list of eligible shipping methods for the draft Order */ + eligibleShippingMethodsForDraftOrder: Array; + facet?: Maybe; + facetValues: FacetValueList; + facets: FacetList; + fulfillmentHandlers: Array; + globalSettings: GlobalSettings; + job?: Maybe; + jobBufferSize: Array; + jobQueues: Array; + jobs: JobList; + jobsById: Array; + me?: Maybe; + /** Get metrics for the given interval and metric types. */ + metricSummary: Array; + order?: Maybe; + orders: OrderList; + paymentMethod?: Maybe; + paymentMethodEligibilityCheckers: Array; + paymentMethodHandlers: Array; + paymentMethods: PaymentMethodList; + pendingSearchIndexUpdates: Scalars['Int']['output']; + /** Used for real-time previews of the contents of a Collection */ + previewCollectionVariants: ProductVariantList; + /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */ + product?: Maybe; + productOptionGroup?: Maybe; + productOptionGroups: Array; + /** Get a ProductVariant by id */ + productVariant?: Maybe; + /** List ProductVariants either all or for the specific product. */ + productVariants: ProductVariantList; + /** List Products */ + products: ProductList; + promotion?: Maybe; + promotionActions: Array; + promotionConditions: Array; + promotions: PromotionList; + province?: Maybe; + provinces: ProvinceList; + role?: Maybe; + roles: RoleList; + search: SearchResponse; + seller?: Maybe; + sellers: SellerList; + shippingCalculators: Array; + shippingEligibilityCheckers: Array; + shippingMethod?: Maybe; + shippingMethods: ShippingMethodList; + stockLocation?: Maybe; + stockLocations: StockLocationList; + tag: Tag; + tags: TagList; + taxCategories: TaxCategoryList; + taxCategory?: Maybe; + taxRate?: Maybe; + taxRates: TaxRateList; + testEligibleShippingMethods: Array; + testShippingMethod: TestShippingMethodResult; + zone?: Maybe; + zones: ZoneList; }; - export type QueryAdministratorArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryAdministratorsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryAssetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryAssetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryChannelArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryChannelsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCollectionArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryCollectionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCountriesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCountryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerGroupsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryEligibleShippingMethodsForDraftOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; - export type QueryFacetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryFacetValuesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryFacetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryJobArgs = { - jobId: Scalars['ID']['input']; + jobId: Scalars['ID']['input']; }; - export type QueryJobBufferSizeArgs = { - bufferIds?: InputMaybe>; + bufferIds?: InputMaybe>; }; - export type QueryJobsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryJobsByIdArgs = { - jobIds: Array; + jobIds: Array; }; - export type QueryMetricSummaryArgs = { - input?: InputMaybe; + input?: InputMaybe; }; - export type QueryOrderArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPaymentMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryPaymentMethodsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPreviewCollectionVariantsArgs = { - input: PreviewCollectionVariantsInput; - options?: InputMaybe; + input: PreviewCollectionVariantsInput; + options?: InputMaybe; }; - export type QueryProductArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryProductOptionGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductOptionGroupsArgs = { - filterTerm?: InputMaybe; + filterTerm?: InputMaybe; }; - export type QueryProductVariantArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductVariantsArgs = { - options?: InputMaybe; - productId?: InputMaybe; + options?: InputMaybe; + productId?: InputMaybe; }; - export type QueryProductsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPromotionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryPromotionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryProvinceArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProvincesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryRoleArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryRolesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QuerySearchArgs = { - input: SearchInput; + input: SearchInput; }; - export type QuerySellerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QuerySellersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryShippingMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryShippingMethodsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryStockLocationArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryStockLocationsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTagArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTagsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTaxCategoriesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTaxCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTaxRateArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTaxRatesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTestEligibleShippingMethodsArgs = { - input: TestEligibleShippingMethodsInput; + input: TestEligibleShippingMethodsInput; }; - export type QueryTestShippingMethodArgs = { - input: TestShippingMethodInput; + input: TestShippingMethodInput; }; - export type QueryZoneArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryZonesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type Refund = Node & { - __typename?: 'Refund'; - adjustment: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - items: Scalars['Money']['output']; - lines: Array; - metadata?: Maybe; - method?: Maybe; - paymentId: Scalars['ID']['output']; - reason?: Maybe; - shipping: Scalars['Money']['output']; - state: Scalars['String']['output']; - total: Scalars['Money']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Refund'; + adjustment: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + items: Scalars['Money']['output']; + lines: Array; + metadata?: Maybe; + method?: Maybe; + paymentId: Scalars['ID']['output']; + reason?: Maybe; + shipping: Scalars['Money']['output']; + state: Scalars['String']['output']; + total: Scalars['Money']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type RefundLine = { - __typename?: 'RefundLine'; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + __typename?: 'RefundLine'; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; - lines: Array; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; - shipping: Scalars['Money']['input']; -}; - -export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundOrderStateError | RefundStateTransitionError; + adjustment: Scalars['Money']['input']; + lines: Array; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; + shipping: Scalars['Money']['input']; +}; + +export type RefundOrderResult = + | AlreadyRefundedError + | MultipleOrderError + | NothingToRefundError + | OrderStateTransitionError + | PaymentOrderMismatchError + | QuantityTooGreatError + | Refund + | RefundOrderStateError + | RefundStateTransitionError; /** Returned if an attempting to refund an Order which is not in the expected state */ export type RefundOrderStateError = ErrorResult & { - __typename?: 'RefundOrderStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + __typename?: 'RefundOrderStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; /** @@ -5278,80 +5109,81 @@ export type RefundOrderStateError = ErrorResult & { * though the price has decreased as a result of the changes. */ export type RefundPaymentIdMissingError = ErrorResult & { - __typename?: 'RefundPaymentIdMissingError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'RefundPaymentIdMissingError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Refund state */ export type RefundStateTransitionError = ErrorResult & { - __typename?: 'RefundStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'RefundStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; export type Region = { - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RegionTranslation = { - __typename?: 'RegionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'RegionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RelationCustomFieldConfig = CustomField & { - __typename?: 'RelationCustomFieldConfig'; - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type Release = Node & StockMovement & { - __typename?: 'Release'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + __typename?: 'RelationCustomFieldConfig'; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type Release = Node & + StockMovement & { + __typename?: 'Release'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type RemoveCollectionsFromChannelInput = { - channelId: Scalars['ID']['input']; - collectionIds: Array; + channelId: Scalars['ID']['input']; + collectionIds: Array; }; export type RemoveFacetFromChannelResult = Facet | FacetInUseError; export type RemoveFacetsFromChannelInput = { - channelId: Scalars['ID']['input']; - facetIds: Array; - force?: InputMaybe; + channelId: Scalars['ID']['input']; + facetIds: Array; + force?: InputMaybe; }; export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseError; @@ -5359,701 +5191,712 @@ export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseErr export type RemoveOrderItemsResult = Order | OrderModificationError; export type RemovePaymentMethodsFromChannelInput = { - channelId: Scalars['ID']['input']; - paymentMethodIds: Array; + channelId: Scalars['ID']['input']; + paymentMethodIds: Array; }; export type RemoveProductVariantsFromChannelInput = { - channelId: Scalars['ID']['input']; - productVariantIds: Array; + channelId: Scalars['ID']['input']; + productVariantIds: Array; }; export type RemoveProductsFromChannelInput = { - channelId: Scalars['ID']['input']; - productIds: Array; + channelId: Scalars['ID']['input']; + productIds: Array; }; export type RemovePromotionsFromChannelInput = { - channelId: Scalars['ID']['input']; - promotionIds: Array; + channelId: Scalars['ID']['input']; + promotionIds: Array; }; export type RemoveShippingMethodsFromChannelInput = { - channelId: Scalars['ID']['input']; - shippingMethodIds: Array; + channelId: Scalars['ID']['input']; + shippingMethodIds: Array; }; export type RemoveStockLocationsFromChannelInput = { - channelId: Scalars['ID']['input']; - stockLocationIds: Array; + channelId: Scalars['ID']['input']; + stockLocationIds: Array; }; -export type Return = Node & StockMovement & { - __typename?: 'Return'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type Return = Node & + StockMovement & { + __typename?: 'Return'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type Role = Node & { - __typename?: 'Role'; - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Role'; + channels: Array; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + updatedAt: Scalars['DateTime']['output']; }; export type RoleFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'RoleList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type RoleListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type RoleSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type Sale = Node & StockMovement & { - __typename?: 'Sale'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Sale = Node & + StockMovement & { + __typename?: 'Sale'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type SearchInput = { - collectionId?: InputMaybe; - collectionSlug?: InputMaybe; - facetValueFilters?: InputMaybe>; - /** @deprecated Use `facetValueFilters` instead */ - facetValueIds?: InputMaybe>; - /** @deprecated Use `facetValueFilters` instead */ - facetValueOperator?: InputMaybe; - groupByProduct?: InputMaybe; - skip?: InputMaybe; - sort?: InputMaybe; - take?: InputMaybe; - term?: InputMaybe; + collectionId?: InputMaybe; + collectionSlug?: InputMaybe; + facetValueFilters?: InputMaybe>; + /** @deprecated Use `facetValueFilters` instead */ + facetValueIds?: InputMaybe>; + /** @deprecated Use `facetValueFilters` instead */ + facetValueOperator?: InputMaybe; + groupByProduct?: InputMaybe; + skip?: InputMaybe; + sort?: InputMaybe; + take?: InputMaybe; + term?: InputMaybe; }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; - success: Scalars['Boolean']['output']; + __typename?: 'SearchReindexResponse'; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SearchResponse'; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SearchResult = { - __typename?: 'SearchResult'; - /** An array of ids of the Channels in which this result appears */ - channelIds: Array; - /** An array of ids of the Collections in which this result appears */ - collectionIds: Array; - currencyCode: CurrencyCode; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - facetIds: Array; - facetValueIds: Array; - price: SearchResultPrice; - priceWithTax: SearchResultPrice; - productAsset?: Maybe; - productId: Scalars['ID']['output']; - productName: Scalars['String']['output']; - productVariantAsset?: Maybe; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - /** A relevance score for the result. Differs between database implementations */ - score: Scalars['Float']['output']; - sku: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'SearchResult'; + /** An array of ids of the Channels in which this result appears */ + channelIds: Array; + /** An array of ids of the Collections in which this result appears */ + collectionIds: Array; + currencyCode: CurrencyCode; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + facetIds: Array; + facetValueIds: Array; + price: SearchResultPrice; + priceWithTax: SearchResultPrice; + productAsset?: Maybe; + productId: Scalars['ID']['output']; + productName: Scalars['String']['output']; + productVariantAsset?: Maybe; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + /** A relevance score for the result. Differs between database implementations */ + score: Scalars['Float']['output']; + sku: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + __typename?: 'SearchResultAsset'; + focalPoint?: Maybe; + id: Scalars['ID']['output']; + preview: Scalars['String']['output']; }; /** The price of a search result product, either as a range or as a single price */ export type SearchResultPrice = PriceRange | SinglePrice; export type SearchResultSortParameter = { - name?: InputMaybe; - price?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; }; export type Seller = Node & { - __typename?: 'Seller'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Seller'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SellerFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type SellerList = PaginatedList & { - __typename?: 'SellerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SellerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SellerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type SellerSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ServerConfig = { - __typename?: 'ServerConfig'; - customFieldConfig: CustomFields; - orderProcess: Array; - permissions: Array; - permittedAssetTypes: Array; + __typename?: 'ServerConfig'; + customFieldConfig: CustomFields; + orderProcess: Array; + permissions: Array; + permittedAssetTypes: Array; }; export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order; -export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; +export type SetOrderShippingMethodResult = + | IneligibleShippingMethodError + | NoActiveOrderError + | Order + | OrderModificationError; /** Returned if the Payment settlement fails */ export type SettlePaymentError = ErrorResult & { - __typename?: 'SettlePaymentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'SettlePaymentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; -export type SettlePaymentResult = OrderStateTransitionError | Payment | PaymentStateTransitionError | SettlePaymentError; +export type SettlePaymentResult = + | OrderStateTransitionError + | Payment + | PaymentStateTransitionError + | SettlePaymentError; export type SettleRefundInput = { - id: Scalars['ID']['input']; - transactionId: Scalars['String']['input']; + id: Scalars['ID']['input']; + transactionId: Scalars['String']['input']; }; export type SettleRefundResult = Refund | RefundStateTransitionError; export type ShippingLine = { - __typename?: 'ShippingLine'; - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + __typename?: 'ShippingLine'; + discountedPrice: Scalars['Money']['output']; + discountedPriceWithTax: Scalars['Money']['output']; + discounts: Array; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + shippingMethod: ShippingMethod; }; export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; - calculator: ConfigurableOperation; - checker: ConfigurableOperation; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - fulfillmentHandlerCode: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethod'; + calculator: ConfigurableOperation; + checker: ConfigurableOperation; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + fulfillmentHandlerCode: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ShippingMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ - metadata?: Maybe; - name: Scalars['String']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'ShippingMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ + metadata?: Maybe; + name: Scalars['String']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type ShippingMethodSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodTranslation = { - __typename?: 'ShippingMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; - value: Scalars['Money']['output']; + __typename?: 'SinglePrice'; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC' + ASC = 'ASC', + DESC = 'DESC', } -export type StockAdjustment = Node & StockMovement & { - __typename?: 'StockAdjustment'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type StockAdjustment = Node & + StockMovement & { + __typename?: 'StockAdjustment'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type StockLevel = Node & { - __typename?: 'StockLevel'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - stockAllocated: Scalars['Int']['output']; - stockLocation: StockLocation; - stockLocationId: Scalars['ID']['output']; - stockOnHand: Scalars['Int']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'StockLevel'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + stockAllocated: Scalars['Int']['output']; + stockLocation: StockLocation; + stockLocationId: Scalars['ID']['output']; + stockOnHand: Scalars['Int']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type StockLevelInput = { - stockLocationId: Scalars['ID']['input']; - stockOnHand: Scalars['Int']['input']; + stockLocationId: Scalars['ID']['input']; + stockOnHand: Scalars['Int']['input']; }; export type StockLocation = Node & { - __typename?: 'StockLocation'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'StockLocation'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type StockLocationFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockLocationList = PaginatedList & { - __typename?: 'StockLocationList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'StockLocationList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockLocationListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type StockLocationSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockMovement = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; }; export type StockMovementItem = Allocation | Cancellation | Release | Return | Sale | StockAdjustment; export type StockMovementList = { - __typename?: 'StockMovementList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'StockMovementList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockMovementListOptions = { - skip?: InputMaybe; - take?: InputMaybe; - type?: InputMaybe; + skip?: InputMaybe; + take?: InputMaybe; + type?: InputMaybe; }; export enum StockMovementType { - ADJUSTMENT = 'ADJUSTMENT', - ALLOCATION = 'ALLOCATION', - CANCELLATION = 'CANCELLATION', - RELEASE = 'RELEASE', - RETURN = 'RETURN', - SALE = 'SALE' + ADJUSTMENT = 'ADJUSTMENT', + ALLOCATION = 'ALLOCATION', + CANCELLATION = 'CANCELLATION', + RELEASE = 'RELEASE', + RETURN = 'RETURN', + SALE = 'SALE', } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; - label?: Maybe>; - value: Scalars['String']['output']; + __typename?: 'StringFieldOption'; + label?: Maybe>; + value: Scalars['String']['output']; }; /** Operators for filtering on a list of String fields */ export type StringListOperators = { - inList: Scalars['String']['input']; + inList: Scalars['String']['input']; }; /** Operators for filtering on a String field */ export type StringOperators = { - contains?: InputMaybe; - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notContains?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; - regex?: InputMaybe; + contains?: InputMaybe; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notContains?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; + regex?: InputMaybe; }; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - __typename?: 'Success'; - success: Scalars['Boolean']['output']; + __typename?: 'Success'; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - __typename?: 'Surcharge'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - sku?: Maybe; - taxLines: Array; - taxRate: Scalars['Float']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Surcharge'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + sku?: Maybe; + taxLines: Array; + taxRate: Scalars['Float']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SurchargeInput = { - description: Scalars['String']['input']; - price: Scalars['Money']['input']; - priceIncludesTax: Scalars['Boolean']['input']; - sku?: InputMaybe; - taxDescription?: InputMaybe; - taxRate?: InputMaybe; + description: Scalars['String']['input']; + price: Scalars['Money']['input']; + priceIncludesTax: Scalars['Boolean']['input']; + sku?: InputMaybe; + taxDescription?: InputMaybe; + taxRate?: InputMaybe; }; export type Tag = Node & { - __typename?: 'Tag'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + __typename?: 'Tag'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TagList = PaginatedList & { - __typename?: 'TagList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TagList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TagListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TagSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxCategory = Node & { - __typename?: 'TaxCategory'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'TaxCategory'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isDefault: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type TaxCategoryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - isDefault?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isDefault?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxCategoryList = PaginatedList & { - __typename?: 'TaxCategoryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxCategoryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategoryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TaxCategorySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxLine = { - __typename?: 'TaxLine'; - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + __typename?: 'TaxLine'; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - __typename?: 'TaxRate'; - category: TaxCategory; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customerGroup?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['Float']['output']; - zone: Zone; + __typename?: 'TaxRate'; + category: TaxCategory; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customerGroup?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['Float']['output']; + zone: Zone; }; export type TaxRateFilterParameter = { - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxRateList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxRateListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TaxRateSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TestEligibleShippingMethodsInput = { - lines: Array; - shippingAddress: CreateAddressInput; + lines: Array; + shippingAddress: CreateAddressInput; }; export type TestShippingMethodInput = { - calculator: ConfigurableOperationInput; - checker: ConfigurableOperationInput; - lines: Array; - shippingAddress: CreateAddressInput; + calculator: ConfigurableOperationInput; + checker: ConfigurableOperationInput; + lines: Array; + shippingAddress: CreateAddressInput; }; export type TestShippingMethodOrderLineInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type TestShippingMethodQuote = { - __typename?: 'TestShippingMethodQuote'; - metadata?: Maybe; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'TestShippingMethodQuote'; + metadata?: Maybe; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type TestShippingMethodResult = { - __typename?: 'TestShippingMethodResult'; - eligible: Scalars['Boolean']['output']; - quote?: Maybe; + __typename?: 'TestShippingMethodResult'; + eligible: Scalars['Boolean']['output']; + quote?: Maybe; }; export type TextCustomFieldConfig = CustomField & { - __typename?: 'TextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'TextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError; @@ -6063,361 +5906,366 @@ export type TransitionOrderToStateResult = Order | OrderStateTransitionError; export type TransitionPaymentToStateResult = Payment | PaymentStateTransitionError; export type UpdateActiveAdministratorInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - lastName?: InputMaybe; - password?: InputMaybe; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + lastName?: InputMaybe; + password?: InputMaybe; }; export type UpdateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - id: Scalars['ID']['input']; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + id: Scalars['ID']['input']; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; }; export type UpdateAdministratorInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - lastName?: InputMaybe; - password?: InputMaybe; - roleIds?: InputMaybe>; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id: Scalars['ID']['input']; + lastName?: InputMaybe; + password?: InputMaybe; + roleIds?: InputMaybe>; }; export type UpdateAssetInput = { - customFields?: InputMaybe; - focalPoint?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - tags?: InputMaybe>; + customFields?: InputMaybe; + focalPoint?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; + tags?: InputMaybe>; }; export type UpdateChannelInput = { - availableCurrencyCodes?: InputMaybe>; - availableLanguageCodes?: InputMaybe>; - code?: InputMaybe; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode?: InputMaybe; - customFields?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - defaultShippingZoneId?: InputMaybe; - defaultTaxZoneId?: InputMaybe; - id: Scalars['ID']['input']; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - sellerId?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; + availableCurrencyCodes?: InputMaybe>; + availableLanguageCodes?: InputMaybe>; + code?: InputMaybe; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode?: InputMaybe; + customFields?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode?: InputMaybe; + defaultShippingZoneId?: InputMaybe; + defaultTaxZoneId?: InputMaybe; + id: Scalars['ID']['input']; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax?: InputMaybe; + sellerId?: InputMaybe; + token?: InputMaybe; + trackInventory?: InputMaybe; }; export type UpdateChannelResult = Channel | LanguageNotAvailableError; export type UpdateCollectionInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - featuredAssetId?: InputMaybe; - filters?: InputMaybe>; - id: Scalars['ID']['input']; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - parentId?: InputMaybe; - translations?: InputMaybe>; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + featuredAssetId?: InputMaybe; + filters?: InputMaybe>; + id: Scalars['ID']['input']; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + parentId?: InputMaybe; + translations?: InputMaybe>; }; export type UpdateCollectionTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; - slug?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; + slug?: InputMaybe; }; export type UpdateCountryInput = { - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateCustomerGroupInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateCustomerInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id: Scalars['ID']['input']; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type UpdateCustomerNoteInput = { - note: Scalars['String']['input']; - noteId: Scalars['ID']['input']; + note: Scalars['String']['input']; + noteId: Scalars['ID']['input']; }; export type UpdateCustomerResult = Customer | EmailAddressConflictError; export type UpdateFacetInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - isPrivate?: InputMaybe; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + isPrivate?: InputMaybe; + translations?: InputMaybe>; }; export type UpdateFacetValueInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateGlobalSettingsInput = { - availableLanguages?: InputMaybe>; - customFields?: InputMaybe; - outOfStockThreshold?: InputMaybe; - trackInventory?: InputMaybe; + availableLanguages?: InputMaybe>; + customFields?: InputMaybe; + outOfStockThreshold?: InputMaybe; + trackInventory?: InputMaybe; }; export type UpdateGlobalSettingsResult = ChannelDefaultLanguageError | GlobalSettings; export type UpdateOrderAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; }; export type UpdateOrderInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; + customFields?: InputMaybe; + id: Scalars['ID']['input']; }; -export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError; +export type UpdateOrderItemsResult = + | InsufficientStockError + | NegativeQuantityError + | Order + | OrderLimitError + | OrderModificationError; export type UpdateOrderNoteInput = { - isPublic?: InputMaybe; - note?: InputMaybe; - noteId: Scalars['ID']['input']; + isPublic?: InputMaybe; + note?: InputMaybe; + noteId: Scalars['ID']['input']; }; export type UpdatePaymentMethodInput = { - checker?: InputMaybe; - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - handler?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + checker?: InputMaybe; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + handler?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductOptionGroupInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductOptionInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductVariantInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - id: Scalars['ID']['input']; - optionIds?: InputMaybe>; - outOfStockThreshold?: InputMaybe; - /** Sets the price for the ProductVariant in the Channel's default currency */ - price?: InputMaybe; - /** Allows multiple prices to be set for the ProductVariant in different currencies. */ - prices?: InputMaybe>; - sku?: InputMaybe; - stockLevels?: InputMaybe>; - stockOnHand?: InputMaybe; - taxCategoryId?: InputMaybe; - trackInventory?: InputMaybe; - translations?: InputMaybe>; - useGlobalOutOfStockThreshold?: InputMaybe; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + id: Scalars['ID']['input']; + optionIds?: InputMaybe>; + outOfStockThreshold?: InputMaybe; + /** Sets the price for the ProductVariant in the Channel's default currency */ + price?: InputMaybe; + /** Allows multiple prices to be set for the ProductVariant in different currencies. */ + prices?: InputMaybe>; + sku?: InputMaybe; + stockLevels?: InputMaybe>; + stockOnHand?: InputMaybe; + taxCategoryId?: InputMaybe; + trackInventory?: InputMaybe; + translations?: InputMaybe>; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type UpdatePromotionInput = { - actions?: InputMaybe>; - conditions?: InputMaybe>; - couponCode?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id: Scalars['ID']['input']; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - translations?: InputMaybe>; - usageLimit?: InputMaybe; + actions?: InputMaybe>; + conditions?: InputMaybe>; + couponCode?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + endsAt?: InputMaybe; + id: Scalars['ID']['input']; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + translations?: InputMaybe>; + usageLimit?: InputMaybe; }; export type UpdatePromotionResult = MissingConditionsError | Promotion; export type UpdateProvinceInput = { - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateRoleInput = { - channelIds?: InputMaybe>; - code?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - permissions?: InputMaybe>; + channelIds?: InputMaybe>; + code?: InputMaybe; + description?: InputMaybe; + id: Scalars['ID']['input']; + permissions?: InputMaybe>; }; export type UpdateSellerInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateShippingMethodInput = { - calculator?: InputMaybe; - checker?: InputMaybe; - code?: InputMaybe; - customFields?: InputMaybe; - fulfillmentHandler?: InputMaybe; - id: Scalars['ID']['input']; - translations: Array; + calculator?: InputMaybe; + checker?: InputMaybe; + code?: InputMaybe; + customFields?: InputMaybe; + fulfillmentHandler?: InputMaybe; + id: Scalars['ID']['input']; + translations: Array; }; export type UpdateStockLocationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateTagInput = { - id: Scalars['ID']['input']; - value?: InputMaybe; + id: Scalars['ID']['input']; + value?: InputMaybe; }; export type UpdateTaxCategoryInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - isDefault?: InputMaybe; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + isDefault?: InputMaybe; + name?: InputMaybe; }; export type UpdateTaxRateInput = { - categoryId?: InputMaybe; - customFields?: InputMaybe; - customerGroupId?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - value?: InputMaybe; - zoneId?: InputMaybe; + categoryId?: InputMaybe; + customFields?: InputMaybe; + customerGroupId?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; + value?: InputMaybe; + zoneId?: InputMaybe; }; export type UpdateZoneInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type User = Node & { - __typename?: 'User'; - authenticationMethods: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; - lastLogin?: Maybe; - roles: Array; - updatedAt: Scalars['DateTime']['output']; - verified: Scalars['Boolean']['output']; + __typename?: 'User'; + authenticationMethods: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; + lastLogin?: Maybe; + roles: Array; + updatedAt: Scalars['DateTime']['output']; + verified: Scalars['Boolean']['output']; }; export type Zone = Node & { - __typename?: 'Zone'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Zone'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ZoneFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ZoneList = PaginatedList & { - __typename?: 'ZoneList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ZoneList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ZoneListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ZoneSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; diff --git a/packages/dev-server/test-plugins/reviews/generated-admin-types.ts b/packages/dev-server/test-plugins/reviews/generated-admin-types.ts index 3817a695c4..aebc64facf 100644 --- a/packages/dev-server/test-plugins/reviews/generated-admin-types.ts +++ b/packages/dev-server/test-plugins/reviews/generated-admin-types.ts @@ -5,385 +5,406 @@ export type Exact = { [K in keyof T]: T[K] export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type Incremental = + | T + | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string | number; output: string | number; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - DateTime: { input: any; output: any; } - JSON: { input: any; output: any; } - Money: { input: any; output: any; } - Upload: { input: any; output: any; } -}; - -export type AddFulfillmentToOrderResult = CreateFulfillmentError | EmptyOrderLineSelectionError | Fulfillment | FulfillmentStateTransitionError | InsufficientStockOnHandError | InvalidFulfillmentHandlerError | ItemsAlreadyFulfilledError; + ID: { input: string | number; output: string | number }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + DateTime: { input: any; output: any }; + JSON: { input: any; output: any }; + Money: { input: any; output: any }; + Upload: { input: any; output: any }; +}; + +export type AddFulfillmentToOrderResult = + | CreateFulfillmentError + | EmptyOrderLineSelectionError + | Fulfillment + | FulfillmentStateTransitionError + | InsufficientStockOnHandError + | InvalidFulfillmentHandlerError + | ItemsAlreadyFulfilledError; export type AddItemInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type AddItemToDraftOrderInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type AddManualPaymentToOrderResult = ManualPaymentStateError | Order; export type AddNoteToCustomerInput = { - id: Scalars['ID']['input']; - isPublic: Scalars['Boolean']['input']; - note: Scalars['String']['input']; + id: Scalars['ID']['input']; + isPublic: Scalars['Boolean']['input']; + note: Scalars['String']['input']; }; export type AddNoteToOrderInput = { - id: Scalars['ID']['input']; - isPublic: Scalars['Boolean']['input']; - note: Scalars['String']['input']; + id: Scalars['ID']['input']; + isPublic: Scalars['Boolean']['input']; + note: Scalars['String']['input']; }; export type Address = Node & { - __typename?: 'Address'; - city?: Maybe; - company?: Maybe; - country: Country; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - defaultBillingAddress?: Maybe; - defaultShippingAddress?: Maybe; - fullName?: Maybe; - id: Scalars['ID']['output']; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1: Scalars['String']['output']; - streetLine2?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Address'; + city?: Maybe; + company?: Maybe; + country: Country; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + defaultBillingAddress?: Maybe; + defaultShippingAddress?: Maybe; + fullName?: Maybe; + id: Scalars['ID']['output']; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1: Scalars['String']['output']; + streetLine2?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type AdjustDraftOrderLineInput = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type Adjustment = { - __typename?: 'Adjustment'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Adjustment'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + data?: Maybe; + description: Scalars['String']['output']; + type: AdjustmentType; }; export enum AdjustmentType { - DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', - OTHER = 'OTHER', - PROMOTION = 'PROMOTION' + DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', + OTHER = 'OTHER', + PROMOTION = 'PROMOTION', } export type Administrator = Node & { - __typename?: 'Administrator'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - user: User; + __typename?: 'Administrator'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + user: User; }; export type AdministratorFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; }; export type AdministratorList = PaginatedList & { - __typename?: 'AdministratorList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AdministratorList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AdministratorListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type AdministratorPaymentInput = { - metadata?: InputMaybe; - paymentMethod?: InputMaybe; + metadata?: InputMaybe; + paymentMethod?: InputMaybe; }; export type AdministratorRefundInput = { - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; }; export type AdministratorSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type Allocation = Node & StockMovement & { - __typename?: 'Allocation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - orderLine: OrderLine; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Allocation = Node & + StockMovement & { + __typename?: 'Allocation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + orderLine: OrderLine; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; /** Returned if an attempting to refund an OrderItem which has already been refunded */ export type AlreadyRefundedError = ErrorResult & { - __typename?: 'AlreadyRefundedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - refundId: Scalars['ID']['output']; + __typename?: 'AlreadyRefundedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + refundId: Scalars['ID']['output']; }; -export type ApplyCouponCodeResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | Order; +export type ApplyCouponCodeResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | Order; export type Asset = Node & { - __typename?: 'Asset'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - fileSize: Scalars['Int']['output']; - focalPoint?: Maybe; - height: Scalars['Int']['output']; - id: Scalars['ID']['output']; - mimeType: Scalars['String']['output']; - name: Scalars['String']['output']; - preview: Scalars['String']['output']; - source: Scalars['String']['output']; - tags: Array; - type: AssetType; - updatedAt: Scalars['DateTime']['output']; - width: Scalars['Int']['output']; + __typename?: 'Asset'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + fileSize: Scalars['Int']['output']; + focalPoint?: Maybe; + height: Scalars['Int']['output']; + id: Scalars['ID']['output']; + mimeType: Scalars['String']['output']; + name: Scalars['String']['output']; + preview: Scalars['String']['output']; + source: Scalars['String']['output']; + tags: Array; + type: AssetType; + updatedAt: Scalars['DateTime']['output']; + width: Scalars['Int']['output']; }; export type AssetFilterParameter = { - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + createdAt?: InputMaybe; + fileSize?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + mimeType?: InputMaybe; + name?: InputMaybe; + preview?: InputMaybe; + source?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; + width?: InputMaybe; }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AssetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AssetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - tags?: InputMaybe>; - tagsOperator?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + tags?: InputMaybe>; + tagsOperator?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type AssetSortParameter = { - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + createdAt?: InputMaybe; + fileSize?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + mimeType?: InputMaybe; + name?: InputMaybe; + preview?: InputMaybe; + source?: InputMaybe; + updatedAt?: InputMaybe; + width?: InputMaybe; }; export enum AssetType { - BINARY = 'BINARY', - IMAGE = 'IMAGE', - VIDEO = 'VIDEO' + BINARY = 'BINARY', + IMAGE = 'IMAGE', + VIDEO = 'VIDEO', } export type AssignAssetsToChannelInput = { - assetIds: Array; - channelId: Scalars['ID']['input']; + assetIds: Array; + channelId: Scalars['ID']['input']; }; export type AssignCollectionsToChannelInput = { - channelId: Scalars['ID']['input']; - collectionIds: Array; + channelId: Scalars['ID']['input']; + collectionIds: Array; }; export type AssignFacetsToChannelInput = { - channelId: Scalars['ID']['input']; - facetIds: Array; + channelId: Scalars['ID']['input']; + facetIds: Array; }; export type AssignPaymentMethodsToChannelInput = { - channelId: Scalars['ID']['input']; - paymentMethodIds: Array; + channelId: Scalars['ID']['input']; + paymentMethodIds: Array; }; export type AssignProductVariantsToChannelInput = { - channelId: Scalars['ID']['input']; - priceFactor?: InputMaybe; - productVariantIds: Array; + channelId: Scalars['ID']['input']; + priceFactor?: InputMaybe; + productVariantIds: Array; }; export type AssignProductsToChannelInput = { - channelId: Scalars['ID']['input']; - priceFactor?: InputMaybe; - productIds: Array; + channelId: Scalars['ID']['input']; + priceFactor?: InputMaybe; + productIds: Array; }; export type AssignPromotionsToChannelInput = { - channelId: Scalars['ID']['input']; - promotionIds: Array; + channelId: Scalars['ID']['input']; + promotionIds: Array; }; export type AssignShippingMethodsToChannelInput = { - channelId: Scalars['ID']['input']; - shippingMethodIds: Array; + channelId: Scalars['ID']['input']; + shippingMethodIds: Array; }; export type AssignStockLocationsToChannelInput = { - channelId: Scalars['ID']['input']; - stockLocationIds: Array; + channelId: Scalars['ID']['input']; + stockLocationIds: Array; }; export type AuthenticationInput = { - native?: InputMaybe; + native?: InputMaybe; }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'AuthenticationMethod'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + strategy: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type AuthenticationResult = CurrentUser | InvalidCredentialsError; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'BooleanCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Operators for filtering on a list of Boolean fields */ export type BooleanListOperators = { - inList: Scalars['Boolean']['input']; + inList: Scalars['Boolean']['input']; }; /** Operators for filtering on a Boolean field */ export type BooleanOperators = { - eq?: InputMaybe; - isNull?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; /** Returned if an attempting to cancel lines from an Order which is still active */ export type CancelActiveOrderError = ErrorResult & { - __typename?: 'CancelActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + __typename?: 'CancelActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; export type CancelOrderInput = { - /** Specify whether the shipping charges should also be cancelled. Defaults to false */ - cancelShipping?: InputMaybe; - /** Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled */ - lines?: InputMaybe>; - /** The id of the order to be cancelled */ - orderId: Scalars['ID']['input']; - reason?: InputMaybe; -}; - -export type CancelOrderResult = CancelActiveOrderError | EmptyOrderLineSelectionError | MultipleOrderError | Order | OrderStateTransitionError | QuantityTooGreatError; + /** Specify whether the shipping charges should also be cancelled. Defaults to false */ + cancelShipping?: InputMaybe; + /** Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled */ + lines?: InputMaybe>; + /** The id of the order to be cancelled */ + orderId: Scalars['ID']['input']; + reason?: InputMaybe; +}; + +export type CancelOrderResult = + | CancelActiveOrderError + | EmptyOrderLineSelectionError + | MultipleOrderError + | Order + | OrderStateTransitionError + | QuantityTooGreatError; /** Returned if the Payment cancellation fails */ export type CancelPaymentError = ErrorResult & { - __typename?: 'CancelPaymentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'CancelPaymentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; export type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError; -export type Cancellation = Node & StockMovement & { - __typename?: 'Cancellation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - orderLine: OrderLine; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type Cancellation = Node & + StockMovement & { + __typename?: 'Cancellation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + orderLine: OrderLine; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type Channel = Node & { - __typename?: 'Channel'; - availableCurrencyCodes: Array; - availableLanguageCodes?: Maybe>; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode: CurrencyCode; - customFields?: Maybe; - defaultCurrencyCode: CurrencyCode; - defaultLanguageCode: LanguageCode; - defaultShippingZone?: Maybe; - defaultTaxZone?: Maybe; - id: Scalars['ID']['output']; - /** Not yet used - will be implemented in a future release. */ - outOfStockThreshold?: Maybe; - pricesIncludeTax: Scalars['Boolean']['output']; - seller?: Maybe; - token: Scalars['String']['output']; - /** Not yet used - will be implemented in a future release. */ - trackInventory?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Channel'; + availableCurrencyCodes: Array; + availableLanguageCodes?: Maybe>; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode: CurrencyCode; + customFields?: Maybe; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: Maybe; + defaultTaxZone?: Maybe; + id: Scalars['ID']['output']; + /** Not yet used - will be implemented in a future release. */ + outOfStockThreshold?: Maybe; + pricesIncludeTax: Scalars['Boolean']['output']; + seller?: Maybe; + token: Scalars['String']['output']; + /** Not yet used - will be implemented in a future release. */ + trackInventory?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -391,123 +412,122 @@ export type Channel = Node & { * of the GlobalSettings */ export type ChannelDefaultLanguageError = ErrorResult & { - __typename?: 'ChannelDefaultLanguageError'; - channelCode: Scalars['String']['output']; - errorCode: ErrorCode; - language: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'ChannelDefaultLanguageError'; + channelCode: Scalars['String']['output']; + errorCode: ErrorCode; + language: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type ChannelFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode?: InputMaybe; + id?: InputMaybe; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax?: InputMaybe; + token?: InputMaybe; + trackInventory?: InputMaybe; + updatedAt?: InputMaybe; }; export type ChannelList = PaginatedList & { - __typename?: 'ChannelList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ChannelList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ChannelListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ChannelSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - token?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + outOfStockThreshold?: InputMaybe; + token?: InputMaybe; + updatedAt?: InputMaybe; }; export type Collection = Node & { - __typename?: 'Collection'; - assets: Array; - breadcrumbs: Array; - children?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - featuredAsset?: Maybe; - filters: Array; - id: Scalars['ID']['output']; - inheritFilters: Scalars['Boolean']['output']; - isPrivate: Scalars['Boolean']['output']; - languageCode?: Maybe; - name: Scalars['String']['output']; - parent?: Maybe; - parentId: Scalars['ID']['output']; - position: Scalars['Int']['output']; - productVariants: ProductVariantList; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Collection'; + assets: Array; + breadcrumbs: Array; + children?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + featuredAsset?: Maybe; + filters: Array; + id: Scalars['ID']['output']; + inheritFilters: Scalars['Boolean']['output']; + isPrivate: Scalars['Boolean']['output']; + languageCode?: Maybe; + name: Scalars['String']['output']; + parent?: Maybe; + parentId: Scalars['ID']['output']; + position: Scalars['Int']['output']; + productVariants: ProductVariantList; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; - export type CollectionProductVariantsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'CollectionBreadcrumb'; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CollectionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; - topLevelOnly?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; + topLevelOnly?: InputMaybe; }; /** @@ -515,435 +535,436 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - __typename?: 'CollectionResult'; - collection: Collection; - count: Scalars['Int']['output']; + __typename?: 'CollectionResult'; + collection: Collection; + count: Scalars['Int']['output']; }; export type CollectionSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CollectionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ConfigArg = { - __typename?: 'ConfigArg'; - name: Scalars['String']['output']; - value: Scalars['String']['output']; + __typename?: 'ConfigArg'; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; - defaultValue?: Maybe; - description?: Maybe; - label?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - required: Scalars['Boolean']['output']; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'ConfigArgDefinition'; + defaultValue?: Maybe; + description?: Maybe; + label?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + required: Scalars['Boolean']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type ConfigArgInput = { - name: Scalars['String']['input']; - /** A JSON stringified representation of the actual value */ - value: Scalars['String']['input']; + name: Scalars['String']['input']; + /** A JSON stringified representation of the actual value */ + value: Scalars['String']['input']; }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; - args: Array; - code: Scalars['String']['output']; + __typename?: 'ConfigurableOperation'; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + __typename?: 'ConfigurableOperationDefinition'; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; }; export type ConfigurableOperationInput = { - arguments: Array; - code: Scalars['String']['input']; + arguments: Array; + code: Scalars['String']['input']; }; export type Coordinate = { - __typename?: 'Coordinate'; - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; + __typename?: 'Coordinate'; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; }; export type CoordinateInput = { - x: Scalars['Float']['input']; - y: Scalars['Float']['input']; -}; - -export type Country = Node & Region & { - __typename?: 'Country'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; +}; + +export type Country = Node & + Region & { + __typename?: 'Country'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type CountryFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CountryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CountryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CountrySortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeExpiredError = ErrorResult & { - __typename?: 'CouponCodeExpiredError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeExpiredError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - __typename?: 'CouponCodeInvalidError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeInvalidError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - __typename?: 'CouponCodeLimitError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'CouponCodeLimitError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type CreateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode: Scalars['String']['input']; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1: Scalars['String']['input']; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode: Scalars['String']['input']; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1: Scalars['String']['input']; + streetLine2?: InputMaybe; }; export type CreateAdministratorInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - password: Scalars['String']['input']; - roleIds: Array; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + password: Scalars['String']['input']; + roleIds: Array; }; export type CreateAssetInput = { - customFields?: InputMaybe; - file: Scalars['Upload']['input']; - tags?: InputMaybe>; + customFields?: InputMaybe; + file: Scalars['Upload']['input']; + tags?: InputMaybe>; }; export type CreateAssetResult = Asset | MimeTypeError; export type CreateChannelInput = { - availableCurrencyCodes?: InputMaybe>; - availableLanguageCodes?: InputMaybe>; - code: Scalars['String']['input']; - customFields?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode: LanguageCode; - defaultShippingZoneId: Scalars['ID']['input']; - defaultTaxZoneId: Scalars['ID']['input']; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax: Scalars['Boolean']['input']; - sellerId?: InputMaybe; - token: Scalars['String']['input']; - trackInventory?: InputMaybe; + availableCurrencyCodes?: InputMaybe>; + availableLanguageCodes?: InputMaybe>; + code: Scalars['String']['input']; + customFields?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode: LanguageCode; + defaultShippingZoneId: Scalars['ID']['input']; + defaultTaxZoneId: Scalars['ID']['input']; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax: Scalars['Boolean']['input']; + sellerId?: InputMaybe; + token: Scalars['String']['input']; + trackInventory?: InputMaybe; }; export type CreateChannelResult = Channel | LanguageNotAvailableError; export type CreateCollectionInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - featuredAssetId?: InputMaybe; - filters: Array; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - parentId?: InputMaybe; - translations: Array; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + featuredAssetId?: InputMaybe; + filters: Array; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + parentId?: InputMaybe; + translations: Array; }; export type CreateCollectionTranslationInput = { - customFields?: InputMaybe; - description: Scalars['String']['input']; - languageCode: LanguageCode; - name: Scalars['String']['input']; - slug: Scalars['String']['input']; + customFields?: InputMaybe; + description: Scalars['String']['input']; + languageCode: LanguageCode; + name: Scalars['String']['input']; + slug: Scalars['String']['input']; }; export type CreateCountryInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + translations: Array; }; export type CreateCustomerGroupInput = { - customFields?: InputMaybe; - customerIds?: InputMaybe>; - name: Scalars['String']['input']; + customFields?: InputMaybe; + customerIds?: InputMaybe>; + name: Scalars['String']['input']; }; export type CreateCustomerInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type CreateCustomerResult = Customer | EmailAddressConflictError; export type CreateFacetInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - isPrivate: Scalars['Boolean']['input']; - translations: Array; - values?: InputMaybe>; + code: Scalars['String']['input']; + customFields?: InputMaybe; + isPrivate: Scalars['Boolean']['input']; + translations: Array; + values?: InputMaybe>; }; export type CreateFacetValueInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - facetId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + facetId: Scalars['ID']['input']; + translations: Array; }; export type CreateFacetValueWithFacetInput = { - code: Scalars['String']['input']; - translations: Array; + code: Scalars['String']['input']; + translations: Array; }; /** Returned if an error is thrown in a FulfillmentHandler's createFulfillment method */ export type CreateFulfillmentError = ErrorResult & { - __typename?: 'CreateFulfillmentError'; - errorCode: ErrorCode; - fulfillmentHandlerError: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'CreateFulfillmentError'; + errorCode: ErrorCode; + fulfillmentHandlerError: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type CreateGroupOptionInput = { - code: Scalars['String']['input']; - translations: Array; + code: Scalars['String']['input']; + translations: Array; }; export type CreatePaymentMethodInput = { - checker?: InputMaybe; - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - handler: ConfigurableOperationInput; - translations: Array; + checker?: InputMaybe; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + handler: ConfigurableOperationInput; + translations: Array; }; export type CreateProductCustomFieldsInput = { - featuredReviewId?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; + featuredReviewId?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; }; export type CreateProductInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - translations: Array; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + translations: Array; }; export type CreateProductOptionGroupInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - options: Array; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + options: Array; + translations: Array; }; export type CreateProductOptionInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - productOptionGroupId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + productOptionGroupId: Scalars['ID']['input']; + translations: Array; }; export type CreateProductVariantInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - optionIds?: InputMaybe>; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - productId: Scalars['ID']['input']; - sku: Scalars['String']['input']; - stockLevels?: InputMaybe>; - stockOnHand?: InputMaybe; - taxCategoryId?: InputMaybe; - trackInventory?: InputMaybe; - translations: Array; - useGlobalOutOfStockThreshold?: InputMaybe; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + optionIds?: InputMaybe>; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + productId: Scalars['ID']['input']; + sku: Scalars['String']['input']; + stockLevels?: InputMaybe>; + stockOnHand?: InputMaybe; + taxCategoryId?: InputMaybe; + trackInventory?: InputMaybe; + translations: Array; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type CreateProductVariantOptionInput = { - code: Scalars['String']['input']; - optionGroupId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + optionGroupId: Scalars['ID']['input']; + translations: Array; }; export type CreatePromotionInput = { - actions: Array; - conditions: Array; - couponCode?: InputMaybe; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - endsAt?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - translations: Array; + actions: Array; + conditions: Array; + couponCode?: InputMaybe; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + endsAt?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + translations: Array; }; export type CreatePromotionResult = MissingConditionsError | Promotion; export type CreateProvinceInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + translations: Array; }; export type CreateRoleInput = { - channelIds?: InputMaybe>; - code: Scalars['String']['input']; - description: Scalars['String']['input']; - permissions: Array; + channelIds?: InputMaybe>; + code: Scalars['String']['input']; + description: Scalars['String']['input']; + permissions: Array; }; export type CreateSellerInput = { - customFields?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateShippingMethodInput = { - calculator: ConfigurableOperationInput; - checker: ConfigurableOperationInput; - code: Scalars['String']['input']; - customFields?: InputMaybe; - fulfillmentHandler: Scalars['String']['input']; - translations: Array; + calculator: ConfigurableOperationInput; + checker: ConfigurableOperationInput; + code: Scalars['String']['input']; + customFields?: InputMaybe; + fulfillmentHandler: Scalars['String']['input']; + translations: Array; }; export type CreateStockLocationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + description?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateTagInput = { - value: Scalars['String']['input']; + value: Scalars['String']['input']; }; export type CreateTaxCategoryInput = { - customFields?: InputMaybe; - isDefault?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + isDefault?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateTaxRateInput = { - categoryId: Scalars['ID']['input']; - customFields?: InputMaybe; - customerGroupId?: InputMaybe; - enabled: Scalars['Boolean']['input']; - name: Scalars['String']['input']; - value: Scalars['Float']['input']; - zoneId: Scalars['ID']['input']; + categoryId: Scalars['ID']['input']; + customFields?: InputMaybe; + customerGroupId?: InputMaybe; + enabled: Scalars['Boolean']['input']; + name: Scalars['String']['input']; + value: Scalars['Float']['input']; + zoneId: Scalars['ID']['input']; }; export type CreateZoneInput = { - customFields?: InputMaybe; - memberIds?: InputMaybe>; - name: Scalars['String']['input']; + customFields?: InputMaybe; + memberIds?: InputMaybe>; + name: Scalars['String']['input']; }; /** @@ -953,517 +974,523 @@ export type CreateZoneInput = { * @docsCategory common */ export enum CurrencyCode { - /** United Arab Emirates dirham */ - AED = 'AED', - /** Afghan afghani */ - AFN = 'AFN', - /** Albanian lek */ - ALL = 'ALL', - /** Armenian dram */ - AMD = 'AMD', - /** Netherlands Antillean guilder */ - ANG = 'ANG', - /** Angolan kwanza */ - AOA = 'AOA', - /** Argentine peso */ - ARS = 'ARS', - /** Australian dollar */ - AUD = 'AUD', - /** Aruban florin */ - AWG = 'AWG', - /** Azerbaijani manat */ - AZN = 'AZN', - /** Bosnia and Herzegovina convertible mark */ - BAM = 'BAM', - /** Barbados dollar */ - BBD = 'BBD', - /** Bangladeshi taka */ - BDT = 'BDT', - /** Bulgarian lev */ - BGN = 'BGN', - /** Bahraini dinar */ - BHD = 'BHD', - /** Burundian franc */ - BIF = 'BIF', - /** Bermudian dollar */ - BMD = 'BMD', - /** Brunei dollar */ - BND = 'BND', - /** Boliviano */ - BOB = 'BOB', - /** Brazilian real */ - BRL = 'BRL', - /** Bahamian dollar */ - BSD = 'BSD', - /** Bhutanese ngultrum */ - BTN = 'BTN', - /** Botswana pula */ - BWP = 'BWP', - /** Belarusian ruble */ - BYN = 'BYN', - /** Belize dollar */ - BZD = 'BZD', - /** Canadian dollar */ - CAD = 'CAD', - /** Congolese franc */ - CDF = 'CDF', - /** Swiss franc */ - CHF = 'CHF', - /** Chilean peso */ - CLP = 'CLP', - /** Renminbi (Chinese) yuan */ - CNY = 'CNY', - /** Colombian peso */ - COP = 'COP', - /** Costa Rican colon */ - CRC = 'CRC', - /** Cuban convertible peso */ - CUC = 'CUC', - /** Cuban peso */ - CUP = 'CUP', - /** Cape Verde escudo */ - CVE = 'CVE', - /** Czech koruna */ - CZK = 'CZK', - /** Djiboutian franc */ - DJF = 'DJF', - /** Danish krone */ - DKK = 'DKK', - /** Dominican peso */ - DOP = 'DOP', - /** Algerian dinar */ - DZD = 'DZD', - /** Egyptian pound */ - EGP = 'EGP', - /** Eritrean nakfa */ - ERN = 'ERN', - /** Ethiopian birr */ - ETB = 'ETB', - /** Euro */ - EUR = 'EUR', - /** Fiji dollar */ - FJD = 'FJD', - /** Falkland Islands pound */ - FKP = 'FKP', - /** Pound sterling */ - GBP = 'GBP', - /** Georgian lari */ - GEL = 'GEL', - /** Ghanaian cedi */ - GHS = 'GHS', - /** Gibraltar pound */ - GIP = 'GIP', - /** Gambian dalasi */ - GMD = 'GMD', - /** Guinean franc */ - GNF = 'GNF', - /** Guatemalan quetzal */ - GTQ = 'GTQ', - /** Guyanese dollar */ - GYD = 'GYD', - /** Hong Kong dollar */ - HKD = 'HKD', - /** Honduran lempira */ - HNL = 'HNL', - /** Croatian kuna */ - HRK = 'HRK', - /** Haitian gourde */ - HTG = 'HTG', - /** Hungarian forint */ - HUF = 'HUF', - /** Indonesian rupiah */ - IDR = 'IDR', - /** Israeli new shekel */ - ILS = 'ILS', - /** Indian rupee */ - INR = 'INR', - /** Iraqi dinar */ - IQD = 'IQD', - /** Iranian rial */ - IRR = 'IRR', - /** Icelandic króna */ - ISK = 'ISK', - /** Jamaican dollar */ - JMD = 'JMD', - /** Jordanian dinar */ - JOD = 'JOD', - /** Japanese yen */ - JPY = 'JPY', - /** Kenyan shilling */ - KES = 'KES', - /** Kyrgyzstani som */ - KGS = 'KGS', - /** Cambodian riel */ - KHR = 'KHR', - /** Comoro franc */ - KMF = 'KMF', - /** North Korean won */ - KPW = 'KPW', - /** South Korean won */ - KRW = 'KRW', - /** Kuwaiti dinar */ - KWD = 'KWD', - /** Cayman Islands dollar */ - KYD = 'KYD', - /** Kazakhstani tenge */ - KZT = 'KZT', - /** Lao kip */ - LAK = 'LAK', - /** Lebanese pound */ - LBP = 'LBP', - /** Sri Lankan rupee */ - LKR = 'LKR', - /** Liberian dollar */ - LRD = 'LRD', - /** Lesotho loti */ - LSL = 'LSL', - /** Libyan dinar */ - LYD = 'LYD', - /** Moroccan dirham */ - MAD = 'MAD', - /** Moldovan leu */ - MDL = 'MDL', - /** Malagasy ariary */ - MGA = 'MGA', - /** Macedonian denar */ - MKD = 'MKD', - /** Myanmar kyat */ - MMK = 'MMK', - /** Mongolian tögrög */ - MNT = 'MNT', - /** Macanese pataca */ - MOP = 'MOP', - /** Mauritanian ouguiya */ - MRU = 'MRU', - /** Mauritian rupee */ - MUR = 'MUR', - /** Maldivian rufiyaa */ - MVR = 'MVR', - /** Malawian kwacha */ - MWK = 'MWK', - /** Mexican peso */ - MXN = 'MXN', - /** Malaysian ringgit */ - MYR = 'MYR', - /** Mozambican metical */ - MZN = 'MZN', - /** Namibian dollar */ - NAD = 'NAD', - /** Nigerian naira */ - NGN = 'NGN', - /** Nicaraguan córdoba */ - NIO = 'NIO', - /** Norwegian krone */ - NOK = 'NOK', - /** Nepalese rupee */ - NPR = 'NPR', - /** New Zealand dollar */ - NZD = 'NZD', - /** Omani rial */ - OMR = 'OMR', - /** Panamanian balboa */ - PAB = 'PAB', - /** Peruvian sol */ - PEN = 'PEN', - /** Papua New Guinean kina */ - PGK = 'PGK', - /** Philippine peso */ - PHP = 'PHP', - /** Pakistani rupee */ - PKR = 'PKR', - /** Polish złoty */ - PLN = 'PLN', - /** Paraguayan guaraní */ - PYG = 'PYG', - /** Qatari riyal */ - QAR = 'QAR', - /** Romanian leu */ - RON = 'RON', - /** Serbian dinar */ - RSD = 'RSD', - /** Russian ruble */ - RUB = 'RUB', - /** Rwandan franc */ - RWF = 'RWF', - /** Saudi riyal */ - SAR = 'SAR', - /** Solomon Islands dollar */ - SBD = 'SBD', - /** Seychelles rupee */ - SCR = 'SCR', - /** Sudanese pound */ - SDG = 'SDG', - /** Swedish krona/kronor */ - SEK = 'SEK', - /** Singapore dollar */ - SGD = 'SGD', - /** Saint Helena pound */ - SHP = 'SHP', - /** Sierra Leonean leone */ - SLL = 'SLL', - /** Somali shilling */ - SOS = 'SOS', - /** Surinamese dollar */ - SRD = 'SRD', - /** South Sudanese pound */ - SSP = 'SSP', - /** São Tomé and Príncipe dobra */ - STN = 'STN', - /** Salvadoran colón */ - SVC = 'SVC', - /** Syrian pound */ - SYP = 'SYP', - /** Swazi lilangeni */ - SZL = 'SZL', - /** Thai baht */ - THB = 'THB', - /** Tajikistani somoni */ - TJS = 'TJS', - /** Turkmenistan manat */ - TMT = 'TMT', - /** Tunisian dinar */ - TND = 'TND', - /** Tongan paʻanga */ - TOP = 'TOP', - /** Turkish lira */ - TRY = 'TRY', - /** Trinidad and Tobago dollar */ - TTD = 'TTD', - /** New Taiwan dollar */ - TWD = 'TWD', - /** Tanzanian shilling */ - TZS = 'TZS', - /** Ukrainian hryvnia */ - UAH = 'UAH', - /** Ugandan shilling */ - UGX = 'UGX', - /** United States dollar */ - USD = 'USD', - /** Uruguayan peso */ - UYU = 'UYU', - /** Uzbekistan som */ - UZS = 'UZS', - /** Venezuelan bolívar soberano */ - VES = 'VES', - /** Vietnamese đồng */ - VND = 'VND', - /** Vanuatu vatu */ - VUV = 'VUV', - /** Samoan tala */ - WST = 'WST', - /** CFA franc BEAC */ - XAF = 'XAF', - /** East Caribbean dollar */ - XCD = 'XCD', - /** CFA franc BCEAO */ - XOF = 'XOF', - /** CFP franc (franc Pacifique) */ - XPF = 'XPF', - /** Yemeni rial */ - YER = 'YER', - /** South African rand */ - ZAR = 'ZAR', - /** Zambian kwacha */ - ZMW = 'ZMW', - /** Zimbabwean dollar */ - ZWL = 'ZWL' + /** United Arab Emirates dirham */ + AED = 'AED', + /** Afghan afghani */ + AFN = 'AFN', + /** Albanian lek */ + ALL = 'ALL', + /** Armenian dram */ + AMD = 'AMD', + /** Netherlands Antillean guilder */ + ANG = 'ANG', + /** Angolan kwanza */ + AOA = 'AOA', + /** Argentine peso */ + ARS = 'ARS', + /** Australian dollar */ + AUD = 'AUD', + /** Aruban florin */ + AWG = 'AWG', + /** Azerbaijani manat */ + AZN = 'AZN', + /** Bosnia and Herzegovina convertible mark */ + BAM = 'BAM', + /** Barbados dollar */ + BBD = 'BBD', + /** Bangladeshi taka */ + BDT = 'BDT', + /** Bulgarian lev */ + BGN = 'BGN', + /** Bahraini dinar */ + BHD = 'BHD', + /** Burundian franc */ + BIF = 'BIF', + /** Bermudian dollar */ + BMD = 'BMD', + /** Brunei dollar */ + BND = 'BND', + /** Boliviano */ + BOB = 'BOB', + /** Brazilian real */ + BRL = 'BRL', + /** Bahamian dollar */ + BSD = 'BSD', + /** Bhutanese ngultrum */ + BTN = 'BTN', + /** Botswana pula */ + BWP = 'BWP', + /** Belarusian ruble */ + BYN = 'BYN', + /** Belize dollar */ + BZD = 'BZD', + /** Canadian dollar */ + CAD = 'CAD', + /** Congolese franc */ + CDF = 'CDF', + /** Swiss franc */ + CHF = 'CHF', + /** Chilean peso */ + CLP = 'CLP', + /** Renminbi (Chinese) yuan */ + CNY = 'CNY', + /** Colombian peso */ + COP = 'COP', + /** Costa Rican colon */ + CRC = 'CRC', + /** Cuban convertible peso */ + CUC = 'CUC', + /** Cuban peso */ + CUP = 'CUP', + /** Cape Verde escudo */ + CVE = 'CVE', + /** Czech koruna */ + CZK = 'CZK', + /** Djiboutian franc */ + DJF = 'DJF', + /** Danish krone */ + DKK = 'DKK', + /** Dominican peso */ + DOP = 'DOP', + /** Algerian dinar */ + DZD = 'DZD', + /** Egyptian pound */ + EGP = 'EGP', + /** Eritrean nakfa */ + ERN = 'ERN', + /** Ethiopian birr */ + ETB = 'ETB', + /** Euro */ + EUR = 'EUR', + /** Fiji dollar */ + FJD = 'FJD', + /** Falkland Islands pound */ + FKP = 'FKP', + /** Pound sterling */ + GBP = 'GBP', + /** Georgian lari */ + GEL = 'GEL', + /** Ghanaian cedi */ + GHS = 'GHS', + /** Gibraltar pound */ + GIP = 'GIP', + /** Gambian dalasi */ + GMD = 'GMD', + /** Guinean franc */ + GNF = 'GNF', + /** Guatemalan quetzal */ + GTQ = 'GTQ', + /** Guyanese dollar */ + GYD = 'GYD', + /** Hong Kong dollar */ + HKD = 'HKD', + /** Honduran lempira */ + HNL = 'HNL', + /** Croatian kuna */ + HRK = 'HRK', + /** Haitian gourde */ + HTG = 'HTG', + /** Hungarian forint */ + HUF = 'HUF', + /** Indonesian rupiah */ + IDR = 'IDR', + /** Israeli new shekel */ + ILS = 'ILS', + /** Indian rupee */ + INR = 'INR', + /** Iraqi dinar */ + IQD = 'IQD', + /** Iranian rial */ + IRR = 'IRR', + /** Icelandic króna */ + ISK = 'ISK', + /** Jamaican dollar */ + JMD = 'JMD', + /** Jordanian dinar */ + JOD = 'JOD', + /** Japanese yen */ + JPY = 'JPY', + /** Kenyan shilling */ + KES = 'KES', + /** Kyrgyzstani som */ + KGS = 'KGS', + /** Cambodian riel */ + KHR = 'KHR', + /** Comoro franc */ + KMF = 'KMF', + /** North Korean won */ + KPW = 'KPW', + /** South Korean won */ + KRW = 'KRW', + /** Kuwaiti dinar */ + KWD = 'KWD', + /** Cayman Islands dollar */ + KYD = 'KYD', + /** Kazakhstani tenge */ + KZT = 'KZT', + /** Lao kip */ + LAK = 'LAK', + /** Lebanese pound */ + LBP = 'LBP', + /** Sri Lankan rupee */ + LKR = 'LKR', + /** Liberian dollar */ + LRD = 'LRD', + /** Lesotho loti */ + LSL = 'LSL', + /** Libyan dinar */ + LYD = 'LYD', + /** Moroccan dirham */ + MAD = 'MAD', + /** Moldovan leu */ + MDL = 'MDL', + /** Malagasy ariary */ + MGA = 'MGA', + /** Macedonian denar */ + MKD = 'MKD', + /** Myanmar kyat */ + MMK = 'MMK', + /** Mongolian tögrög */ + MNT = 'MNT', + /** Macanese pataca */ + MOP = 'MOP', + /** Mauritanian ouguiya */ + MRU = 'MRU', + /** Mauritian rupee */ + MUR = 'MUR', + /** Maldivian rufiyaa */ + MVR = 'MVR', + /** Malawian kwacha */ + MWK = 'MWK', + /** Mexican peso */ + MXN = 'MXN', + /** Malaysian ringgit */ + MYR = 'MYR', + /** Mozambican metical */ + MZN = 'MZN', + /** Namibian dollar */ + NAD = 'NAD', + /** Nigerian naira */ + NGN = 'NGN', + /** Nicaraguan córdoba */ + NIO = 'NIO', + /** Norwegian krone */ + NOK = 'NOK', + /** Nepalese rupee */ + NPR = 'NPR', + /** New Zealand dollar */ + NZD = 'NZD', + /** Omani rial */ + OMR = 'OMR', + /** Panamanian balboa */ + PAB = 'PAB', + /** Peruvian sol */ + PEN = 'PEN', + /** Papua New Guinean kina */ + PGK = 'PGK', + /** Philippine peso */ + PHP = 'PHP', + /** Pakistani rupee */ + PKR = 'PKR', + /** Polish złoty */ + PLN = 'PLN', + /** Paraguayan guaraní */ + PYG = 'PYG', + /** Qatari riyal */ + QAR = 'QAR', + /** Romanian leu */ + RON = 'RON', + /** Serbian dinar */ + RSD = 'RSD', + /** Russian ruble */ + RUB = 'RUB', + /** Rwandan franc */ + RWF = 'RWF', + /** Saudi riyal */ + SAR = 'SAR', + /** Solomon Islands dollar */ + SBD = 'SBD', + /** Seychelles rupee */ + SCR = 'SCR', + /** Sudanese pound */ + SDG = 'SDG', + /** Swedish krona/kronor */ + SEK = 'SEK', + /** Singapore dollar */ + SGD = 'SGD', + /** Saint Helena pound */ + SHP = 'SHP', + /** Sierra Leonean leone */ + SLL = 'SLL', + /** Somali shilling */ + SOS = 'SOS', + /** Surinamese dollar */ + SRD = 'SRD', + /** South Sudanese pound */ + SSP = 'SSP', + /** São Tomé and Príncipe dobra */ + STN = 'STN', + /** Salvadoran colón */ + SVC = 'SVC', + /** Syrian pound */ + SYP = 'SYP', + /** Swazi lilangeni */ + SZL = 'SZL', + /** Thai baht */ + THB = 'THB', + /** Tajikistani somoni */ + TJS = 'TJS', + /** Turkmenistan manat */ + TMT = 'TMT', + /** Tunisian dinar */ + TND = 'TND', + /** Tongan paʻanga */ + TOP = 'TOP', + /** Turkish lira */ + TRY = 'TRY', + /** Trinidad and Tobago dollar */ + TTD = 'TTD', + /** New Taiwan dollar */ + TWD = 'TWD', + /** Tanzanian shilling */ + TZS = 'TZS', + /** Ukrainian hryvnia */ + UAH = 'UAH', + /** Ugandan shilling */ + UGX = 'UGX', + /** United States dollar */ + USD = 'USD', + /** Uruguayan peso */ + UYU = 'UYU', + /** Uzbekistan som */ + UZS = 'UZS', + /** Venezuelan bolívar soberano */ + VES = 'VES', + /** Vietnamese đồng */ + VND = 'VND', + /** Vanuatu vatu */ + VUV = 'VUV', + /** Samoan tala */ + WST = 'WST', + /** CFA franc BEAC */ + XAF = 'XAF', + /** East Caribbean dollar */ + XCD = 'XCD', + /** CFA franc BCEAO */ + XOF = 'XOF', + /** CFP franc (franc Pacifique) */ + XPF = 'XPF', + /** Yemeni rial */ + YER = 'YER', + /** South African rand */ + ZAR = 'ZAR', + /** Zambian kwacha */ + ZMW = 'ZMW', + /** Zimbabwean dollar */ + ZWL = 'ZWL', } export type CurrentUser = { - __typename?: 'CurrentUser'; - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + __typename?: 'CurrentUser'; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + __typename?: 'CurrentUserChannel'; + code: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + token: Scalars['String']['output']; }; export type CustomField = { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = + | BooleanCustomFieldConfig + | DateTimeCustomFieldConfig + | FloatCustomFieldConfig + | IntCustomFieldConfig + | LocaleStringCustomFieldConfig + | LocaleTextCustomFieldConfig + | RelationCustomFieldConfig + | StringCustomFieldConfig + | TextCustomFieldConfig; export type CustomFields = { - __typename?: 'CustomFields'; - Address: Array; - Administrator: Array; - Asset: Array; - Channel: Array; - Collection: Array; - Customer: Array; - CustomerGroup: Array; - Facet: Array; - FacetValue: Array; - Fulfillment: Array; - GlobalSettings: Array; - Order: Array; - OrderLine: Array; - PaymentMethod: Array; - Product: Array; - ProductOption: Array; - ProductOptionGroup: Array; - ProductVariant: Array; - Promotion: Array; - Region: Array; - Seller: Array; - ShippingMethod: Array; - StockLocation: Array; - TaxCategory: Array; - TaxRate: Array; - User: Array; - Zone: Array; + __typename?: 'CustomFields'; + Address: Array; + Administrator: Array; + Asset: Array; + Channel: Array; + Collection: Array; + Customer: Array; + CustomerGroup: Array; + Facet: Array; + FacetValue: Array; + Fulfillment: Array; + GlobalSettings: Array; + Order: Array; + OrderLine: Array; + PaymentMethod: Array; + Product: Array; + ProductOption: Array; + ProductOptionGroup: Array; + ProductVariant: Array; + Promotion: Array; + Region: Array; + Seller: Array; + ShippingMethod: Array; + StockLocation: Array; + TaxCategory: Array; + TaxRate: Array; + User: Array; + Zone: Array; }; export type Customer = Node & { - __typename?: 'Customer'; - addresses?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - groups: Array; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - orders: OrderList; - phoneNumber?: Maybe; - title?: Maybe; - updatedAt: Scalars['DateTime']['output']; - user?: Maybe; + __typename?: 'Customer'; + addresses?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + groups: Array; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + orders: OrderList; + phoneNumber?: Maybe; + title?: Maybe; + updatedAt: Scalars['DateTime']['output']; + user?: Maybe; }; - export type CustomerHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type CustomerOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CustomerGroup'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customers: CustomerList; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; - export type CustomerGroupCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerGroupFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroupList = PaginatedList & { - __typename?: 'CustomerGroupList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerGroupList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerGroupListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerGroupSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; /** Operators for filtering on a list of Date fields */ export type DateListOperators = { - inList: Scalars['DateTime']['input']; + inList: Scalars['DateTime']['input']; }; /** Operators for filtering on a DateTime field */ export type DateOperators = { - after?: InputMaybe; - before?: InputMaybe; - between?: InputMaybe; - eq?: InputMaybe; - isNull?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; export type DateRange = { - end: Scalars['DateTime']['input']; - start: Scalars['DateTime']['input']; + end: Scalars['DateTime']['input']; + start: Scalars['DateTime']['input']; }; /** @@ -1471,212 +1498,212 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - __typename?: 'DateTimeCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'DateTimeCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type DeleteAssetInput = { - assetId: Scalars['ID']['input']; - deleteFromAllChannels?: InputMaybe; - force?: InputMaybe; + assetId: Scalars['ID']['input']; + deleteFromAllChannels?: InputMaybe; + force?: InputMaybe; }; export type DeleteAssetsInput = { - assetIds: Array; - deleteFromAllChannels?: InputMaybe; - force?: InputMaybe; + assetIds: Array; + deleteFromAllChannels?: InputMaybe; + force?: InputMaybe; }; export type DeleteStockLocationInput = { - id: Scalars['ID']['input']; - transferToLocationId?: InputMaybe; + id: Scalars['ID']['input']; + transferToLocationId?: InputMaybe; }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; - message?: Maybe; - result: DeletionResult; + __typename?: 'DeletionResponse'; + message?: Maybe; + result: DeletionResult; }; export enum DeletionResult { - /** The entity was successfully deleted */ - DELETED = 'DELETED', - /** Deletion did not take place, reason given in message */ - NOT_DELETED = 'NOT_DELETED' + /** The entity was successfully deleted */ + DELETED = 'DELETED', + /** Deletion did not take place, reason given in message */ + NOT_DELETED = 'NOT_DELETED', } export type Discount = { - __typename?: 'Discount'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Discount'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - __typename?: 'EmailAddressConflictError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmailAddressConflictError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if no OrderLines have been specified for the operation */ export type EmptyOrderLineSelectionError = ErrorResult & { - __typename?: 'EmptyOrderLineSelectionError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmptyOrderLineSelectionError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum ErrorCode { - ALREADY_REFUNDED_ERROR = 'ALREADY_REFUNDED_ERROR', - CANCEL_ACTIVE_ORDER_ERROR = 'CANCEL_ACTIVE_ORDER_ERROR', - CANCEL_PAYMENT_ERROR = 'CANCEL_PAYMENT_ERROR', - CHANNEL_DEFAULT_LANGUAGE_ERROR = 'CHANNEL_DEFAULT_LANGUAGE_ERROR', - COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', - COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', - COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', - CREATE_FULFILLMENT_ERROR = 'CREATE_FULFILLMENT_ERROR', - EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', - EMPTY_ORDER_LINE_SELECTION_ERROR = 'EMPTY_ORDER_LINE_SELECTION_ERROR', - FACET_IN_USE_ERROR = 'FACET_IN_USE_ERROR', - FULFILLMENT_STATE_TRANSITION_ERROR = 'FULFILLMENT_STATE_TRANSITION_ERROR', - GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', - INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', - INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', - INSUFFICIENT_STOCK_ON_HAND_ERROR = 'INSUFFICIENT_STOCK_ON_HAND_ERROR', - INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', - INVALID_FULFILLMENT_HANDLER_ERROR = 'INVALID_FULFILLMENT_HANDLER_ERROR', - ITEMS_ALREADY_FULFILLED_ERROR = 'ITEMS_ALREADY_FULFILLED_ERROR', - LANGUAGE_NOT_AVAILABLE_ERROR = 'LANGUAGE_NOT_AVAILABLE_ERROR', - MANUAL_PAYMENT_STATE_ERROR = 'MANUAL_PAYMENT_STATE_ERROR', - MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', - MISSING_CONDITIONS_ERROR = 'MISSING_CONDITIONS_ERROR', - MULTIPLE_ORDER_ERROR = 'MULTIPLE_ORDER_ERROR', - NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', - NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', - NOTHING_TO_REFUND_ERROR = 'NOTHING_TO_REFUND_ERROR', - NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', - NO_CHANGES_SPECIFIED_ERROR = 'NO_CHANGES_SPECIFIED_ERROR', - ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', - ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', - ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', - ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', - PAYMENT_METHOD_MISSING_ERROR = 'PAYMENT_METHOD_MISSING_ERROR', - PAYMENT_ORDER_MISMATCH_ERROR = 'PAYMENT_ORDER_MISMATCH_ERROR', - PAYMENT_STATE_TRANSITION_ERROR = 'PAYMENT_STATE_TRANSITION_ERROR', - PRODUCT_OPTION_IN_USE_ERROR = 'PRODUCT_OPTION_IN_USE_ERROR', - QUANTITY_TOO_GREAT_ERROR = 'QUANTITY_TOO_GREAT_ERROR', - REFUND_ORDER_STATE_ERROR = 'REFUND_ORDER_STATE_ERROR', - REFUND_PAYMENT_ID_MISSING_ERROR = 'REFUND_PAYMENT_ID_MISSING_ERROR', - REFUND_STATE_TRANSITION_ERROR = 'REFUND_STATE_TRANSITION_ERROR', - SETTLE_PAYMENT_ERROR = 'SETTLE_PAYMENT_ERROR', - UNKNOWN_ERROR = 'UNKNOWN_ERROR' + ALREADY_REFUNDED_ERROR = 'ALREADY_REFUNDED_ERROR', + CANCEL_ACTIVE_ORDER_ERROR = 'CANCEL_ACTIVE_ORDER_ERROR', + CANCEL_PAYMENT_ERROR = 'CANCEL_PAYMENT_ERROR', + CHANNEL_DEFAULT_LANGUAGE_ERROR = 'CHANNEL_DEFAULT_LANGUAGE_ERROR', + COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', + COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', + COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', + CREATE_FULFILLMENT_ERROR = 'CREATE_FULFILLMENT_ERROR', + EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', + EMPTY_ORDER_LINE_SELECTION_ERROR = 'EMPTY_ORDER_LINE_SELECTION_ERROR', + FACET_IN_USE_ERROR = 'FACET_IN_USE_ERROR', + FULFILLMENT_STATE_TRANSITION_ERROR = 'FULFILLMENT_STATE_TRANSITION_ERROR', + GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', + INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', + INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', + INSUFFICIENT_STOCK_ON_HAND_ERROR = 'INSUFFICIENT_STOCK_ON_HAND_ERROR', + INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', + INVALID_FULFILLMENT_HANDLER_ERROR = 'INVALID_FULFILLMENT_HANDLER_ERROR', + ITEMS_ALREADY_FULFILLED_ERROR = 'ITEMS_ALREADY_FULFILLED_ERROR', + LANGUAGE_NOT_AVAILABLE_ERROR = 'LANGUAGE_NOT_AVAILABLE_ERROR', + MANUAL_PAYMENT_STATE_ERROR = 'MANUAL_PAYMENT_STATE_ERROR', + MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', + MISSING_CONDITIONS_ERROR = 'MISSING_CONDITIONS_ERROR', + MULTIPLE_ORDER_ERROR = 'MULTIPLE_ORDER_ERROR', + NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', + NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', + NOTHING_TO_REFUND_ERROR = 'NOTHING_TO_REFUND_ERROR', + NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', + NO_CHANGES_SPECIFIED_ERROR = 'NO_CHANGES_SPECIFIED_ERROR', + ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', + ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', + ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', + PAYMENT_METHOD_MISSING_ERROR = 'PAYMENT_METHOD_MISSING_ERROR', + PAYMENT_ORDER_MISMATCH_ERROR = 'PAYMENT_ORDER_MISMATCH_ERROR', + PAYMENT_STATE_TRANSITION_ERROR = 'PAYMENT_STATE_TRANSITION_ERROR', + PRODUCT_OPTION_IN_USE_ERROR = 'PRODUCT_OPTION_IN_USE_ERROR', + QUANTITY_TOO_GREAT_ERROR = 'QUANTITY_TOO_GREAT_ERROR', + REFUND_ORDER_STATE_ERROR = 'REFUND_ORDER_STATE_ERROR', + REFUND_PAYMENT_ID_MISSING_ERROR = 'REFUND_PAYMENT_ID_MISSING_ERROR', + REFUND_STATE_TRANSITION_ERROR = 'REFUND_STATE_TRANSITION_ERROR', + SETTLE_PAYMENT_ERROR = 'SETTLE_PAYMENT_ERROR', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', } export type ErrorResult = { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Facet = Node & { - __typename?: 'Facet'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isPrivate: Scalars['Boolean']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - values: Array; + __typename?: 'Facet'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isPrivate: Scalars['Boolean']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + values: Array; }; export type FacetFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetInUseError = ErrorResult & { - __typename?: 'FacetInUseError'; - errorCode: ErrorCode; - facetCode: Scalars['String']['output']; - message: Scalars['String']['output']; - productCount: Scalars['Int']['output']; - variantCount: Scalars['Int']['output']; + __typename?: 'FacetInUseError'; + errorCode: ErrorCode; + facetCode: Scalars['String']['output']; + message: Scalars['String']['output']; + productCount: Scalars['Int']['output']; + variantCount: Scalars['Int']['output']; }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type FacetSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type FacetValue = Node & { - __typename?: 'FacetValue'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - facet: Facet; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValue'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + facet: Facet; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -1688,36 +1715,36 @@ export type FacetValue = Node & { * * ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }` */ export type FacetValueFilterInput = { - and?: InputMaybe; - or?: InputMaybe>; + and?: InputMaybe; + or?: InputMaybe>; }; export type FacetValueFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueList = PaginatedList & { - __typename?: 'FacetValueList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetValueList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetValueListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -1725,222 +1752,222 @@ export type FacetValueListOptions = { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; - count: Scalars['Int']['output']; - facetValue: FacetValue; + __typename?: 'FacetValueResult'; + count: Scalars['Int']['output']; + facetValue: FacetValue; }; export type FacetValueSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValueTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetValueTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'FloatCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FulfillOrderInput = { - handler: ConfigurableOperationInput; - lines: Array; + handler: ConfigurableOperationInput; + lines: Array; }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - lines: Array; - method: Scalars['String']['output']; - nextStates: Array; - state: Scalars['String']['output']; - /** @deprecated Use the `lines` field instead */ - summary: Array; - trackingCode?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Fulfillment'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + lines: Array; + method: Scalars['String']['output']; + nextStates: Array; + state: Scalars['String']['output']; + /** @deprecated Use the `lines` field instead */ + summary: Array; + trackingCode?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type FulfillmentLine = { - __typename?: 'FulfillmentLine'; - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'FulfillmentLine'; + fulfillment: Fulfillment; + fulfillmentId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; /** Returned when there is an error in transitioning the Fulfillment state */ export type FulfillmentStateTransitionError = ErrorResult & { - __typename?: 'FulfillmentStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'FulfillmentStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; export enum GlobalFlag { - FALSE = 'FALSE', - INHERIT = 'INHERIT', - TRUE = 'TRUE' + FALSE = 'FALSE', + INHERIT = 'INHERIT', + TRUE = 'TRUE', } export type GlobalSettings = { - __typename?: 'GlobalSettings'; - availableLanguages: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - outOfStockThreshold: Scalars['Int']['output']; - serverConfig: ServerConfig; - trackInventory: Scalars['Boolean']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'GlobalSettings'; + availableLanguages: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + outOfStockThreshold: Scalars['Int']['output']; + serverConfig: ServerConfig; + trackInventory: Scalars['Boolean']['output']; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it. */ export type GuestCheckoutError = ErrorResult & { - __typename?: 'GuestCheckoutError'; - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'GuestCheckoutError'; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; - administrator?: Maybe; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - isPublic: Scalars['Boolean']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'HistoryEntry'; + administrator?: Maybe; + createdAt: Scalars['DateTime']['output']; + data: Scalars['JSON']['output']; + id: Scalars['ID']['output']; + isPublic: Scalars['Boolean']['output']; + type: HistoryEntryType; + updatedAt: Scalars['DateTime']['output']; }; export type HistoryEntryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - isPublic?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPublic?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'HistoryEntryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type HistoryEntrySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export enum HistoryEntryType { - CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', - CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', - CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', - CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', - CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', - CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', - CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', - CUSTOMER_NOTE = 'CUSTOMER_NOTE', - CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', - CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', - CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', - CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', - CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', - CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', - ORDER_CANCELLATION = 'ORDER_CANCELLATION', - ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', - ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', - ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', - ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', - ORDER_MODIFIED = 'ORDER_MODIFIED', - ORDER_NOTE = 'ORDER_NOTE', - ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', - ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', - ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION' + CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', + CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', + CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', + CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', + CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', + CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', + CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', + CUSTOMER_NOTE = 'CUSTOMER_NOTE', + CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', + CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', + CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', + CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', + CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', + CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', + ORDER_CANCELLATION = 'ORDER_CANCELLATION', + ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', + ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', + ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', + ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', + ORDER_MODIFIED = 'ORDER_MODIFIED', + ORDER_NOTE = 'ORDER_NOTE', + ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', + ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', + ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION', } /** Operators for filtering on a list of ID fields */ export type IdListOperators = { - inList: Scalars['ID']['input']; + inList: Scalars['ID']['input']; }; /** Operators for filtering on an ID field */ export type IdOperators = { - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; }; export type ImportInfo = { - __typename?: 'ImportInfo'; - errors?: Maybe>; - imported: Scalars['Int']['output']; - processed: Scalars['Int']['output']; + __typename?: 'ImportInfo'; + errors?: Maybe>; + imported: Scalars['Int']['output']; + processed: Scalars['Int']['output']; }; /** Returned when attempting to set a ShippingMethod for which the Order is not eligible */ export type IneligibleShippingMethodError = ErrorResult & { - __typename?: 'IneligibleShippingMethodError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'IneligibleShippingMethodError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - __typename?: 'InsufficientStockError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + __typename?: 'InsufficientStockError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; /** @@ -1948,125 +1975,125 @@ export type InsufficientStockError = ErrorResult & { * stockOnHand of a ProductVariant to satisfy the requested quantity. */ export type InsufficientStockOnHandError = ErrorResult & { - __typename?: 'InsufficientStockOnHandError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - stockOnHand: Scalars['Int']['output']; + __typename?: 'InsufficientStockOnHandError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + stockOnHand: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'IntCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - __typename?: 'InvalidCredentialsError'; - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidCredentialsError'; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified FulfillmentHandler code is not valid */ export type InvalidFulfillmentHandlerError = ErrorResult & { - __typename?: 'InvalidFulfillmentHandlerError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidFulfillmentHandlerError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified items are already part of a Fulfillment */ export type ItemsAlreadyFulfilledError = ErrorResult & { - __typename?: 'ItemsAlreadyFulfilledError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'ItemsAlreadyFulfilledError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Job = Node & { - __typename?: 'Job'; - attempts: Scalars['Int']['output']; - createdAt: Scalars['DateTime']['output']; - data?: Maybe; - duration: Scalars['Int']['output']; - error?: Maybe; - id: Scalars['ID']['output']; - isSettled: Scalars['Boolean']['output']; - progress: Scalars['Float']['output']; - queueName: Scalars['String']['output']; - result?: Maybe; - retries: Scalars['Int']['output']; - settledAt?: Maybe; - startedAt?: Maybe; - state: JobState; + __typename?: 'Job'; + attempts: Scalars['Int']['output']; + createdAt: Scalars['DateTime']['output']; + data?: Maybe; + duration: Scalars['Int']['output']; + error?: Maybe; + id: Scalars['ID']['output']; + isSettled: Scalars['Boolean']['output']; + progress: Scalars['Float']['output']; + queueName: Scalars['String']['output']; + result?: Maybe; + retries: Scalars['Int']['output']; + settledAt?: Maybe; + startedAt?: Maybe; + state: JobState; }; export type JobBufferSize = { - __typename?: 'JobBufferSize'; - bufferId: Scalars['String']['output']; - size: Scalars['Int']['output']; + __typename?: 'JobBufferSize'; + bufferId: Scalars['String']['output']; + size: Scalars['Int']['output']; }; export type JobFilterParameter = { - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - isSettled?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; - state?: InputMaybe; + attempts?: InputMaybe; + createdAt?: InputMaybe; + duration?: InputMaybe; + id?: InputMaybe; + isSettled?: InputMaybe; + progress?: InputMaybe; + queueName?: InputMaybe; + retries?: InputMaybe; + settledAt?: InputMaybe; + startedAt?: InputMaybe; + state?: InputMaybe; }; export type JobList = PaginatedList & { - __typename?: 'JobList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'JobList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type JobListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type JobQueue = { - __typename?: 'JobQueue'; - name: Scalars['String']['output']; - running: Scalars['Boolean']['output']; + __typename?: 'JobQueue'; + name: Scalars['String']['output']; + running: Scalars['Boolean']['output']; }; export type JobSortParameter = { - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; + attempts?: InputMaybe; + createdAt?: InputMaybe; + duration?: InputMaybe; + id?: InputMaybe; + progress?: InputMaybe; + queueName?: InputMaybe; + retries?: InputMaybe; + settledAt?: InputMaybe; + startedAt?: InputMaybe; }; /** @@ -2076,12 +2103,12 @@ export type JobSortParameter = { * @docsCategory common */ export enum JobState { - CANCELLED = 'CANCELLED', - COMPLETED = 'COMPLETED', - FAILED = 'FAILED', - PENDING = 'PENDING', - RETRYING = 'RETRYING', - RUNNING = 'RUNNING' + CANCELLED = 'CANCELLED', + COMPLETED = 'COMPLETED', + FAILED = 'FAILED', + PENDING = 'PENDING', + RETRYING = 'RETRYING', + RUNNING = 'RUNNING', } /** @@ -2094,374 +2121,374 @@ export enum JobState { * @docsCategory common */ export enum LanguageCode { - /** Afrikaans */ - af = 'af', - /** Akan */ - ak = 'ak', - /** Amharic */ - am = 'am', - /** Arabic */ - ar = 'ar', - /** Assamese */ - as = 'as', - /** Azerbaijani */ - az = 'az', - /** Belarusian */ - be = 'be', - /** Bulgarian */ - bg = 'bg', - /** Bambara */ - bm = 'bm', - /** Bangla */ - bn = 'bn', - /** Tibetan */ - bo = 'bo', - /** Breton */ - br = 'br', - /** Bosnian */ - bs = 'bs', - /** Catalan */ - ca = 'ca', - /** Chechen */ - ce = 'ce', - /** Corsican */ - co = 'co', - /** Czech */ - cs = 'cs', - /** Church Slavic */ - cu = 'cu', - /** Welsh */ - cy = 'cy', - /** Danish */ - da = 'da', - /** German */ - de = 'de', - /** Austrian German */ - de_AT = 'de_AT', - /** Swiss High German */ - de_CH = 'de_CH', - /** Dzongkha */ - dz = 'dz', - /** Ewe */ - ee = 'ee', - /** Greek */ - el = 'el', - /** English */ - en = 'en', - /** Australian English */ - en_AU = 'en_AU', - /** Canadian English */ - en_CA = 'en_CA', - /** British English */ - en_GB = 'en_GB', - /** American English */ - en_US = 'en_US', - /** Esperanto */ - eo = 'eo', - /** Spanish */ - es = 'es', - /** European Spanish */ - es_ES = 'es_ES', - /** Mexican Spanish */ - es_MX = 'es_MX', - /** Estonian */ - et = 'et', - /** Basque */ - eu = 'eu', - /** Persian */ - fa = 'fa', - /** Dari */ - fa_AF = 'fa_AF', - /** Fulah */ - ff = 'ff', - /** Finnish */ - fi = 'fi', - /** Faroese */ - fo = 'fo', - /** French */ - fr = 'fr', - /** Canadian French */ - fr_CA = 'fr_CA', - /** Swiss French */ - fr_CH = 'fr_CH', - /** Western Frisian */ - fy = 'fy', - /** Irish */ - ga = 'ga', - /** Scottish Gaelic */ - gd = 'gd', - /** Galician */ - gl = 'gl', - /** Gujarati */ - gu = 'gu', - /** Manx */ - gv = 'gv', - /** Hausa */ - ha = 'ha', - /** Hebrew */ - he = 'he', - /** Hindi */ - hi = 'hi', - /** Croatian */ - hr = 'hr', - /** Haitian Creole */ - ht = 'ht', - /** Hungarian */ - hu = 'hu', - /** Armenian */ - hy = 'hy', - /** Interlingua */ - ia = 'ia', - /** Indonesian */ - id = 'id', - /** Igbo */ - ig = 'ig', - /** Sichuan Yi */ - ii = 'ii', - /** Icelandic */ - is = 'is', - /** Italian */ - it = 'it', - /** Japanese */ - ja = 'ja', - /** Javanese */ - jv = 'jv', - /** Georgian */ - ka = 'ka', - /** Kikuyu */ - ki = 'ki', - /** Kazakh */ - kk = 'kk', - /** Kalaallisut */ - kl = 'kl', - /** Khmer */ - km = 'km', - /** Kannada */ - kn = 'kn', - /** Korean */ - ko = 'ko', - /** Kashmiri */ - ks = 'ks', - /** Kurdish */ - ku = 'ku', - /** Cornish */ - kw = 'kw', - /** Kyrgyz */ - ky = 'ky', - /** Latin */ - la = 'la', - /** Luxembourgish */ - lb = 'lb', - /** Ganda */ - lg = 'lg', - /** Lingala */ - ln = 'ln', - /** Lao */ - lo = 'lo', - /** Lithuanian */ - lt = 'lt', - /** Luba-Katanga */ - lu = 'lu', - /** Latvian */ - lv = 'lv', - /** Malagasy */ - mg = 'mg', - /** Maori */ - mi = 'mi', - /** Macedonian */ - mk = 'mk', - /** Malayalam */ - ml = 'ml', - /** Mongolian */ - mn = 'mn', - /** Marathi */ - mr = 'mr', - /** Malay */ - ms = 'ms', - /** Maltese */ - mt = 'mt', - /** Burmese */ - my = 'my', - /** Norwegian Bokmål */ - nb = 'nb', - /** North Ndebele */ - nd = 'nd', - /** Nepali */ - ne = 'ne', - /** Dutch */ - nl = 'nl', - /** Flemish */ - nl_BE = 'nl_BE', - /** Norwegian Nynorsk */ - nn = 'nn', - /** Nyanja */ - ny = 'ny', - /** Oromo */ - om = 'om', - /** Odia */ - or = 'or', - /** Ossetic */ - os = 'os', - /** Punjabi */ - pa = 'pa', - /** Polish */ - pl = 'pl', - /** Pashto */ - ps = 'ps', - /** Portuguese */ - pt = 'pt', - /** Brazilian Portuguese */ - pt_BR = 'pt_BR', - /** European Portuguese */ - pt_PT = 'pt_PT', - /** Quechua */ - qu = 'qu', - /** Romansh */ - rm = 'rm', - /** Rundi */ - rn = 'rn', - /** Romanian */ - ro = 'ro', - /** Moldavian */ - ro_MD = 'ro_MD', - /** Russian */ - ru = 'ru', - /** Kinyarwanda */ - rw = 'rw', - /** Sanskrit */ - sa = 'sa', - /** Sindhi */ - sd = 'sd', - /** Northern Sami */ - se = 'se', - /** Sango */ - sg = 'sg', - /** Sinhala */ - si = 'si', - /** Slovak */ - sk = 'sk', - /** Slovenian */ - sl = 'sl', - /** Samoan */ - sm = 'sm', - /** Shona */ - sn = 'sn', - /** Somali */ - so = 'so', - /** Albanian */ - sq = 'sq', - /** Serbian */ - sr = 'sr', - /** Southern Sotho */ - st = 'st', - /** Sundanese */ - su = 'su', - /** Swedish */ - sv = 'sv', - /** Swahili */ - sw = 'sw', - /** Congo Swahili */ - sw_CD = 'sw_CD', - /** Tamil */ - ta = 'ta', - /** Telugu */ - te = 'te', - /** Tajik */ - tg = 'tg', - /** Thai */ - th = 'th', - /** Tigrinya */ - ti = 'ti', - /** Turkmen */ - tk = 'tk', - /** Tongan */ - to = 'to', - /** Turkish */ - tr = 'tr', - /** Tatar */ - tt = 'tt', - /** Uyghur */ - ug = 'ug', - /** Ukrainian */ - uk = 'uk', - /** Urdu */ - ur = 'ur', - /** Uzbek */ - uz = 'uz', - /** Vietnamese */ - vi = 'vi', - /** Volapük */ - vo = 'vo', - /** Wolof */ - wo = 'wo', - /** Xhosa */ - xh = 'xh', - /** Yiddish */ - yi = 'yi', - /** Yoruba */ - yo = 'yo', - /** Chinese */ - zh = 'zh', - /** Simplified Chinese */ - zh_Hans = 'zh_Hans', - /** Traditional Chinese */ - zh_Hant = 'zh_Hant', - /** Zulu */ - zu = 'zu' + /** Afrikaans */ + af = 'af', + /** Akan */ + ak = 'ak', + /** Amharic */ + am = 'am', + /** Arabic */ + ar = 'ar', + /** Assamese */ + as = 'as', + /** Azerbaijani */ + az = 'az', + /** Belarusian */ + be = 'be', + /** Bulgarian */ + bg = 'bg', + /** Bambara */ + bm = 'bm', + /** Bangla */ + bn = 'bn', + /** Tibetan */ + bo = 'bo', + /** Breton */ + br = 'br', + /** Bosnian */ + bs = 'bs', + /** Catalan */ + ca = 'ca', + /** Chechen */ + ce = 'ce', + /** Corsican */ + co = 'co', + /** Czech */ + cs = 'cs', + /** Church Slavic */ + cu = 'cu', + /** Welsh */ + cy = 'cy', + /** Danish */ + da = 'da', + /** German */ + de = 'de', + /** Austrian German */ + de_AT = 'de_AT', + /** Swiss High German */ + de_CH = 'de_CH', + /** Dzongkha */ + dz = 'dz', + /** Ewe */ + ee = 'ee', + /** Greek */ + el = 'el', + /** English */ + en = 'en', + /** Australian English */ + en_AU = 'en_AU', + /** Canadian English */ + en_CA = 'en_CA', + /** British English */ + en_GB = 'en_GB', + /** American English */ + en_US = 'en_US', + /** Esperanto */ + eo = 'eo', + /** Spanish */ + es = 'es', + /** European Spanish */ + es_ES = 'es_ES', + /** Mexican Spanish */ + es_MX = 'es_MX', + /** Estonian */ + et = 'et', + /** Basque */ + eu = 'eu', + /** Persian */ + fa = 'fa', + /** Dari */ + fa_AF = 'fa_AF', + /** Fulah */ + ff = 'ff', + /** Finnish */ + fi = 'fi', + /** Faroese */ + fo = 'fo', + /** French */ + fr = 'fr', + /** Canadian French */ + fr_CA = 'fr_CA', + /** Swiss French */ + fr_CH = 'fr_CH', + /** Western Frisian */ + fy = 'fy', + /** Irish */ + ga = 'ga', + /** Scottish Gaelic */ + gd = 'gd', + /** Galician */ + gl = 'gl', + /** Gujarati */ + gu = 'gu', + /** Manx */ + gv = 'gv', + /** Hausa */ + ha = 'ha', + /** Hebrew */ + he = 'he', + /** Hindi */ + hi = 'hi', + /** Croatian */ + hr = 'hr', + /** Haitian Creole */ + ht = 'ht', + /** Hungarian */ + hu = 'hu', + /** Armenian */ + hy = 'hy', + /** Interlingua */ + ia = 'ia', + /** Indonesian */ + id = 'id', + /** Igbo */ + ig = 'ig', + /** Sichuan Yi */ + ii = 'ii', + /** Icelandic */ + is = 'is', + /** Italian */ + it = 'it', + /** Japanese */ + ja = 'ja', + /** Javanese */ + jv = 'jv', + /** Georgian */ + ka = 'ka', + /** Kikuyu */ + ki = 'ki', + /** Kazakh */ + kk = 'kk', + /** Kalaallisut */ + kl = 'kl', + /** Khmer */ + km = 'km', + /** Kannada */ + kn = 'kn', + /** Korean */ + ko = 'ko', + /** Kashmiri */ + ks = 'ks', + /** Kurdish */ + ku = 'ku', + /** Cornish */ + kw = 'kw', + /** Kyrgyz */ + ky = 'ky', + /** Latin */ + la = 'la', + /** Luxembourgish */ + lb = 'lb', + /** Ganda */ + lg = 'lg', + /** Lingala */ + ln = 'ln', + /** Lao */ + lo = 'lo', + /** Lithuanian */ + lt = 'lt', + /** Luba-Katanga */ + lu = 'lu', + /** Latvian */ + lv = 'lv', + /** Malagasy */ + mg = 'mg', + /** Maori */ + mi = 'mi', + /** Macedonian */ + mk = 'mk', + /** Malayalam */ + ml = 'ml', + /** Mongolian */ + mn = 'mn', + /** Marathi */ + mr = 'mr', + /** Malay */ + ms = 'ms', + /** Maltese */ + mt = 'mt', + /** Burmese */ + my = 'my', + /** Norwegian Bokmål */ + nb = 'nb', + /** North Ndebele */ + nd = 'nd', + /** Nepali */ + ne = 'ne', + /** Dutch */ + nl = 'nl', + /** Flemish */ + nl_BE = 'nl_BE', + /** Norwegian Nynorsk */ + nn = 'nn', + /** Nyanja */ + ny = 'ny', + /** Oromo */ + om = 'om', + /** Odia */ + or = 'or', + /** Ossetic */ + os = 'os', + /** Punjabi */ + pa = 'pa', + /** Polish */ + pl = 'pl', + /** Pashto */ + ps = 'ps', + /** Portuguese */ + pt = 'pt', + /** Brazilian Portuguese */ + pt_BR = 'pt_BR', + /** European Portuguese */ + pt_PT = 'pt_PT', + /** Quechua */ + qu = 'qu', + /** Romansh */ + rm = 'rm', + /** Rundi */ + rn = 'rn', + /** Romanian */ + ro = 'ro', + /** Moldavian */ + ro_MD = 'ro_MD', + /** Russian */ + ru = 'ru', + /** Kinyarwanda */ + rw = 'rw', + /** Sanskrit */ + sa = 'sa', + /** Sindhi */ + sd = 'sd', + /** Northern Sami */ + se = 'se', + /** Sango */ + sg = 'sg', + /** Sinhala */ + si = 'si', + /** Slovak */ + sk = 'sk', + /** Slovenian */ + sl = 'sl', + /** Samoan */ + sm = 'sm', + /** Shona */ + sn = 'sn', + /** Somali */ + so = 'so', + /** Albanian */ + sq = 'sq', + /** Serbian */ + sr = 'sr', + /** Southern Sotho */ + st = 'st', + /** Sundanese */ + su = 'su', + /** Swedish */ + sv = 'sv', + /** Swahili */ + sw = 'sw', + /** Congo Swahili */ + sw_CD = 'sw_CD', + /** Tamil */ + ta = 'ta', + /** Telugu */ + te = 'te', + /** Tajik */ + tg = 'tg', + /** Thai */ + th = 'th', + /** Tigrinya */ + ti = 'ti', + /** Turkmen */ + tk = 'tk', + /** Tongan */ + to = 'to', + /** Turkish */ + tr = 'tr', + /** Tatar */ + tt = 'tt', + /** Uyghur */ + ug = 'ug', + /** Ukrainian */ + uk = 'uk', + /** Urdu */ + ur = 'ur', + /** Uzbek */ + uz = 'uz', + /** Vietnamese */ + vi = 'vi', + /** Volapük */ + vo = 'vo', + /** Wolof */ + wo = 'wo', + /** Xhosa */ + xh = 'xh', + /** Yiddish */ + yi = 'yi', + /** Yoruba */ + yo = 'yo', + /** Chinese */ + zh = 'zh', + /** Simplified Chinese */ + zh_Hans = 'zh_Hans', + /** Traditional Chinese */ + zh_Hant = 'zh_Hant', + /** Zulu */ + zu = 'zu', } /** Returned if attempting to set a Channel's defaultLanguageCode to a language which is not enabled in GlobalSettings */ export type LanguageNotAvailableError = ErrorResult & { - __typename?: 'LanguageNotAvailableError'; - errorCode: ErrorCode; - languageCode: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'LanguageNotAvailableError'; + errorCode: ErrorCode; + languageCode: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleStringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - __typename?: 'LocaleTextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleTextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - __typename?: 'LocalizedString'; - languageCode: LanguageCode; - value: Scalars['String']['output']; + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: Scalars['String']['output']; }; export enum LogicalOperator { - AND = 'AND', - OR = 'OR' + AND = 'AND', + OR = 'OR', } export type ManualPaymentInput = { - metadata?: InputMaybe; - method: Scalars['String']['input']; - orderId: Scalars['ID']['input']; - transactionId?: InputMaybe; + metadata?: InputMaybe; + method: Scalars['String']['input']; + orderId: Scalars['ID']['input']; + transactionId?: InputMaybe; }; /** @@ -2469,1248 +2496,1100 @@ export type ManualPaymentInput = { * is not in the required state. */ export type ManualPaymentStateError = ErrorResult & { - __typename?: 'ManualPaymentStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'ManualPaymentStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum MetricInterval { - Daily = 'Daily' + Daily = 'Daily', } export type MetricSummary = { - __typename?: 'MetricSummary'; - entries: Array; - interval: MetricInterval; - title: Scalars['String']['output']; - type: MetricType; + __typename?: 'MetricSummary'; + entries: Array; + interval: MetricInterval; + title: Scalars['String']['output']; + type: MetricType; }; export type MetricSummaryEntry = { - __typename?: 'MetricSummaryEntry'; - label: Scalars['String']['output']; - value: Scalars['Float']['output']; + __typename?: 'MetricSummaryEntry'; + label: Scalars['String']['output']; + value: Scalars['Float']['output']; }; export type MetricSummaryInput = { - interval: MetricInterval; - refresh?: InputMaybe; - types: Array; + interval: MetricInterval; + refresh?: InputMaybe; + types: Array; }; export enum MetricType { - AverageOrderValue = 'AverageOrderValue', - OrderCount = 'OrderCount', - OrderTotal = 'OrderTotal' + AverageOrderValue = 'AverageOrderValue', + OrderCount = 'OrderCount', + OrderTotal = 'OrderTotal', } export type MimeTypeError = ErrorResult & { - __typename?: 'MimeTypeError'; - errorCode: ErrorCode; - fileName: Scalars['String']['output']; - message: Scalars['String']['output']; - mimeType: Scalars['String']['output']; + __typename?: 'MimeTypeError'; + errorCode: ErrorCode; + fileName: Scalars['String']['output']; + message: Scalars['String']['output']; + mimeType: Scalars['String']['output']; }; /** Returned if a PromotionCondition has neither a couponCode nor any conditions set */ export type MissingConditionsError = ErrorResult & { - __typename?: 'MissingConditionsError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MissingConditionsError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type ModifyOrderInput = { - addItems?: InputMaybe>; - adjustOrderLines?: InputMaybe>; - couponCodes?: InputMaybe>; - dryRun: Scalars['Boolean']['input']; - note?: InputMaybe; - options?: InputMaybe; - orderId: Scalars['ID']['input']; - refund?: InputMaybe; - surcharges?: InputMaybe>; - updateBillingAddress?: InputMaybe; - updateShippingAddress?: InputMaybe; + addItems?: InputMaybe>; + adjustOrderLines?: InputMaybe>; + couponCodes?: InputMaybe>; + dryRun: Scalars['Boolean']['input']; + note?: InputMaybe; + options?: InputMaybe; + orderId: Scalars['ID']['input']; + refund?: InputMaybe; + surcharges?: InputMaybe>; + updateBillingAddress?: InputMaybe; + updateShippingAddress?: InputMaybe; }; export type ModifyOrderOptions = { - freezePromotions?: InputMaybe; - recalculateShipping?: InputMaybe; -}; - -export type ModifyOrderResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | InsufficientStockError | NegativeQuantityError | NoChangesSpecifiedError | Order | OrderLimitError | OrderModificationStateError | PaymentMethodMissingError | RefundPaymentIdMissingError; + freezePromotions?: InputMaybe; + recalculateShipping?: InputMaybe; +}; + +export type ModifyOrderResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | InsufficientStockError + | NegativeQuantityError + | NoChangesSpecifiedError + | Order + | OrderLimitError + | OrderModificationStateError + | PaymentMethodMissingError + | RefundPaymentIdMissingError; export type MoveCollectionInput = { - collectionId: Scalars['ID']['input']; - index: Scalars['Int']['input']; - parentId: Scalars['ID']['input']; + collectionId: Scalars['ID']['input']; + index: Scalars['Int']['input']; + parentId: Scalars['ID']['input']; }; /** Returned if an operation has specified OrderLines from multiple Orders */ export type MultipleOrderError = ErrorResult & { - __typename?: 'MultipleOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MultipleOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Mutation = { - __typename?: 'Mutation'; - /** Add Customers to a CustomerGroup */ - addCustomersToGroup: CustomerGroup; - addFulfillmentToOrder: AddFulfillmentToOrderResult; - /** Adds an item to the draft Order. */ - addItemToDraftOrder: UpdateOrderItemsResult; - /** - * Used to manually create a new Payment against an Order. - * This can be used by an Administrator when an Order is in the ArrangingPayment state. - * - * It is also used when a completed Order - * has been modified (using `modifyOrder`) and the price has increased. The extra payment - * can then be manually arranged by the administrator, and the details used to create a new - * Payment. - */ - addManualPaymentToOrder: AddManualPaymentToOrderResult; - /** Add members to a Zone */ - addMembersToZone: Zone; - addNoteToCustomer: Customer; - addNoteToOrder: Order; - /** Add an OptionGroup to a Product */ - addOptionGroupToProduct: Product; - /** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ - adjustDraftOrderLine: UpdateOrderItemsResult; - /** Applies the given coupon code to the draft Order */ - applyCouponCodeToDraftOrder: ApplyCouponCodeResult; - approveProductReview?: Maybe; - /** Assign assets to channel */ - assignAssetsToChannel: Array; - /** Assigns Collections to the specified Channel */ - assignCollectionsToChannel: Array; - /** Assigns Facets to the specified Channel */ - assignFacetsToChannel: Array; - /** Assigns PaymentMethods to the specified Channel */ - assignPaymentMethodsToChannel: Array; - /** Assigns ProductVariants to the specified Channel */ - assignProductVariantsToChannel: Array; - /** Assigns all ProductVariants of Product to the specified Channel */ - assignProductsToChannel: Array; - /** Assigns Promotions to the specified Channel */ - assignPromotionsToChannel: Array; - /** Assign a Role to an Administrator */ - assignRoleToAdministrator: Administrator; - /** Assigns ShippingMethods to the specified Channel */ - assignShippingMethodsToChannel: Array; - /** Assigns StockLocations to the specified Channel */ - assignStockLocationsToChannel: Array; - /** Authenticates the user using a named authentication strategy */ - authenticate: AuthenticationResult; - cancelJob: Job; - cancelOrder: CancelOrderResult; - cancelPayment: CancelPaymentResult; - /** Create a new Administrator */ - createAdministrator: Administrator; - /** Create a new Asset */ - createAssets: Array; - /** Create a new Channel */ - createChannel: CreateChannelResult; - /** Create a new Collection */ - createCollection: Collection; - /** Create a new Country */ - createCountry: Country; - /** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */ - createCustomer: CreateCustomerResult; - /** Create a new Address and associate it with the Customer specified by customerId */ - createCustomerAddress: Address; - /** Create a new CustomerGroup */ - createCustomerGroup: CustomerGroup; - /** Creates a draft Order */ - createDraftOrder: Order; - /** Create a new Facet */ - createFacet: Facet; - /** Create one or more FacetValues */ - createFacetValues: Array; - /** Create existing PaymentMethod */ - createPaymentMethod: PaymentMethod; - /** Create a new Product */ - createProduct: Product; - /** Create a new ProductOption within a ProductOptionGroup */ - createProductOption: ProductOption; - /** Create a new ProductOptionGroup */ - createProductOptionGroup: ProductOptionGroup; - /** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */ - createProductVariants: Array>; - createPromotion: CreatePromotionResult; - /** Create a new Province */ - createProvince: Province; - /** Create a new Role */ - createRole: Role; - /** Create a new Seller */ - createSeller: Seller; - /** Create a new ShippingMethod */ - createShippingMethod: ShippingMethod; - createStockLocation: StockLocation; - /** Create a new Tag */ - createTag: Tag; - /** Create a new TaxCategory */ - createTaxCategory: TaxCategory; - /** Create a new TaxRate */ - createTaxRate: TaxRate; - /** Create a new Zone */ - createZone: Zone; - /** Delete an Administrator */ - deleteAdministrator: DeletionResponse; - /** Delete multiple Administrators */ - deleteAdministrators: Array; - /** Delete an Asset */ - deleteAsset: DeletionResponse; - /** Delete multiple Assets */ - deleteAssets: DeletionResponse; - /** Delete a Channel */ - deleteChannel: DeletionResponse; - /** Delete multiple Channels */ - deleteChannels: Array; - /** Delete a Collection and all of its descendants */ - deleteCollection: DeletionResponse; - /** Delete multiple Collections and all of their descendants */ - deleteCollections: Array; - /** Delete multiple Countries */ - deleteCountries: Array; - /** Delete a Country */ - deleteCountry: DeletionResponse; - /** Delete a Customer */ - deleteCustomer: DeletionResponse; - /** Update an existing Address */ - deleteCustomerAddress: Success; - /** Delete a CustomerGroup */ - deleteCustomerGroup: DeletionResponse; - /** Delete multiple CustomerGroups */ - deleteCustomerGroups: Array; - deleteCustomerNote: DeletionResponse; - /** Deletes Customers */ - deleteCustomers: Array; - /** Deletes a draft Order */ - deleteDraftOrder: DeletionResponse; - /** Delete an existing Facet */ - deleteFacet: DeletionResponse; - /** Delete one or more FacetValues */ - deleteFacetValues: Array; - /** Delete multiple existing Facets */ - deleteFacets: Array; - deleteOrderNote: DeletionResponse; - /** Delete a PaymentMethod */ - deletePaymentMethod: DeletionResponse; - /** Delete multiple PaymentMethods */ - deletePaymentMethods: Array; - /** Delete a Product */ - deleteProduct: DeletionResponse; - /** Delete a ProductOption */ - deleteProductOption: DeletionResponse; - /** Delete a ProductVariant */ - deleteProductVariant: DeletionResponse; - /** Delete multiple ProductVariants */ - deleteProductVariants: Array; - /** Delete multiple Products */ - deleteProducts: Array; - deletePromotion: DeletionResponse; - deletePromotions: Array; - /** Delete a Province */ - deleteProvince: DeletionResponse; - /** Delete an existing Role */ - deleteRole: DeletionResponse; - /** Delete multiple Roles */ - deleteRoles: Array; - /** Delete a Seller */ - deleteSeller: DeletionResponse; - /** Delete multiple Sellers */ - deleteSellers: Array; - /** Delete a ShippingMethod */ - deleteShippingMethod: DeletionResponse; - /** Delete multiple ShippingMethods */ - deleteShippingMethods: Array; - deleteStockLocation: DeletionResponse; - deleteStockLocations: Array; - /** Delete an existing Tag */ - deleteTag: DeletionResponse; - /** Deletes multiple TaxCategories */ - deleteTaxCategories: Array; - /** Deletes a TaxCategory */ - deleteTaxCategory: DeletionResponse; - /** Delete a TaxRate */ - deleteTaxRate: DeletionResponse; - /** Delete multiple TaxRates */ - deleteTaxRates: Array; - /** Delete a Zone */ - deleteZone: DeletionResponse; - /** Delete a Zone */ - deleteZones: Array; - flushBufferedJobs: Success; - importProducts?: Maybe; - /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ - login: NativeAuthenticationResult; - logout: Success; - /** - * Allows an Order to be modified after it has been completed by the Customer. The Order must first - * be in the `Modifying` state. - */ - modifyOrder: ModifyOrderResult; - /** Move a Collection to a different parent or index */ - moveCollection: Collection; - refundOrder: RefundOrderResult; - reindex: Job; - rejectProductReview?: Maybe; - /** Removes Collections from the specified Channel */ - removeCollectionsFromChannel: Array; - /** Removes the given coupon code from the draft Order */ - removeCouponCodeFromDraftOrder?: Maybe; - /** Remove Customers from a CustomerGroup */ - removeCustomersFromGroup: CustomerGroup; - /** Remove an OrderLine from the draft Order */ - removeDraftOrderLine: RemoveOrderItemsResult; - /** Removes Facets from the specified Channel */ - removeFacetsFromChannel: Array; - /** Remove members from a Zone */ - removeMembersFromZone: Zone; - /** - * Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants - * the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed. - * Setting the `force` argument to `true` will override this and remove the OptionGroup anyway, - * as well as removing any of the group's options from the Product's ProductVariants. - */ - removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; - /** Removes PaymentMethods from the specified Channel */ - removePaymentMethodsFromChannel: Array; - /** Removes ProductVariants from the specified Channel */ - removeProductVariantsFromChannel: Array; - /** Removes all ProductVariants of Product from the specified Channel */ - removeProductsFromChannel: Array; - /** Removes Promotions from the specified Channel */ - removePromotionsFromChannel: Array; - /** Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted. */ - removeSettledJobs: Scalars['Int']['output']; - /** Removes ShippingMethods from the specified Channel */ - removeShippingMethodsFromChannel: Array; - /** Removes StockLocations from the specified Channel */ - removeStockLocationsFromChannel: Array; - runPendingSearchIndexUpdates: Success; - setCustomerForDraftOrder: SetCustomerForDraftOrderResult; - /** Sets the billing address for a draft Order */ - setDraftOrderBillingAddress: Order; - /** Allows any custom fields to be set for the active order */ - setDraftOrderCustomFields: Order; - /** Sets the shipping address for a draft Order */ - setDraftOrderShippingAddress: Order; - /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */ - setDraftOrderShippingMethod: SetOrderShippingMethodResult; - setOrderCustomFields?: Maybe; - settlePayment: SettlePaymentResult; - settleRefund: SettleRefundResult; - transitionFulfillmentToState: TransitionFulfillmentToStateResult; - transitionOrderToState?: Maybe; - transitionPaymentToState: TransitionPaymentToStateResult; - /** Update the active (currently logged-in) Administrator */ - updateActiveAdministrator: Administrator; - /** Update an existing Administrator */ - updateAdministrator: Administrator; - /** Update an existing Asset */ - updateAsset: Asset; - /** Update an existing Channel */ - updateChannel: UpdateChannelResult; - /** Update an existing Collection */ - updateCollection: Collection; - /** Update an existing Country */ - updateCountry: Country; - /** Update an existing Customer */ - updateCustomer: UpdateCustomerResult; - /** Update an existing Address */ - updateCustomerAddress: Address; - /** Update an existing CustomerGroup */ - updateCustomerGroup: CustomerGroup; - updateCustomerNote: HistoryEntry; - /** Update an existing Facet */ - updateFacet: Facet; - /** Update one or more FacetValues */ - updateFacetValues: Array; - updateGlobalSettings: UpdateGlobalSettingsResult; - updateOrderNote: HistoryEntry; - /** Update an existing PaymentMethod */ - updatePaymentMethod: PaymentMethod; - /** Update an existing Product */ - updateProduct: Product; - /** Create a new ProductOption within a ProductOptionGroup */ - updateProductOption: ProductOption; - /** Update an existing ProductOptionGroup */ - updateProductOptionGroup: ProductOptionGroup; - updateProductReview: ProductReview; - /** Update existing ProductVariants */ - updateProductVariants: Array>; - /** Update multiple existing Products */ - updateProducts: Array; - updatePromotion: UpdatePromotionResult; - /** Update an existing Province */ - updateProvince: Province; - /** Update an existing Role */ - updateRole: Role; - /** Update an existing Seller */ - updateSeller: Seller; - /** Update an existing ShippingMethod */ - updateShippingMethod: ShippingMethod; - updateStockLocation: StockLocation; - /** Update an existing Tag */ - updateTag: Tag; - /** Update an existing TaxCategory */ - updateTaxCategory: TaxCategory; - /** Update an existing TaxRate */ - updateTaxRate: TaxRate; - /** Update an existing Zone */ - updateZone: Zone; + __typename?: 'Mutation'; + /** Add Customers to a CustomerGroup */ + addCustomersToGroup: CustomerGroup; + addFulfillmentToOrder: AddFulfillmentToOrderResult; + /** Adds an item to the draft Order. */ + addItemToDraftOrder: UpdateOrderItemsResult; + /** + * Used to manually create a new Payment against an Order. + * This can be used by an Administrator when an Order is in the ArrangingPayment state. + * + * It is also used when a completed Order + * has been modified (using `modifyOrder`) and the price has increased. The extra payment + * can then be manually arranged by the administrator, and the details used to create a new + * Payment. + */ + addManualPaymentToOrder: AddManualPaymentToOrderResult; + /** Add members to a Zone */ + addMembersToZone: Zone; + addNoteToCustomer: Customer; + addNoteToOrder: Order; + /** Add an OptionGroup to a Product */ + addOptionGroupToProduct: Product; + /** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ + adjustDraftOrderLine: UpdateOrderItemsResult; + /** Applies the given coupon code to the draft Order */ + applyCouponCodeToDraftOrder: ApplyCouponCodeResult; + approveProductReview?: Maybe; + /** Assign assets to channel */ + assignAssetsToChannel: Array; + /** Assigns Collections to the specified Channel */ + assignCollectionsToChannel: Array; + /** Assigns Facets to the specified Channel */ + assignFacetsToChannel: Array; + /** Assigns PaymentMethods to the specified Channel */ + assignPaymentMethodsToChannel: Array; + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Assigns all ProductVariants of Product to the specified Channel */ + assignProductsToChannel: Array; + /** Assigns Promotions to the specified Channel */ + assignPromotionsToChannel: Array; + /** Assign a Role to an Administrator */ + assignRoleToAdministrator: Administrator; + /** Assigns ShippingMethods to the specified Channel */ + assignShippingMethodsToChannel: Array; + /** Assigns StockLocations to the specified Channel */ + assignStockLocationsToChannel: Array; + /** Authenticates the user using a named authentication strategy */ + authenticate: AuthenticationResult; + cancelJob: Job; + cancelOrder: CancelOrderResult; + cancelPayment: CancelPaymentResult; + /** Create a new Administrator */ + createAdministrator: Administrator; + /** Create a new Asset */ + createAssets: Array; + /** Create a new Channel */ + createChannel: CreateChannelResult; + /** Create a new Collection */ + createCollection: Collection; + /** Create a new Country */ + createCountry: Country; + /** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */ + createCustomer: CreateCustomerResult; + /** Create a new Address and associate it with the Customer specified by customerId */ + createCustomerAddress: Address; + /** Create a new CustomerGroup */ + createCustomerGroup: CustomerGroup; + /** Creates a draft Order */ + createDraftOrder: Order; + /** Create a new Facet */ + createFacet: Facet; + /** Create one or more FacetValues */ + createFacetValues: Array; + /** Create existing PaymentMethod */ + createPaymentMethod: PaymentMethod; + /** Create a new Product */ + createProduct: Product; + /** Create a new ProductOption within a ProductOptionGroup */ + createProductOption: ProductOption; + /** Create a new ProductOptionGroup */ + createProductOptionGroup: ProductOptionGroup; + /** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */ + createProductVariants: Array>; + createPromotion: CreatePromotionResult; + /** Create a new Province */ + createProvince: Province; + /** Create a new Role */ + createRole: Role; + /** Create a new Seller */ + createSeller: Seller; + /** Create a new ShippingMethod */ + createShippingMethod: ShippingMethod; + createStockLocation: StockLocation; + /** Create a new Tag */ + createTag: Tag; + /** Create a new TaxCategory */ + createTaxCategory: TaxCategory; + /** Create a new TaxRate */ + createTaxRate: TaxRate; + /** Create a new Zone */ + createZone: Zone; + /** Delete an Administrator */ + deleteAdministrator: DeletionResponse; + /** Delete multiple Administrators */ + deleteAdministrators: Array; + /** Delete an Asset */ + deleteAsset: DeletionResponse; + /** Delete multiple Assets */ + deleteAssets: DeletionResponse; + /** Delete a Channel */ + deleteChannel: DeletionResponse; + /** Delete multiple Channels */ + deleteChannels: Array; + /** Delete a Collection and all of its descendants */ + deleteCollection: DeletionResponse; + /** Delete multiple Collections and all of their descendants */ + deleteCollections: Array; + /** Delete multiple Countries */ + deleteCountries: Array; + /** Delete a Country */ + deleteCountry: DeletionResponse; + /** Delete a Customer */ + deleteCustomer: DeletionResponse; + /** Update an existing Address */ + deleteCustomerAddress: Success; + /** Delete a CustomerGroup */ + deleteCustomerGroup: DeletionResponse; + /** Delete multiple CustomerGroups */ + deleteCustomerGroups: Array; + deleteCustomerNote: DeletionResponse; + /** Deletes Customers */ + deleteCustomers: Array; + /** Deletes a draft Order */ + deleteDraftOrder: DeletionResponse; + /** Delete an existing Facet */ + deleteFacet: DeletionResponse; + /** Delete one or more FacetValues */ + deleteFacetValues: Array; + /** Delete multiple existing Facets */ + deleteFacets: Array; + deleteOrderNote: DeletionResponse; + /** Delete a PaymentMethod */ + deletePaymentMethod: DeletionResponse; + /** Delete multiple PaymentMethods */ + deletePaymentMethods: Array; + /** Delete a Product */ + deleteProduct: DeletionResponse; + /** Delete a ProductOption */ + deleteProductOption: DeletionResponse; + /** Delete a ProductVariant */ + deleteProductVariant: DeletionResponse; + /** Delete multiple ProductVariants */ + deleteProductVariants: Array; + /** Delete multiple Products */ + deleteProducts: Array; + deletePromotion: DeletionResponse; + deletePromotions: Array; + /** Delete a Province */ + deleteProvince: DeletionResponse; + /** Delete an existing Role */ + deleteRole: DeletionResponse; + /** Delete multiple Roles */ + deleteRoles: Array; + /** Delete a Seller */ + deleteSeller: DeletionResponse; + /** Delete multiple Sellers */ + deleteSellers: Array; + /** Delete a ShippingMethod */ + deleteShippingMethod: DeletionResponse; + /** Delete multiple ShippingMethods */ + deleteShippingMethods: Array; + deleteStockLocation: DeletionResponse; + deleteStockLocations: Array; + /** Delete an existing Tag */ + deleteTag: DeletionResponse; + /** Deletes multiple TaxCategories */ + deleteTaxCategories: Array; + /** Deletes a TaxCategory */ + deleteTaxCategory: DeletionResponse; + /** Delete a TaxRate */ + deleteTaxRate: DeletionResponse; + /** Delete multiple TaxRates */ + deleteTaxRates: Array; + /** Delete a Zone */ + deleteZone: DeletionResponse; + /** Delete a Zone */ + deleteZones: Array; + flushBufferedJobs: Success; + importProducts?: Maybe; + /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ + login: NativeAuthenticationResult; + logout: Success; + /** + * Allows an Order to be modified after it has been completed by the Customer. The Order must first + * be in the `Modifying` state. + */ + modifyOrder: ModifyOrderResult; + /** Move a Collection to a different parent or index */ + moveCollection: Collection; + refundOrder: RefundOrderResult; + reindex: Job; + rejectProductReview?: Maybe; + /** Removes Collections from the specified Channel */ + removeCollectionsFromChannel: Array; + /** Removes the given coupon code from the draft Order */ + removeCouponCodeFromDraftOrder?: Maybe; + /** Remove Customers from a CustomerGroup */ + removeCustomersFromGroup: CustomerGroup; + /** Remove an OrderLine from the draft Order */ + removeDraftOrderLine: RemoveOrderItemsResult; + /** Removes Facets from the specified Channel */ + removeFacetsFromChannel: Array; + /** Remove members from a Zone */ + removeMembersFromZone: Zone; + /** + * Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants + * the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed. + * Setting the `force` argument to `true` will override this and remove the OptionGroup anyway, + * as well as removing any of the group's options from the Product's ProductVariants. + */ + removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; + /** Removes PaymentMethods from the specified Channel */ + removePaymentMethodsFromChannel: Array; + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; + /** Removes all ProductVariants of Product from the specified Channel */ + removeProductsFromChannel: Array; + /** Removes Promotions from the specified Channel */ + removePromotionsFromChannel: Array; + /** Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted. */ + removeSettledJobs: Scalars['Int']['output']; + /** Removes ShippingMethods from the specified Channel */ + removeShippingMethodsFromChannel: Array; + /** Removes StockLocations from the specified Channel */ + removeStockLocationsFromChannel: Array; + runPendingSearchIndexUpdates: Success; + setCustomerForDraftOrder: SetCustomerForDraftOrderResult; + /** Sets the billing address for a draft Order */ + setDraftOrderBillingAddress: Order; + /** Allows any custom fields to be set for the active order */ + setDraftOrderCustomFields: Order; + /** Sets the shipping address for a draft Order */ + setDraftOrderShippingAddress: Order; + /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */ + setDraftOrderShippingMethod: SetOrderShippingMethodResult; + setOrderCustomFields?: Maybe; + settlePayment: SettlePaymentResult; + settleRefund: SettleRefundResult; + transitionFulfillmentToState: TransitionFulfillmentToStateResult; + transitionOrderToState?: Maybe; + transitionPaymentToState: TransitionPaymentToStateResult; + /** Update the active (currently logged-in) Administrator */ + updateActiveAdministrator: Administrator; + /** Update an existing Administrator */ + updateAdministrator: Administrator; + /** Update an existing Asset */ + updateAsset: Asset; + /** Update an existing Channel */ + updateChannel: UpdateChannelResult; + /** Update an existing Collection */ + updateCollection: Collection; + /** Update an existing Country */ + updateCountry: Country; + /** Update an existing Customer */ + updateCustomer: UpdateCustomerResult; + /** Update an existing Address */ + updateCustomerAddress: Address; + /** Update an existing CustomerGroup */ + updateCustomerGroup: CustomerGroup; + updateCustomerNote: HistoryEntry; + /** Update an existing Facet */ + updateFacet: Facet; + /** Update one or more FacetValues */ + updateFacetValues: Array; + updateGlobalSettings: UpdateGlobalSettingsResult; + updateOrderNote: HistoryEntry; + /** Update an existing PaymentMethod */ + updatePaymentMethod: PaymentMethod; + /** Update an existing Product */ + updateProduct: Product; + /** Create a new ProductOption within a ProductOptionGroup */ + updateProductOption: ProductOption; + /** Update an existing ProductOptionGroup */ + updateProductOptionGroup: ProductOptionGroup; + updateProductReview: ProductReview; + /** Update existing ProductVariants */ + updateProductVariants: Array>; + /** Update multiple existing Products */ + updateProducts: Array; + updatePromotion: UpdatePromotionResult; + /** Update an existing Province */ + updateProvince: Province; + /** Update an existing Role */ + updateRole: Role; + /** Update an existing Seller */ + updateSeller: Seller; + /** Update an existing ShippingMethod */ + updateShippingMethod: ShippingMethod; + updateStockLocation: StockLocation; + /** Update an existing Tag */ + updateTag: Tag; + /** Update an existing TaxCategory */ + updateTaxCategory: TaxCategory; + /** Update an existing TaxRate */ + updateTaxRate: TaxRate; + /** Update an existing Zone */ + updateZone: Zone; }; - export type MutationAddCustomersToGroupArgs = { - customerGroupId: Scalars['ID']['input']; - customerIds: Array; + customerGroupId: Scalars['ID']['input']; + customerIds: Array; }; - export type MutationAddFulfillmentToOrderArgs = { - input: FulfillOrderInput; + input: FulfillOrderInput; }; - export type MutationAddItemToDraftOrderArgs = { - input: AddItemToDraftOrderInput; - orderId: Scalars['ID']['input']; + input: AddItemToDraftOrderInput; + orderId: Scalars['ID']['input']; }; - export type MutationAddManualPaymentToOrderArgs = { - input: ManualPaymentInput; + input: ManualPaymentInput; }; - export type MutationAddMembersToZoneArgs = { - memberIds: Array; - zoneId: Scalars['ID']['input']; + memberIds: Array; + zoneId: Scalars['ID']['input']; }; - export type MutationAddNoteToCustomerArgs = { - input: AddNoteToCustomerInput; + input: AddNoteToCustomerInput; }; - export type MutationAddNoteToOrderArgs = { - input: AddNoteToOrderInput; + input: AddNoteToOrderInput; }; - export type MutationAddOptionGroupToProductArgs = { - optionGroupId: Scalars['ID']['input']; - productId: Scalars['ID']['input']; + optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; }; - export type MutationAdjustDraftOrderLineArgs = { - input: AdjustDraftOrderLineInput; - orderId: Scalars['ID']['input']; + input: AdjustDraftOrderLineInput; + orderId: Scalars['ID']['input']; }; - export type MutationApplyCouponCodeToDraftOrderArgs = { - couponCode: Scalars['String']['input']; - orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationApproveProductReviewArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationAssignAssetsToChannelArgs = { - input: AssignAssetsToChannelInput; + input: AssignAssetsToChannelInput; }; - export type MutationAssignCollectionsToChannelArgs = { - input: AssignCollectionsToChannelInput; + input: AssignCollectionsToChannelInput; }; - export type MutationAssignFacetsToChannelArgs = { - input: AssignFacetsToChannelInput; + input: AssignFacetsToChannelInput; }; - export type MutationAssignPaymentMethodsToChannelArgs = { - input: AssignPaymentMethodsToChannelInput; + input: AssignPaymentMethodsToChannelInput; }; - export type MutationAssignProductVariantsToChannelArgs = { - input: AssignProductVariantsToChannelInput; + input: AssignProductVariantsToChannelInput; }; - export type MutationAssignProductsToChannelArgs = { - input: AssignProductsToChannelInput; + input: AssignProductsToChannelInput; }; - export type MutationAssignPromotionsToChannelArgs = { - input: AssignPromotionsToChannelInput; + input: AssignPromotionsToChannelInput; }; - export type MutationAssignRoleToAdministratorArgs = { - administratorId: Scalars['ID']['input']; - roleId: Scalars['ID']['input']; + administratorId: Scalars['ID']['input']; + roleId: Scalars['ID']['input']; }; - export type MutationAssignShippingMethodsToChannelArgs = { - input: AssignShippingMethodsToChannelInput; + input: AssignShippingMethodsToChannelInput; }; - export type MutationAssignStockLocationsToChannelArgs = { - input: AssignStockLocationsToChannelInput; + input: AssignStockLocationsToChannelInput; }; - export type MutationAuthenticateArgs = { - input: AuthenticationInput; - rememberMe?: InputMaybe; + input: AuthenticationInput; + rememberMe?: InputMaybe; }; - export type MutationCancelJobArgs = { - jobId: Scalars['ID']['input']; + jobId: Scalars['ID']['input']; }; - export type MutationCancelOrderArgs = { - input: CancelOrderInput; + input: CancelOrderInput; }; - export type MutationCancelPaymentArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationCreateAdministratorArgs = { - input: CreateAdministratorInput; + input: CreateAdministratorInput; }; - export type MutationCreateAssetsArgs = { - input: Array; + input: Array; }; - export type MutationCreateChannelArgs = { - input: CreateChannelInput; + input: CreateChannelInput; }; - export type MutationCreateCollectionArgs = { - input: CreateCollectionInput; + input: CreateCollectionInput; }; - export type MutationCreateCountryArgs = { - input: CreateCountryInput; + input: CreateCountryInput; }; - export type MutationCreateCustomerArgs = { - input: CreateCustomerInput; - password?: InputMaybe; + input: CreateCustomerInput; + password?: InputMaybe; }; - export type MutationCreateCustomerAddressArgs = { - customerId: Scalars['ID']['input']; - input: CreateAddressInput; + customerId: Scalars['ID']['input']; + input: CreateAddressInput; }; - export type MutationCreateCustomerGroupArgs = { - input: CreateCustomerGroupInput; + input: CreateCustomerGroupInput; }; - export type MutationCreateFacetArgs = { - input: CreateFacetInput; + input: CreateFacetInput; }; - export type MutationCreateFacetValuesArgs = { - input: Array; + input: Array; }; - export type MutationCreatePaymentMethodArgs = { - input: CreatePaymentMethodInput; + input: CreatePaymentMethodInput; }; - export type MutationCreateProductArgs = { - input: CreateProductInput; + input: CreateProductInput; }; - export type MutationCreateProductOptionArgs = { - input: CreateProductOptionInput; + input: CreateProductOptionInput; }; - export type MutationCreateProductOptionGroupArgs = { - input: CreateProductOptionGroupInput; + input: CreateProductOptionGroupInput; }; - export type MutationCreateProductVariantsArgs = { - input: Array; + input: Array; }; - export type MutationCreatePromotionArgs = { - input: CreatePromotionInput; + input: CreatePromotionInput; }; - export type MutationCreateProvinceArgs = { - input: CreateProvinceInput; + input: CreateProvinceInput; }; - export type MutationCreateRoleArgs = { - input: CreateRoleInput; + input: CreateRoleInput; }; - export type MutationCreateSellerArgs = { - input: CreateSellerInput; + input: CreateSellerInput; }; - export type MutationCreateShippingMethodArgs = { - input: CreateShippingMethodInput; + input: CreateShippingMethodInput; }; - export type MutationCreateStockLocationArgs = { - input: CreateStockLocationInput; + input: CreateStockLocationInput; }; - export type MutationCreateTagArgs = { - input: CreateTagInput; + input: CreateTagInput; }; - export type MutationCreateTaxCategoryArgs = { - input: CreateTaxCategoryInput; + input: CreateTaxCategoryInput; }; - export type MutationCreateTaxRateArgs = { - input: CreateTaxRateInput; + input: CreateTaxRateInput; }; - export type MutationCreateZoneArgs = { - input: CreateZoneInput; + input: CreateZoneInput; }; - export type MutationDeleteAdministratorArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteAdministratorsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteAssetArgs = { - input: DeleteAssetInput; + input: DeleteAssetInput; }; - export type MutationDeleteAssetsArgs = { - input: DeleteAssetsInput; + input: DeleteAssetsInput; }; - export type MutationDeleteChannelArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteChannelsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCollectionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCollectionsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCountriesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCountryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerAddressArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerGroupsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCustomerNoteArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomersArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteDraftOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationDeleteFacetArgs = { - force?: InputMaybe; - id: Scalars['ID']['input']; + force?: InputMaybe; + id: Scalars['ID']['input']; }; - export type MutationDeleteFacetValuesArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteFacetsArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteOrderNoteArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeletePaymentMethodArgs = { - force?: InputMaybe; - id: Scalars['ID']['input']; + force?: InputMaybe; + id: Scalars['ID']['input']; }; - export type MutationDeletePaymentMethodsArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteProductArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductOptionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductVariantArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductVariantsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteProductsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeletePromotionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeletePromotionsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteProvinceArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteRoleArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteRolesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteSellerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteSellersArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteShippingMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteShippingMethodsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteStockLocationArgs = { - input: DeleteStockLocationInput; + input: DeleteStockLocationInput; }; - export type MutationDeleteStockLocationsArgs = { - input: Array; + input: Array; }; - export type MutationDeleteTagArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxCategoriesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteTaxCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxRateArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxRatesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteZoneArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteZonesArgs = { - ids: Array; + ids: Array; }; - export type MutationFlushBufferedJobsArgs = { - bufferIds?: InputMaybe>; + bufferIds?: InputMaybe>; }; - export type MutationImportProductsArgs = { - csvFile: Scalars['Upload']['input']; + csvFile: Scalars['Upload']['input']; }; - export type MutationLoginArgs = { - password: Scalars['String']['input']; - rememberMe?: InputMaybe; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + rememberMe?: InputMaybe; + username: Scalars['String']['input']; }; - export type MutationModifyOrderArgs = { - input: ModifyOrderInput; + input: ModifyOrderInput; }; - export type MutationMoveCollectionArgs = { - input: MoveCollectionInput; + input: MoveCollectionInput; }; - export type MutationRefundOrderArgs = { - input: RefundOrderInput; + input: RefundOrderInput; }; - export type MutationRejectProductReviewArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationRemoveCollectionsFromChannelArgs = { - input: RemoveCollectionsFromChannelInput; + input: RemoveCollectionsFromChannelInput; }; - export type MutationRemoveCouponCodeFromDraftOrderArgs = { - couponCode: Scalars['String']['input']; - orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationRemoveCustomersFromGroupArgs = { - customerGroupId: Scalars['ID']['input']; - customerIds: Array; + customerGroupId: Scalars['ID']['input']; + customerIds: Array; }; - export type MutationRemoveDraftOrderLineArgs = { - orderId: Scalars['ID']['input']; - orderLineId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + orderLineId: Scalars['ID']['input']; }; - export type MutationRemoveFacetsFromChannelArgs = { - input: RemoveFacetsFromChannelInput; + input: RemoveFacetsFromChannelInput; }; - export type MutationRemoveMembersFromZoneArgs = { - memberIds: Array; - zoneId: Scalars['ID']['input']; + memberIds: Array; + zoneId: Scalars['ID']['input']; }; - export type MutationRemoveOptionGroupFromProductArgs = { - force?: InputMaybe; - optionGroupId: Scalars['ID']['input']; - productId: Scalars['ID']['input']; + force?: InputMaybe; + optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; }; - export type MutationRemovePaymentMethodsFromChannelArgs = { - input: RemovePaymentMethodsFromChannelInput; + input: RemovePaymentMethodsFromChannelInput; }; - export type MutationRemoveProductVariantsFromChannelArgs = { - input: RemoveProductVariantsFromChannelInput; + input: RemoveProductVariantsFromChannelInput; }; - export type MutationRemoveProductsFromChannelArgs = { - input: RemoveProductsFromChannelInput; + input: RemoveProductsFromChannelInput; }; - export type MutationRemovePromotionsFromChannelArgs = { - input: RemovePromotionsFromChannelInput; + input: RemovePromotionsFromChannelInput; }; - export type MutationRemoveSettledJobsArgs = { - olderThan?: InputMaybe; - queueNames?: InputMaybe>; + olderThan?: InputMaybe; + queueNames?: InputMaybe>; }; - export type MutationRemoveShippingMethodsFromChannelArgs = { - input: RemoveShippingMethodsFromChannelInput; + input: RemoveShippingMethodsFromChannelInput; }; - export type MutationRemoveStockLocationsFromChannelArgs = { - input: RemoveStockLocationsFromChannelInput; + input: RemoveStockLocationsFromChannelInput; }; - export type MutationSetCustomerForDraftOrderArgs = { - customerId?: InputMaybe; - input?: InputMaybe; - orderId: Scalars['ID']['input']; + customerId?: InputMaybe; + input?: InputMaybe; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderBillingAddressArgs = { - input: CreateAddressInput; - orderId: Scalars['ID']['input']; + input: CreateAddressInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderCustomFieldsArgs = { - input: UpdateOrderInput; - orderId: Scalars['ID']['input']; + input: UpdateOrderInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderShippingAddressArgs = { - input: CreateAddressInput; - orderId: Scalars['ID']['input']; + input: CreateAddressInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderShippingMethodArgs = { - orderId: Scalars['ID']['input']; - shippingMethodId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + shippingMethodId: Scalars['ID']['input']; }; - export type MutationSetOrderCustomFieldsArgs = { - input: UpdateOrderInput; + input: UpdateOrderInput; }; - export type MutationSettlePaymentArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationSettleRefundArgs = { - input: SettleRefundInput; + input: SettleRefundInput; }; - export type MutationTransitionFulfillmentToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationTransitionOrderToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationTransitionPaymentToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationUpdateActiveAdministratorArgs = { - input: UpdateActiveAdministratorInput; + input: UpdateActiveAdministratorInput; }; - export type MutationUpdateAdministratorArgs = { - input: UpdateAdministratorInput; + input: UpdateAdministratorInput; }; - export type MutationUpdateAssetArgs = { - input: UpdateAssetInput; + input: UpdateAssetInput; }; - export type MutationUpdateChannelArgs = { - input: UpdateChannelInput; + input: UpdateChannelInput; }; - export type MutationUpdateCollectionArgs = { - input: UpdateCollectionInput; + input: UpdateCollectionInput; }; - export type MutationUpdateCountryArgs = { - input: UpdateCountryInput; + input: UpdateCountryInput; }; - export type MutationUpdateCustomerArgs = { - input: UpdateCustomerInput; + input: UpdateCustomerInput; }; - export type MutationUpdateCustomerAddressArgs = { - input: UpdateAddressInput; + input: UpdateAddressInput; }; - export type MutationUpdateCustomerGroupArgs = { - input: UpdateCustomerGroupInput; + input: UpdateCustomerGroupInput; }; - export type MutationUpdateCustomerNoteArgs = { - input: UpdateCustomerNoteInput; + input: UpdateCustomerNoteInput; }; - export type MutationUpdateFacetArgs = { - input: UpdateFacetInput; + input: UpdateFacetInput; }; - export type MutationUpdateFacetValuesArgs = { - input: Array; + input: Array; }; - export type MutationUpdateGlobalSettingsArgs = { - input: UpdateGlobalSettingsInput; + input: UpdateGlobalSettingsInput; }; - export type MutationUpdateOrderNoteArgs = { - input: UpdateOrderNoteInput; + input: UpdateOrderNoteInput; }; - export type MutationUpdatePaymentMethodArgs = { - input: UpdatePaymentMethodInput; + input: UpdatePaymentMethodInput; }; - export type MutationUpdateProductArgs = { - input: UpdateProductInput; + input: UpdateProductInput; }; - export type MutationUpdateProductOptionArgs = { - input: UpdateProductOptionInput; + input: UpdateProductOptionInput; }; - export type MutationUpdateProductOptionGroupArgs = { - input: UpdateProductOptionGroupInput; + input: UpdateProductOptionGroupInput; }; - export type MutationUpdateProductReviewArgs = { - input: UpdateProductReviewInput; + input: UpdateProductReviewInput; }; - export type MutationUpdateProductVariantsArgs = { - input: Array; + input: Array; }; - export type MutationUpdateProductsArgs = { - input: Array; + input: Array; }; - export type MutationUpdatePromotionArgs = { - input: UpdatePromotionInput; + input: UpdatePromotionInput; }; - export type MutationUpdateProvinceArgs = { - input: UpdateProvinceInput; + input: UpdateProvinceInput; }; - export type MutationUpdateRoleArgs = { - input: UpdateRoleInput; + input: UpdateRoleInput; }; - export type MutationUpdateSellerArgs = { - input: UpdateSellerInput; + input: UpdateSellerInput; }; - export type MutationUpdateShippingMethodArgs = { - input: UpdateShippingMethodInput; + input: UpdateShippingMethodInput; }; - export type MutationUpdateStockLocationArgs = { - input: UpdateStockLocationInput; + input: UpdateStockLocationInput; }; - export type MutationUpdateTagArgs = { - input: UpdateTagInput; + input: UpdateTagInput; }; - export type MutationUpdateTaxCategoryArgs = { - input: UpdateTaxCategoryInput; + input: UpdateTaxCategoryInput; }; - export type MutationUpdateTaxRateArgs = { - input: UpdateTaxRateInput; + input: UpdateTaxRateInput; }; - export type MutationUpdateZoneArgs = { - input: UpdateZoneInput; + input: UpdateZoneInput; }; export type NativeAuthInput = { - password: Scalars['String']['input']; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + username: Scalars['String']['input']; }; /** Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */ export type NativeAuthStrategyError = ErrorResult & { - __typename?: 'NativeAuthStrategyError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NativeAuthStrategyError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError; /** Returned when attempting to set a negative OrderLine quantity. */ export type NegativeQuantityError = ErrorResult & { - __typename?: 'NegativeQuantityError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NegativeQuantityError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -3718,321 +3597,320 @@ export type NegativeQuantityError = ErrorResult & { * current session. */ export type NoActiveOrderError = ErrorResult & { - __typename?: 'NoActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when a call to modifyOrder fails to specify any changes */ export type NoChangesSpecifiedError = ErrorResult & { - __typename?: 'NoChangesSpecifiedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoChangesSpecifiedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Node = { - id: Scalars['ID']['output']; + id: Scalars['ID']['output']; }; /** Returned if an attempting to refund an Order but neither items nor shipping refund was specified */ export type NothingToRefundError = ErrorResult & { - __typename?: 'NothingToRefundError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NothingToRefundError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Operators for filtering on a list of Number fields */ export type NumberListOperators = { - inList: Scalars['Float']['input']; + inList: Scalars['Float']['input']; }; /** Operators for filtering on a Int or Float field */ export type NumberOperators = { - between?: InputMaybe; - eq?: InputMaybe; - gt?: InputMaybe; - gte?: InputMaybe; - isNull?: InputMaybe; - lt?: InputMaybe; - lte?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + isNull?: InputMaybe; + lt?: InputMaybe; + lte?: InputMaybe; }; export type NumberRange = { - end: Scalars['Float']['input']; - start: Scalars['Float']['input']; + end: Scalars['Float']['input']; + start: Scalars['Float']['input']; }; export type Order = Node & { - __typename?: 'Order'; - /** An order is active as long as the payment process has not been completed */ - active: Scalars['Boolean']['output']; - aggregateOrder?: Maybe; - aggregateOrderId?: Maybe; - billingAddress?: Maybe; - channels: Array; - /** A unique code for the Order */ - code: Scalars['String']['output']; - /** An array of all coupon codes applied to the Order */ - couponCodes: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - customer?: Maybe; - discounts: Array; - fulfillments?: Maybe>; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lines: Array; - modifications: Array; - nextStates: Array; - /** - * The date & time that the Order was placed, i.e. the Customer - * completed the checkout and the Order is no longer "active" - */ - orderPlacedAt?: Maybe; - payments?: Maybe>; - /** Promotions applied to the order. Only gets populated after the payment process has completed. */ - promotions: Array; - sellerOrders?: Maybe>; - shipping: Scalars['Money']['output']; - shippingAddress?: Maybe; - shippingLines: Array; - shippingWithTax: Scalars['Money']['output']; - state: Scalars['String']['output']; - /** - * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level - * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. - * To get a total of all OrderLines which does not account for prorated discounts, use the - * sum of `OrderLine.discountedLinePrice` values. - */ - subTotal: Scalars['Money']['output']; - /** Same as subTotal, but inclusive of tax */ - subTotalWithTax: Scalars['Money']['output']; - /** - * Surcharges are arbitrary modifications to the Order total which are neither - * ProductVariants nor discounts resulting from applied Promotions. For example, - * one-off discounts based on customer interaction, or surcharges based on payment - * methods. - */ - surcharges: Array; - /** A summary of the taxes being applied to this Order */ - taxSummary: Array; - /** Equal to subTotal plus shipping */ - total: Scalars['Money']['output']; - totalQuantity: Scalars['Int']['output']; - /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ - totalWithTax: Scalars['Money']['output']; - type: OrderType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Order'; + /** An order is active as long as the payment process has not been completed */ + active: Scalars['Boolean']['output']; + aggregateOrder?: Maybe; + aggregateOrderId?: Maybe; + billingAddress?: Maybe; + channels: Array; + /** A unique code for the Order */ + code: Scalars['String']['output']; + /** An array of all coupon codes applied to the Order */ + couponCodes: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + customer?: Maybe; + discounts: Array; + fulfillments?: Maybe>; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lines: Array; + modifications: Array; + nextStates: Array; + /** + * The date & time that the Order was placed, i.e. the Customer + * completed the checkout and the Order is no longer "active" + */ + orderPlacedAt?: Maybe; + payments?: Maybe>; + /** Promotions applied to the order. Only gets populated after the payment process has completed. */ + promotions: Array; + sellerOrders?: Maybe>; + shipping: Scalars['Money']['output']; + shippingAddress?: Maybe; + shippingLines: Array; + shippingWithTax: Scalars['Money']['output']; + state: Scalars['String']['output']; + /** + * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level + * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. + * To get a total of all OrderLines which does not account for prorated discounts, use the + * sum of `OrderLine.discountedLinePrice` values. + */ + subTotal: Scalars['Money']['output']; + /** Same as subTotal, but inclusive of tax */ + subTotalWithTax: Scalars['Money']['output']; + /** + * Surcharges are arbitrary modifications to the Order total which are neither + * ProductVariants nor discounts resulting from applied Promotions. For example, + * one-off discounts based on customer interaction, or surcharges based on payment + * methods. + */ + surcharges: Array; + /** A summary of the taxes being applied to this Order */ + taxSummary: Array; + /** Equal to subTotal plus shipping */ + total: Scalars['Money']['output']; + totalQuantity: Scalars['Int']['output']; + /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ + totalWithTax: Scalars['Money']['output']; + type: OrderType; + updatedAt: Scalars['DateTime']['output']; }; - export type OrderHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type OrderAddress = { - __typename?: 'OrderAddress'; - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + __typename?: 'OrderAddress'; + city?: Maybe; + company?: Maybe; + country?: Maybe; + countryCode?: Maybe; + customFields?: Maybe; + fullName?: Maybe; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1?: Maybe; + streetLine2?: Maybe; }; export type OrderFilterParameter = { - active?: InputMaybe; - aggregateOrderId?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - customerLastName?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - transactionId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + active?: InputMaybe; + aggregateOrderId?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + customerLastName?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + transactionId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - __typename?: 'OrderLimitError'; - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'OrderLimitError'; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - __typename?: 'OrderLine'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - /** The price of the line including discounts, excluding tax */ - discountedLinePrice: Scalars['Money']['output']; - /** The price of the line including discounts and tax */ - discountedLinePriceWithTax: Scalars['Money']['output']; - /** - * The price of a single unit including discounts, excluding tax. - * - * If Order-level discounts have been applied, this will not be the - * actual taxable unit price (see `proratedUnitPrice`), but is generally the - * correct price to display to customers to avoid confusion - * about the internal handling of distributed Order-level discounts. - */ - discountedUnitPrice: Scalars['Money']['output']; - /** The price of a single unit including discounts and tax */ - discountedUnitPriceWithTax: Scalars['Money']['output']; - discounts: Array; - featuredAsset?: Maybe; - fulfillmentLines?: Maybe>; - id: Scalars['ID']['output']; - /** The total price of the line excluding tax and discounts. */ - linePrice: Scalars['Money']['output']; - /** The total price of the line including tax but excluding discounts. */ - linePriceWithTax: Scalars['Money']['output']; - /** The total tax on this line */ - lineTax: Scalars['Money']['output']; - order: Order; - /** The quantity at the time the Order was placed */ - orderPlacedQuantity: Scalars['Int']['output']; - productVariant: ProductVariant; - /** - * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax - * and refund calculations. - */ - proratedLinePrice: Scalars['Money']['output']; - /** The proratedLinePrice including tax */ - proratedLinePriceWithTax: Scalars['Money']['output']; - /** - * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax - * and refund calculations. - */ - proratedUnitPrice: Scalars['Money']['output']; - /** The proratedUnitPrice including tax */ - proratedUnitPriceWithTax: Scalars['Money']['output']; - quantity: Scalars['Int']['output']; - taxLines: Array; - taxRate: Scalars['Float']['output']; - /** The price of a single unit, excluding tax and discounts */ - unitPrice: Scalars['Money']['output']; - /** Non-zero if the unitPrice has changed since it was initially added to Order */ - unitPriceChangeSinceAdded: Scalars['Money']['output']; - /** The price of a single unit, including tax but excluding discounts */ - unitPriceWithTax: Scalars['Money']['output']; - /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ - unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderLine'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + /** The price of the line including discounts, excluding tax */ + discountedLinePrice: Scalars['Money']['output']; + /** The price of the line including discounts and tax */ + discountedLinePriceWithTax: Scalars['Money']['output']; + /** + * The price of a single unit including discounts, excluding tax. + * + * If Order-level discounts have been applied, this will not be the + * actual taxable unit price (see `proratedUnitPrice`), but is generally the + * correct price to display to customers to avoid confusion + * about the internal handling of distributed Order-level discounts. + */ + discountedUnitPrice: Scalars['Money']['output']; + /** The price of a single unit including discounts and tax */ + discountedUnitPriceWithTax: Scalars['Money']['output']; + discounts: Array; + featuredAsset?: Maybe; + fulfillmentLines?: Maybe>; + id: Scalars['ID']['output']; + /** The total price of the line excluding tax and discounts. */ + linePrice: Scalars['Money']['output']; + /** The total price of the line including tax but excluding discounts. */ + linePriceWithTax: Scalars['Money']['output']; + /** The total tax on this line */ + lineTax: Scalars['Money']['output']; + order: Order; + /** The quantity at the time the Order was placed */ + orderPlacedQuantity: Scalars['Int']['output']; + productVariant: ProductVariant; + /** + * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax + * and refund calculations. + */ + proratedLinePrice: Scalars['Money']['output']; + /** The proratedLinePrice including tax */ + proratedLinePriceWithTax: Scalars['Money']['output']; + /** + * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax + * and refund calculations. + */ + proratedUnitPrice: Scalars['Money']['output']; + /** The proratedUnitPrice including tax */ + proratedUnitPriceWithTax: Scalars['Money']['output']; + quantity: Scalars['Int']['output']; + taxLines: Array; + taxRate: Scalars['Float']['output']; + /** The price of a single unit, excluding tax and discounts */ + unitPrice: Scalars['Money']['output']; + /** Non-zero if the unitPrice has changed since it was initially added to Order */ + unitPriceChangeSinceAdded: Scalars['Money']['output']; + /** The price of a single unit, including tax but excluding discounts */ + unitPriceWithTax: Scalars['Money']['output']; + /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ + unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type OrderLineInput = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'OrderList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type OrderModification = Node & { - __typename?: 'OrderModification'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - isSettled: Scalars['Boolean']['output']; - lines: Array; - note: Scalars['String']['output']; - payment?: Maybe; - priceChange: Scalars['Money']['output']; - refund?: Maybe; - surcharges?: Maybe>; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderModification'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + isSettled: Scalars['Boolean']['output']; + lines: Array; + note: Scalars['String']['output']; + payment?: Maybe; + priceChange: Scalars['Money']['output']; + refund?: Maybe; + surcharges?: Maybe>; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */ export type OrderModificationError = ErrorResult & { - __typename?: 'OrderModificationError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderModificationLine = { - __typename?: 'OrderModificationLine'; - modification: OrderModification; - modificationId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'OrderModificationLine'; + modification: OrderModification; + modificationId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; /** Returned when attempting to modify the contents of an Order that is not in the `Modifying` state. */ export type OrderModificationStateError = ErrorResult & { - __typename?: 'OrderModificationStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderProcessState = { - __typename?: 'OrderProcessState'; - name: Scalars['String']['output']; - to: Array; + __typename?: 'OrderProcessState'; + name: Scalars['String']['output']; + to: Array; }; export type OrderSortParameter = { - aggregateOrderId?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - customerLastName?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - transactionId?: InputMaybe; - updatedAt?: InputMaybe; + aggregateOrderId?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + customerLastName?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + transactionId?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned if there is an error in transitioning the Order state */ export type OrderStateTransitionError = ErrorResult & { - __typename?: 'OrderStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'OrderStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4040,85 +3918,85 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type OrderTaxSummary = { - __typename?: 'OrderTaxSummary'; - /** A description of this tax */ - description: Scalars['String']['output']; - /** The total net price of OrderLines to which this taxRate applies */ - taxBase: Scalars['Money']['output']; - /** The taxRate as a percentage */ - taxRate: Scalars['Float']['output']; - /** The total tax being applied to the Order at this taxRate */ - taxTotal: Scalars['Money']['output']; + __typename?: 'OrderTaxSummary'; + /** A description of this tax */ + description: Scalars['String']['output']; + /** The total net price of OrderLines to which this taxRate applies */ + taxBase: Scalars['Money']['output']; + /** The taxRate as a percentage */ + taxRate: Scalars['Float']['output']; + /** The total tax being applied to the Order at this taxRate */ + taxTotal: Scalars['Money']['output']; }; export enum OrderType { - Aggregate = 'Aggregate', - Regular = 'Regular', - Seller = 'Seller' + Aggregate = 'Aggregate', + Regular = 'Regular', + Seller = 'Seller', } export type PaginatedList = { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type Payment = Node & { - __typename?: 'Payment'; - amount: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - errorMessage?: Maybe; - id: Scalars['ID']['output']; - metadata?: Maybe; - method: Scalars['String']['output']; - nextStates: Array; - refunds: Array; - state: Scalars['String']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Payment'; + amount: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + errorMessage?: Maybe; + id: Scalars['ID']['output']; + metadata?: Maybe; + method: Scalars['String']['output']; + nextStates: Array; + refunds: Array; + state: Scalars['String']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; - checker?: Maybe; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - handler: ConfigurableOperation; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethod'; + checker?: Maybe; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + handler: ConfigurableOperation; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodList = PaginatedList & { - __typename?: 'PaymentMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PaymentMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PaymentMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -4126,64 +4004,64 @@ export type PaymentMethodListOptions = { * though the price has increased as a result of the changes. */ export type PaymentMethodMissingError = ErrorResult & { - __typename?: 'PaymentMethodMissingError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PaymentMethodMissingError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type PaymentMethodQuote = { - __typename?: 'PaymentMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - eligibilityMessage?: Maybe; - id: Scalars['ID']['output']; - isEligible: Scalars['Boolean']['output']; - name: Scalars['String']['output']; + __typename?: 'PaymentMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + eligibilityMessage?: Maybe; + id: Scalars['ID']['output']; + isEligible: Scalars['Boolean']['output']; + name: Scalars['String']['output']; }; export type PaymentMethodSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodTranslation = { - __typename?: 'PaymentMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if an attempting to refund a Payment against OrderLines from a different Order */ export type PaymentOrderMismatchError = ErrorResult & { - __typename?: 'PaymentOrderMismatchError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PaymentOrderMismatchError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Payment state */ export type PaymentStateTransitionError = ErrorResult & { - __typename?: 'PaymentStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'PaymentStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4200,7 +4078,7 @@ export type PaymentStateTransitionError = ErrorResult & { * based on the activeUserId of the current session. As a result, the resolver code looks like this: * * @example - * ```TypeScript + * ```ts * \@Query() * \@Allow(Permission.Owner) * async activeCustomer(\@Ctx() ctx: RequestContext): Promise { @@ -4219,551 +4097,548 @@ export type PaymentStateTransitionError = ErrorResult & { * @docsCategory common */ export enum Permission { - /** Authenticated means simply that the user is logged in */ - Authenticated = 'Authenticated', - /** Grants permission to create Administrator */ - CreateAdministrator = 'CreateAdministrator', - /** Grants permission to create Asset */ - CreateAsset = 'CreateAsset', - /** Grants permission to create Products, Facets, Assets, Collections */ - CreateCatalog = 'CreateCatalog', - /** Grants permission to create Channel */ - CreateChannel = 'CreateChannel', - /** Grants permission to create Collection */ - CreateCollection = 'CreateCollection', - /** Grants permission to create Country */ - CreateCountry = 'CreateCountry', - /** Grants permission to create Customer */ - CreateCustomer = 'CreateCustomer', - /** Grants permission to create CustomerGroup */ - CreateCustomerGroup = 'CreateCustomerGroup', - /** Grants permission to create Facet */ - CreateFacet = 'CreateFacet', - /** Grants permission to create Order */ - CreateOrder = 'CreateOrder', - /** Grants permission to create PaymentMethod */ - CreatePaymentMethod = 'CreatePaymentMethod', - /** Grants permission to create Product */ - CreateProduct = 'CreateProduct', - /** Grants permission to create Promotion */ - CreatePromotion = 'CreatePromotion', - /** Grants permission to create Seller */ - CreateSeller = 'CreateSeller', - /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - CreateSettings = 'CreateSettings', - /** Grants permission to create ShippingMethod */ - CreateShippingMethod = 'CreateShippingMethod', - /** Grants permission to create StockLocation */ - CreateStockLocation = 'CreateStockLocation', - /** Grants permission to create System */ - CreateSystem = 'CreateSystem', - /** Grants permission to create Tag */ - CreateTag = 'CreateTag', - /** Grants permission to create TaxCategory */ - CreateTaxCategory = 'CreateTaxCategory', - /** Grants permission to create TaxRate */ - CreateTaxRate = 'CreateTaxRate', - /** Grants permission to create Zone */ - CreateZone = 'CreateZone', - /** Grants permission to delete Administrator */ - DeleteAdministrator = 'DeleteAdministrator', - /** Grants permission to delete Asset */ - DeleteAsset = 'DeleteAsset', - /** Grants permission to delete Products, Facets, Assets, Collections */ - DeleteCatalog = 'DeleteCatalog', - /** Grants permission to delete Channel */ - DeleteChannel = 'DeleteChannel', - /** Grants permission to delete Collection */ - DeleteCollection = 'DeleteCollection', - /** Grants permission to delete Country */ - DeleteCountry = 'DeleteCountry', - /** Grants permission to delete Customer */ - DeleteCustomer = 'DeleteCustomer', - /** Grants permission to delete CustomerGroup */ - DeleteCustomerGroup = 'DeleteCustomerGroup', - /** Grants permission to delete Facet */ - DeleteFacet = 'DeleteFacet', - /** Grants permission to delete Order */ - DeleteOrder = 'DeleteOrder', - /** Grants permission to delete PaymentMethod */ - DeletePaymentMethod = 'DeletePaymentMethod', - /** Grants permission to delete Product */ - DeleteProduct = 'DeleteProduct', - /** Grants permission to delete Promotion */ - DeletePromotion = 'DeletePromotion', - /** Grants permission to delete Seller */ - DeleteSeller = 'DeleteSeller', - /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - DeleteSettings = 'DeleteSettings', - /** Grants permission to delete ShippingMethod */ - DeleteShippingMethod = 'DeleteShippingMethod', - /** Grants permission to delete StockLocation */ - DeleteStockLocation = 'DeleteStockLocation', - /** Grants permission to delete System */ - DeleteSystem = 'DeleteSystem', - /** Grants permission to delete Tag */ - DeleteTag = 'DeleteTag', - /** Grants permission to delete TaxCategory */ - DeleteTaxCategory = 'DeleteTaxCategory', - /** Grants permission to delete TaxRate */ - DeleteTaxRate = 'DeleteTaxRate', - /** Grants permission to delete Zone */ - DeleteZone = 'DeleteZone', - /** Owner means the user owns this entity, e.g. a Customer's own Order */ - Owner = 'Owner', - /** Public means any unauthenticated user may perform the operation */ - Public = 'Public', - /** Grants permission to read Administrator */ - ReadAdministrator = 'ReadAdministrator', - /** Grants permission to read Asset */ - ReadAsset = 'ReadAsset', - /** Grants permission to read Products, Facets, Assets, Collections */ - ReadCatalog = 'ReadCatalog', - /** Grants permission to read Channel */ - ReadChannel = 'ReadChannel', - /** Grants permission to read Collection */ - ReadCollection = 'ReadCollection', - /** Grants permission to read Country */ - ReadCountry = 'ReadCountry', - /** Grants permission to read Customer */ - ReadCustomer = 'ReadCustomer', - /** Grants permission to read CustomerGroup */ - ReadCustomerGroup = 'ReadCustomerGroup', - /** Grants permission to read Facet */ - ReadFacet = 'ReadFacet', - /** Grants permission to read Order */ - ReadOrder = 'ReadOrder', - /** Grants permission to read PaymentMethod */ - ReadPaymentMethod = 'ReadPaymentMethod', - /** Grants permission to read Product */ - ReadProduct = 'ReadProduct', - /** Grants permission to read Promotion */ - ReadPromotion = 'ReadPromotion', - /** Grants permission to read Seller */ - ReadSeller = 'ReadSeller', - /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - ReadSettings = 'ReadSettings', - /** Grants permission to read ShippingMethod */ - ReadShippingMethod = 'ReadShippingMethod', - /** Grants permission to read StockLocation */ - ReadStockLocation = 'ReadStockLocation', - /** Grants permission to read System */ - ReadSystem = 'ReadSystem', - /** Grants permission to read Tag */ - ReadTag = 'ReadTag', - /** Grants permission to read TaxCategory */ - ReadTaxCategory = 'ReadTaxCategory', - /** Grants permission to read TaxRate */ - ReadTaxRate = 'ReadTaxRate', - /** Grants permission to read Zone */ - ReadZone = 'ReadZone', - /** SuperAdmin has unrestricted access to all operations */ - SuperAdmin = 'SuperAdmin', - /** Grants permission to update Administrator */ - UpdateAdministrator = 'UpdateAdministrator', - /** Grants permission to update Asset */ - UpdateAsset = 'UpdateAsset', - /** Grants permission to update Products, Facets, Assets, Collections */ - UpdateCatalog = 'UpdateCatalog', - /** Grants permission to update Channel */ - UpdateChannel = 'UpdateChannel', - /** Grants permission to update Collection */ - UpdateCollection = 'UpdateCollection', - /** Grants permission to update Country */ - UpdateCountry = 'UpdateCountry', - /** Grants permission to update Customer */ - UpdateCustomer = 'UpdateCustomer', - /** Grants permission to update CustomerGroup */ - UpdateCustomerGroup = 'UpdateCustomerGroup', - /** Grants permission to update Facet */ - UpdateFacet = 'UpdateFacet', - /** Grants permission to update GlobalSettings */ - UpdateGlobalSettings = 'UpdateGlobalSettings', - /** Grants permission to update Order */ - UpdateOrder = 'UpdateOrder', - /** Grants permission to update PaymentMethod */ - UpdatePaymentMethod = 'UpdatePaymentMethod', - /** Grants permission to update Product */ - UpdateProduct = 'UpdateProduct', - /** Grants permission to update Promotion */ - UpdatePromotion = 'UpdatePromotion', - /** Grants permission to update Seller */ - UpdateSeller = 'UpdateSeller', - /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - UpdateSettings = 'UpdateSettings', - /** Grants permission to update ShippingMethod */ - UpdateShippingMethod = 'UpdateShippingMethod', - /** Grants permission to update StockLocation */ - UpdateStockLocation = 'UpdateStockLocation', - /** Grants permission to update System */ - UpdateSystem = 'UpdateSystem', - /** Grants permission to update Tag */ - UpdateTag = 'UpdateTag', - /** Grants permission to update TaxCategory */ - UpdateTaxCategory = 'UpdateTaxCategory', - /** Grants permission to update TaxRate */ - UpdateTaxRate = 'UpdateTaxRate', - /** Grants permission to update Zone */ - UpdateZone = 'UpdateZone' + /** Authenticated means simply that the user is logged in */ + Authenticated = 'Authenticated', + /** Grants permission to create Administrator */ + CreateAdministrator = 'CreateAdministrator', + /** Grants permission to create Asset */ + CreateAsset = 'CreateAsset', + /** Grants permission to create Products, Facets, Assets, Collections */ + CreateCatalog = 'CreateCatalog', + /** Grants permission to create Channel */ + CreateChannel = 'CreateChannel', + /** Grants permission to create Collection */ + CreateCollection = 'CreateCollection', + /** Grants permission to create Country */ + CreateCountry = 'CreateCountry', + /** Grants permission to create Customer */ + CreateCustomer = 'CreateCustomer', + /** Grants permission to create CustomerGroup */ + CreateCustomerGroup = 'CreateCustomerGroup', + /** Grants permission to create Facet */ + CreateFacet = 'CreateFacet', + /** Grants permission to create Order */ + CreateOrder = 'CreateOrder', + /** Grants permission to create PaymentMethod */ + CreatePaymentMethod = 'CreatePaymentMethod', + /** Grants permission to create Product */ + CreateProduct = 'CreateProduct', + /** Grants permission to create Promotion */ + CreatePromotion = 'CreatePromotion', + /** Grants permission to create Seller */ + CreateSeller = 'CreateSeller', + /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + CreateSettings = 'CreateSettings', + /** Grants permission to create ShippingMethod */ + CreateShippingMethod = 'CreateShippingMethod', + /** Grants permission to create StockLocation */ + CreateStockLocation = 'CreateStockLocation', + /** Grants permission to create System */ + CreateSystem = 'CreateSystem', + /** Grants permission to create Tag */ + CreateTag = 'CreateTag', + /** Grants permission to create TaxCategory */ + CreateTaxCategory = 'CreateTaxCategory', + /** Grants permission to create TaxRate */ + CreateTaxRate = 'CreateTaxRate', + /** Grants permission to create Zone */ + CreateZone = 'CreateZone', + /** Grants permission to delete Administrator */ + DeleteAdministrator = 'DeleteAdministrator', + /** Grants permission to delete Asset */ + DeleteAsset = 'DeleteAsset', + /** Grants permission to delete Products, Facets, Assets, Collections */ + DeleteCatalog = 'DeleteCatalog', + /** Grants permission to delete Channel */ + DeleteChannel = 'DeleteChannel', + /** Grants permission to delete Collection */ + DeleteCollection = 'DeleteCollection', + /** Grants permission to delete Country */ + DeleteCountry = 'DeleteCountry', + /** Grants permission to delete Customer */ + DeleteCustomer = 'DeleteCustomer', + /** Grants permission to delete CustomerGroup */ + DeleteCustomerGroup = 'DeleteCustomerGroup', + /** Grants permission to delete Facet */ + DeleteFacet = 'DeleteFacet', + /** Grants permission to delete Order */ + DeleteOrder = 'DeleteOrder', + /** Grants permission to delete PaymentMethod */ + DeletePaymentMethod = 'DeletePaymentMethod', + /** Grants permission to delete Product */ + DeleteProduct = 'DeleteProduct', + /** Grants permission to delete Promotion */ + DeletePromotion = 'DeletePromotion', + /** Grants permission to delete Seller */ + DeleteSeller = 'DeleteSeller', + /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + DeleteSettings = 'DeleteSettings', + /** Grants permission to delete ShippingMethod */ + DeleteShippingMethod = 'DeleteShippingMethod', + /** Grants permission to delete StockLocation */ + DeleteStockLocation = 'DeleteStockLocation', + /** Grants permission to delete System */ + DeleteSystem = 'DeleteSystem', + /** Grants permission to delete Tag */ + DeleteTag = 'DeleteTag', + /** Grants permission to delete TaxCategory */ + DeleteTaxCategory = 'DeleteTaxCategory', + /** Grants permission to delete TaxRate */ + DeleteTaxRate = 'DeleteTaxRate', + /** Grants permission to delete Zone */ + DeleteZone = 'DeleteZone', + /** Owner means the user owns this entity, e.g. a Customer's own Order */ + Owner = 'Owner', + /** Public means any unauthenticated user may perform the operation */ + Public = 'Public', + /** Grants permission to read Administrator */ + ReadAdministrator = 'ReadAdministrator', + /** Grants permission to read Asset */ + ReadAsset = 'ReadAsset', + /** Grants permission to read Products, Facets, Assets, Collections */ + ReadCatalog = 'ReadCatalog', + /** Grants permission to read Channel */ + ReadChannel = 'ReadChannel', + /** Grants permission to read Collection */ + ReadCollection = 'ReadCollection', + /** Grants permission to read Country */ + ReadCountry = 'ReadCountry', + /** Grants permission to read Customer */ + ReadCustomer = 'ReadCustomer', + /** Grants permission to read CustomerGroup */ + ReadCustomerGroup = 'ReadCustomerGroup', + /** Grants permission to read Facet */ + ReadFacet = 'ReadFacet', + /** Grants permission to read Order */ + ReadOrder = 'ReadOrder', + /** Grants permission to read PaymentMethod */ + ReadPaymentMethod = 'ReadPaymentMethod', + /** Grants permission to read Product */ + ReadProduct = 'ReadProduct', + /** Grants permission to read Promotion */ + ReadPromotion = 'ReadPromotion', + /** Grants permission to read Seller */ + ReadSeller = 'ReadSeller', + /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + ReadSettings = 'ReadSettings', + /** Grants permission to read ShippingMethod */ + ReadShippingMethod = 'ReadShippingMethod', + /** Grants permission to read StockLocation */ + ReadStockLocation = 'ReadStockLocation', + /** Grants permission to read System */ + ReadSystem = 'ReadSystem', + /** Grants permission to read Tag */ + ReadTag = 'ReadTag', + /** Grants permission to read TaxCategory */ + ReadTaxCategory = 'ReadTaxCategory', + /** Grants permission to read TaxRate */ + ReadTaxRate = 'ReadTaxRate', + /** Grants permission to read Zone */ + ReadZone = 'ReadZone', + /** SuperAdmin has unrestricted access to all operations */ + SuperAdmin = 'SuperAdmin', + /** Grants permission to update Administrator */ + UpdateAdministrator = 'UpdateAdministrator', + /** Grants permission to update Asset */ + UpdateAsset = 'UpdateAsset', + /** Grants permission to update Products, Facets, Assets, Collections */ + UpdateCatalog = 'UpdateCatalog', + /** Grants permission to update Channel */ + UpdateChannel = 'UpdateChannel', + /** Grants permission to update Collection */ + UpdateCollection = 'UpdateCollection', + /** Grants permission to update Country */ + UpdateCountry = 'UpdateCountry', + /** Grants permission to update Customer */ + UpdateCustomer = 'UpdateCustomer', + /** Grants permission to update CustomerGroup */ + UpdateCustomerGroup = 'UpdateCustomerGroup', + /** Grants permission to update Facet */ + UpdateFacet = 'UpdateFacet', + /** Grants permission to update GlobalSettings */ + UpdateGlobalSettings = 'UpdateGlobalSettings', + /** Grants permission to update Order */ + UpdateOrder = 'UpdateOrder', + /** Grants permission to update PaymentMethod */ + UpdatePaymentMethod = 'UpdatePaymentMethod', + /** Grants permission to update Product */ + UpdateProduct = 'UpdateProduct', + /** Grants permission to update Promotion */ + UpdatePromotion = 'UpdatePromotion', + /** Grants permission to update Seller */ + UpdateSeller = 'UpdateSeller', + /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + UpdateSettings = 'UpdateSettings', + /** Grants permission to update ShippingMethod */ + UpdateShippingMethod = 'UpdateShippingMethod', + /** Grants permission to update StockLocation */ + UpdateStockLocation = 'UpdateStockLocation', + /** Grants permission to update System */ + UpdateSystem = 'UpdateSystem', + /** Grants permission to update Tag */ + UpdateTag = 'UpdateTag', + /** Grants permission to update TaxCategory */ + UpdateTaxCategory = 'UpdateTaxCategory', + /** Grants permission to update TaxRate */ + UpdateTaxRate = 'UpdateTaxRate', + /** Grants permission to update Zone */ + UpdateZone = 'UpdateZone', } export type PermissionDefinition = { - __typename?: 'PermissionDefinition'; - assignable: Scalars['Boolean']['output']; - description: Scalars['String']['output']; - name: Scalars['String']['output']; + __typename?: 'PermissionDefinition'; + assignable: Scalars['Boolean']['output']; + description: Scalars['String']['output']; + name: Scalars['String']['output']; }; export type PreviewCollectionVariantsInput = { - filters: Array; - inheritFilters: Scalars['Boolean']['input']; - parentId?: InputMaybe; + filters: Array; + inheritFilters: Scalars['Boolean']['input']; + parentId?: InputMaybe; }; /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + __typename?: 'PriceRange'; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - __typename?: 'Product'; - assets: Array; - channels: Array; - collections: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - optionGroups: Array; - reviews: ProductReviewList; - reviewsHistogram: Array; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - /** Returns a paginated, sortable, filterable list of ProductVariants */ - variantList: ProductVariantList; - /** Returns all ProductVariants */ - variants: Array; + __typename?: 'Product'; + assets: Array; + channels: Array; + collections: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + optionGroups: Array; + reviews: ProductReviewList; + reviewsHistogram: Array; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + /** Returns a paginated, sortable, filterable list of ProductVariants */ + variantList: ProductVariantList; + /** Returns all ProductVariants */ + variants: Array; }; - export type ProductReviewsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type ProductVariantListArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductCustomFields = { - __typename?: 'ProductCustomFields'; - featuredReview?: Maybe; - reviewCount?: Maybe; - reviewRating?: Maybe; + __typename?: 'ProductCustomFields'; + featuredReview?: Maybe; + reviewCount?: Maybe; + reviewRating?: Maybe; }; export type ProductFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductOption = Node & { - __typename?: 'ProductOption'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - group: ProductOptionGroup; - groupId: Scalars['ID']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOption'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + group: ProductOptionGroup; + groupId: Scalars['ID']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroup'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroupTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type ProductOptionInUseError = ErrorResult & { - __typename?: 'ProductOptionInUseError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - optionGroupCode: Scalars['String']['output']; - productVariantCount: Scalars['Int']['output']; + __typename?: 'ProductOptionInUseError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + optionGroupCode: Scalars['String']['output']; + productVariantCount: Scalars['Int']['output']; }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type ProductReview = Node & { - __typename?: 'ProductReview'; - author?: Maybe; - authorLocation?: Maybe; - authorName: Scalars['String']['output']; - body?: Maybe; - createdAt: Scalars['DateTime']['output']; - downvotes: Scalars['Int']['output']; - id: Scalars['ID']['output']; - product: Product; - productVariant?: Maybe; - rating: Scalars['Float']['output']; - response?: Maybe; - responseCreatedAt?: Maybe; - state: Scalars['String']['output']; - summary: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - upvotes: Scalars['Int']['output']; + __typename?: 'ProductReview'; + author?: Maybe; + authorLocation?: Maybe; + authorName: Scalars['String']['output']; + body?: Maybe; + createdAt: Scalars['DateTime']['output']; + downvotes: Scalars['Int']['output']; + id: Scalars['ID']['output']; + product: Product; + productVariant?: Maybe; + rating: Scalars['Float']['output']; + response?: Maybe; + responseCreatedAt?: Maybe; + state: Scalars['String']['output']; + summary: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + upvotes: Scalars['Int']['output']; }; export type ProductReviewFilterParameter = { - authorLocation?: InputMaybe; - authorName?: InputMaybe; - body?: InputMaybe; - createdAt?: InputMaybe; - downvotes?: InputMaybe; - id?: InputMaybe; - rating?: InputMaybe; - response?: InputMaybe; - responseCreatedAt?: InputMaybe; - state?: InputMaybe; - summary?: InputMaybe; - updatedAt?: InputMaybe; - upvotes?: InputMaybe; + authorLocation?: InputMaybe; + authorName?: InputMaybe; + body?: InputMaybe; + createdAt?: InputMaybe; + downvotes?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + response?: InputMaybe; + responseCreatedAt?: InputMaybe; + state?: InputMaybe; + summary?: InputMaybe; + updatedAt?: InputMaybe; + upvotes?: InputMaybe; }; export type ProductReviewHistogramItem = { - __typename?: 'ProductReviewHistogramItem'; - bin: Scalars['Int']['output']; - frequency: Scalars['Int']['output']; + __typename?: 'ProductReviewHistogramItem'; + bin: Scalars['Int']['output']; + frequency: Scalars['Int']['output']; }; export type ProductReviewList = PaginatedList & { - __typename?: 'ProductReviewList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductReviewList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductReviewListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductReviewSortParameter = { - authorLocation?: InputMaybe; - authorName?: InputMaybe; - body?: InputMaybe; - createdAt?: InputMaybe; - downvotes?: InputMaybe; - id?: InputMaybe; - rating?: InputMaybe; - response?: InputMaybe; - responseCreatedAt?: InputMaybe; - state?: InputMaybe; - summary?: InputMaybe; - updatedAt?: InputMaybe; - upvotes?: InputMaybe; + authorLocation?: InputMaybe; + authorName?: InputMaybe; + body?: InputMaybe; + createdAt?: InputMaybe; + downvotes?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + response?: InputMaybe; + responseCreatedAt?: InputMaybe; + state?: InputMaybe; + summary?: InputMaybe; + updatedAt?: InputMaybe; + upvotes?: InputMaybe; }; export type ProductSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - featuredReview?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + featuredReview?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; - slug?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; + slug?: InputMaybe; }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; - assets: Array; - channels: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - outOfStockThreshold: Scalars['Int']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - prices: Array; - product: Product; - productId: Scalars['ID']['output']; - sku: Scalars['String']['output']; - /** @deprecated use stockLevels */ - stockAllocated: Scalars['Int']['output']; - stockLevel: Scalars['String']['output']; - stockLevels: Array; - stockMovements: StockMovementList; - /** @deprecated use stockLevels */ - stockOnHand: Scalars['Int']['output']; - taxCategory: TaxCategory; - taxRateApplied: TaxRate; - trackInventory: GlobalFlag; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - useGlobalOutOfStockThreshold: Scalars['Boolean']['output']; + __typename?: 'ProductVariant'; + assets: Array; + channels: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + outOfStockThreshold: Scalars['Int']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + prices: Array; + product: Product; + productId: Scalars['ID']['output']; + sku: Scalars['String']['output']; + /** @deprecated use stockLevels */ + stockAllocated: Scalars['Int']['output']; + stockLevel: Scalars['String']['output']; + stockLevels: Array; + stockMovements: StockMovementList; + /** @deprecated use stockLevels */ + stockOnHand: Scalars['Int']['output']; + taxCategory: TaxCategory; + taxRateApplied: TaxRate; + trackInventory: GlobalFlag; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + useGlobalOutOfStockThreshold: Scalars['Boolean']['output']; }; - export type ProductVariantStockMovementsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductVariantFilterParameter = { - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockAllocated?: InputMaybe; - stockLevel?: InputMaybe; - stockOnHand?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; - useGlobalOutOfStockThreshold?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockAllocated?: InputMaybe; + stockLevel?: InputMaybe; + stockOnHand?: InputMaybe; + trackInventory?: InputMaybe; + updatedAt?: InputMaybe; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductVariantList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductVariantPrice = { - __typename?: 'ProductVariantPrice'; - currencyCode: CurrencyCode; - price: Scalars['Int']['output']; + __typename?: 'ProductVariantPrice'; + currencyCode: CurrencyCode; + price: Scalars['Int']['output']; }; /** @@ -4771,622 +4646,573 @@ export type ProductVariantPrice = { * If the `delete` flag is `true`, the price will be deleted for the given Channel. */ export type ProductVariantPriceInput = { - currencyCode: CurrencyCode; - delete?: InputMaybe; - price: Scalars['Money']['input']; + currencyCode: CurrencyCode; + delete?: InputMaybe; + price: Scalars['Money']['input']; }; export type ProductVariantSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockAllocated?: InputMaybe; - stockLevel?: InputMaybe; - stockOnHand?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockAllocated?: InputMaybe; + stockLevel?: InputMaybe; + stockOnHand?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductVariantTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductVariantTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type Promotion = Node & { - __typename?: 'Promotion'; - actions: Array; - conditions: Array; - couponCode?: Maybe; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - endsAt?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - perCustomerUsageLimit?: Maybe; - startsAt?: Maybe; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Promotion'; + actions: Array; + conditions: Array; + couponCode?: Maybe; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + endsAt?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + perCustomerUsageLimit?: Maybe; + startsAt?: Maybe; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type PromotionFilterParameter = { - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; + couponCode?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + endsAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + updatedAt?: InputMaybe; }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PromotionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type PromotionSortParameter = { - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; + couponCode?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + endsAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + updatedAt?: InputMaybe; }; export type PromotionTranslation = { - __typename?: 'PromotionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PromotionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type PromotionTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; -}; - -export type Province = Node & Region & { - __typename?: 'Province'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; +}; + +export type Province = Node & + Region & { + __typename?: 'Province'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type ProvinceFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceList = PaginatedList & { - __typename?: 'ProvinceList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProvinceList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProvinceListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProvinceSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if the specified quantity of an OrderLine is greater than the number of items in that line */ export type QuantityTooGreatError = ErrorResult & { - __typename?: 'QuantityTooGreatError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'QuantityTooGreatError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Query = { - __typename?: 'Query'; - activeAdministrator?: Maybe; - activeChannel: Channel; - administrator?: Maybe; - administrators: AdministratorList; - /** Get a single Asset by id */ - asset?: Maybe; - /** Get a list of Assets */ - assets: AssetList; - channel?: Maybe; - channels: ChannelList; - /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */ - collection?: Maybe; - collectionFilters: Array; - collections: CollectionList; - countries: CountryList; - country?: Maybe; - customer?: Maybe; - customerGroup?: Maybe; - customerGroups: CustomerGroupList; - customers: CustomerList; - /** Returns a list of eligible shipping methods for the draft Order */ - eligibleShippingMethodsForDraftOrder: Array; - facet?: Maybe; - facetValues: FacetValueList; - facets: FacetList; - fulfillmentHandlers: Array; - globalSettings: GlobalSettings; - job?: Maybe; - jobBufferSize: Array; - jobQueues: Array; - jobs: JobList; - jobsById: Array; - me?: Maybe; - /** Get metrics for the given interval and metric types. */ - metricSummary: Array; - order?: Maybe; - orders: OrderList; - paymentMethod?: Maybe; - paymentMethodEligibilityCheckers: Array; - paymentMethodHandlers: Array; - paymentMethods: PaymentMethodList; - pendingSearchIndexUpdates: Scalars['Int']['output']; - /** Used for real-time previews of the contents of a Collection */ - previewCollectionVariants: ProductVariantList; - /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */ - product?: Maybe; - productOptionGroup?: Maybe; - productOptionGroups: Array; - productReview?: Maybe; - productReviews: ProductReviewList; - /** Get a ProductVariant by id */ - productVariant?: Maybe; - /** List ProductVariants either all or for the specific product. */ - productVariants: ProductVariantList; - /** List Products */ - products: ProductList; - promotion?: Maybe; - promotionActions: Array; - promotionConditions: Array; - promotions: PromotionList; - province?: Maybe; - provinces: ProvinceList; - role?: Maybe; - roles: RoleList; - search: SearchResponse; - seller?: Maybe; - sellers: SellerList; - shippingCalculators: Array; - shippingEligibilityCheckers: Array; - shippingMethod?: Maybe; - shippingMethods: ShippingMethodList; - stockLocation?: Maybe; - stockLocations: StockLocationList; - tag: Tag; - tags: TagList; - taxCategories: TaxCategoryList; - taxCategory?: Maybe; - taxRate?: Maybe; - taxRates: TaxRateList; - testEligibleShippingMethods: Array; - testShippingMethod: TestShippingMethodResult; - zone?: Maybe; - zones: ZoneList; + __typename?: 'Query'; + activeAdministrator?: Maybe; + activeChannel: Channel; + administrator?: Maybe; + administrators: AdministratorList; + /** Get a single Asset by id */ + asset?: Maybe; + /** Get a list of Assets */ + assets: AssetList; + channel?: Maybe; + channels: ChannelList; + /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */ + collection?: Maybe; + collectionFilters: Array; + collections: CollectionList; + countries: CountryList; + country?: Maybe; + customer?: Maybe; + customerGroup?: Maybe; + customerGroups: CustomerGroupList; + customers: CustomerList; + /** Returns a list of eligible shipping methods for the draft Order */ + eligibleShippingMethodsForDraftOrder: Array; + facet?: Maybe; + facetValues: FacetValueList; + facets: FacetList; + fulfillmentHandlers: Array; + globalSettings: GlobalSettings; + job?: Maybe; + jobBufferSize: Array; + jobQueues: Array; + jobs: JobList; + jobsById: Array; + me?: Maybe; + /** Get metrics for the given interval and metric types. */ + metricSummary: Array; + order?: Maybe; + orders: OrderList; + paymentMethod?: Maybe; + paymentMethodEligibilityCheckers: Array; + paymentMethodHandlers: Array; + paymentMethods: PaymentMethodList; + pendingSearchIndexUpdates: Scalars['Int']['output']; + /** Used for real-time previews of the contents of a Collection */ + previewCollectionVariants: ProductVariantList; + /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */ + product?: Maybe; + productOptionGroup?: Maybe; + productOptionGroups: Array; + productReview?: Maybe; + productReviews: ProductReviewList; + /** Get a ProductVariant by id */ + productVariant?: Maybe; + /** List ProductVariants either all or for the specific product. */ + productVariants: ProductVariantList; + /** List Products */ + products: ProductList; + promotion?: Maybe; + promotionActions: Array; + promotionConditions: Array; + promotions: PromotionList; + province?: Maybe; + provinces: ProvinceList; + role?: Maybe; + roles: RoleList; + search: SearchResponse; + seller?: Maybe; + sellers: SellerList; + shippingCalculators: Array; + shippingEligibilityCheckers: Array; + shippingMethod?: Maybe; + shippingMethods: ShippingMethodList; + stockLocation?: Maybe; + stockLocations: StockLocationList; + tag: Tag; + tags: TagList; + taxCategories: TaxCategoryList; + taxCategory?: Maybe; + taxRate?: Maybe; + taxRates: TaxRateList; + testEligibleShippingMethods: Array; + testShippingMethod: TestShippingMethodResult; + zone?: Maybe; + zones: ZoneList; }; - export type QueryAdministratorArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryAdministratorsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryAssetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryAssetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryChannelArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryChannelsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCollectionArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryCollectionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCountriesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCountryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerGroupsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryEligibleShippingMethodsForDraftOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; - export type QueryFacetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryFacetValuesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryFacetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryJobArgs = { - jobId: Scalars['ID']['input']; + jobId: Scalars['ID']['input']; }; - export type QueryJobBufferSizeArgs = { - bufferIds?: InputMaybe>; + bufferIds?: InputMaybe>; }; - export type QueryJobsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryJobsByIdArgs = { - jobIds: Array; + jobIds: Array; }; - export type QueryMetricSummaryArgs = { - input?: InputMaybe; + input?: InputMaybe; }; - export type QueryOrderArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPaymentMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryPaymentMethodsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPreviewCollectionVariantsArgs = { - input: PreviewCollectionVariantsInput; - options?: InputMaybe; + input: PreviewCollectionVariantsInput; + options?: InputMaybe; }; - export type QueryProductArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryProductOptionGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductOptionGroupsArgs = { - filterTerm?: InputMaybe; + filterTerm?: InputMaybe; }; - export type QueryProductReviewArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductReviewsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryProductVariantArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductVariantsArgs = { - options?: InputMaybe; - productId?: InputMaybe; + options?: InputMaybe; + productId?: InputMaybe; }; - export type QueryProductsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPromotionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryPromotionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryProvinceArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProvincesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryRoleArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryRolesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QuerySearchArgs = { - input: SearchInput; + input: SearchInput; }; - export type QuerySellerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QuerySellersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryShippingMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryShippingMethodsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryStockLocationArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryStockLocationsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTagArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTagsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTaxCategoriesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTaxCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTaxRateArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTaxRatesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTestEligibleShippingMethodsArgs = { - input: TestEligibleShippingMethodsInput; + input: TestEligibleShippingMethodsInput; }; - export type QueryTestShippingMethodArgs = { - input: TestShippingMethodInput; + input: TestShippingMethodInput; }; - export type QueryZoneArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryZonesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type Refund = Node & { - __typename?: 'Refund'; - adjustment: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - items: Scalars['Money']['output']; - lines: Array; - metadata?: Maybe; - method?: Maybe; - paymentId: Scalars['ID']['output']; - reason?: Maybe; - shipping: Scalars['Money']['output']; - state: Scalars['String']['output']; - total: Scalars['Money']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Refund'; + adjustment: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + items: Scalars['Money']['output']; + lines: Array; + metadata?: Maybe; + method?: Maybe; + paymentId: Scalars['ID']['output']; + reason?: Maybe; + shipping: Scalars['Money']['output']; + state: Scalars['String']['output']; + total: Scalars['Money']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type RefundLine = { - __typename?: 'RefundLine'; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + __typename?: 'RefundLine'; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; - lines: Array; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; - shipping: Scalars['Money']['input']; -}; - -export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundOrderStateError | RefundStateTransitionError; + adjustment: Scalars['Money']['input']; + lines: Array; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; + shipping: Scalars['Money']['input']; +}; + +export type RefundOrderResult = + | AlreadyRefundedError + | MultipleOrderError + | NothingToRefundError + | OrderStateTransitionError + | PaymentOrderMismatchError + | QuantityTooGreatError + | Refund + | RefundOrderStateError + | RefundStateTransitionError; /** Returned if an attempting to refund an Order which is not in the expected state */ export type RefundOrderStateError = ErrorResult & { - __typename?: 'RefundOrderStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + __typename?: 'RefundOrderStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; /** @@ -5394,80 +5220,81 @@ export type RefundOrderStateError = ErrorResult & { * though the price has decreased as a result of the changes. */ export type RefundPaymentIdMissingError = ErrorResult & { - __typename?: 'RefundPaymentIdMissingError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'RefundPaymentIdMissingError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Refund state */ export type RefundStateTransitionError = ErrorResult & { - __typename?: 'RefundStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'RefundStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; export type Region = { - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RegionTranslation = { - __typename?: 'RegionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'RegionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RelationCustomFieldConfig = CustomField & { - __typename?: 'RelationCustomFieldConfig'; - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type Release = Node & StockMovement & { - __typename?: 'Release'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + __typename?: 'RelationCustomFieldConfig'; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type Release = Node & + StockMovement & { + __typename?: 'Release'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type RemoveCollectionsFromChannelInput = { - channelId: Scalars['ID']['input']; - collectionIds: Array; + channelId: Scalars['ID']['input']; + collectionIds: Array; }; export type RemoveFacetFromChannelResult = Facet | FacetInUseError; export type RemoveFacetsFromChannelInput = { - channelId: Scalars['ID']['input']; - facetIds: Array; - force?: InputMaybe; + channelId: Scalars['ID']['input']; + facetIds: Array; + force?: InputMaybe; }; export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseError; @@ -5475,697 +5302,708 @@ export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseErr export type RemoveOrderItemsResult = Order | OrderModificationError; export type RemovePaymentMethodsFromChannelInput = { - channelId: Scalars['ID']['input']; - paymentMethodIds: Array; + channelId: Scalars['ID']['input']; + paymentMethodIds: Array; }; export type RemoveProductVariantsFromChannelInput = { - channelId: Scalars['ID']['input']; - productVariantIds: Array; + channelId: Scalars['ID']['input']; + productVariantIds: Array; }; export type RemoveProductsFromChannelInput = { - channelId: Scalars['ID']['input']; - productIds: Array; + channelId: Scalars['ID']['input']; + productIds: Array; }; export type RemovePromotionsFromChannelInput = { - channelId: Scalars['ID']['input']; - promotionIds: Array; + channelId: Scalars['ID']['input']; + promotionIds: Array; }; export type RemoveShippingMethodsFromChannelInput = { - channelId: Scalars['ID']['input']; - shippingMethodIds: Array; + channelId: Scalars['ID']['input']; + shippingMethodIds: Array; }; export type RemoveStockLocationsFromChannelInput = { - channelId: Scalars['ID']['input']; - stockLocationIds: Array; + channelId: Scalars['ID']['input']; + stockLocationIds: Array; }; -export type Return = Node & StockMovement & { - __typename?: 'Return'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type Return = Node & + StockMovement & { + __typename?: 'Return'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type Role = Node & { - __typename?: 'Role'; - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Role'; + channels: Array; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + updatedAt: Scalars['DateTime']['output']; }; export type RoleFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'RoleList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type RoleListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type RoleSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type Sale = Node & StockMovement & { - __typename?: 'Sale'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Sale = Node & + StockMovement & { + __typename?: 'Sale'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type SearchInput = { - collectionId?: InputMaybe; - collectionSlug?: InputMaybe; - facetValueFilters?: InputMaybe>; - groupByProduct?: InputMaybe; - skip?: InputMaybe; - sort?: InputMaybe; - take?: InputMaybe; - term?: InputMaybe; + collectionId?: InputMaybe; + collectionSlug?: InputMaybe; + facetValueFilters?: InputMaybe>; + groupByProduct?: InputMaybe; + skip?: InputMaybe; + sort?: InputMaybe; + take?: InputMaybe; + term?: InputMaybe; }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; - success: Scalars['Boolean']['output']; + __typename?: 'SearchReindexResponse'; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SearchResponse'; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SearchResult = { - __typename?: 'SearchResult'; - /** An array of ids of the Channels in which this result appears */ - channelIds: Array; - /** An array of ids of the Collections in which this result appears */ - collectionIds: Array; - currencyCode: CurrencyCode; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - facetIds: Array; - facetValueIds: Array; - price: SearchResultPrice; - priceWithTax: SearchResultPrice; - productAsset?: Maybe; - productId: Scalars['ID']['output']; - productName: Scalars['String']['output']; - productVariantAsset?: Maybe; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - /** A relevance score for the result. Differs between database implementations */ - score: Scalars['Float']['output']; - sku: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'SearchResult'; + /** An array of ids of the Channels in which this result appears */ + channelIds: Array; + /** An array of ids of the Collections in which this result appears */ + collectionIds: Array; + currencyCode: CurrencyCode; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + facetIds: Array; + facetValueIds: Array; + price: SearchResultPrice; + priceWithTax: SearchResultPrice; + productAsset?: Maybe; + productId: Scalars['ID']['output']; + productName: Scalars['String']['output']; + productVariantAsset?: Maybe; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + /** A relevance score for the result. Differs between database implementations */ + score: Scalars['Float']['output']; + sku: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + __typename?: 'SearchResultAsset'; + focalPoint?: Maybe; + id: Scalars['ID']['output']; + preview: Scalars['String']['output']; }; /** The price of a search result product, either as a range or as a single price */ export type SearchResultPrice = PriceRange | SinglePrice; export type SearchResultSortParameter = { - name?: InputMaybe; - price?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; }; export type Seller = Node & { - __typename?: 'Seller'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Seller'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SellerFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type SellerList = PaginatedList & { - __typename?: 'SellerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SellerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SellerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type SellerSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ServerConfig = { - __typename?: 'ServerConfig'; - customFieldConfig: CustomFields; - orderProcess: Array; - permissions: Array; - permittedAssetTypes: Array; + __typename?: 'ServerConfig'; + customFieldConfig: CustomFields; + orderProcess: Array; + permissions: Array; + permittedAssetTypes: Array; }; export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order; -export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; +export type SetOrderShippingMethodResult = + | IneligibleShippingMethodError + | NoActiveOrderError + | Order + | OrderModificationError; /** Returned if the Payment settlement fails */ export type SettlePaymentError = ErrorResult & { - __typename?: 'SettlePaymentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'SettlePaymentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; -export type SettlePaymentResult = OrderStateTransitionError | Payment | PaymentStateTransitionError | SettlePaymentError; +export type SettlePaymentResult = + | OrderStateTransitionError + | Payment + | PaymentStateTransitionError + | SettlePaymentError; export type SettleRefundInput = { - id: Scalars['ID']['input']; - transactionId: Scalars['String']['input']; + id: Scalars['ID']['input']; + transactionId: Scalars['String']['input']; }; export type SettleRefundResult = Refund | RefundStateTransitionError; export type ShippingLine = { - __typename?: 'ShippingLine'; - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + __typename?: 'ShippingLine'; + discountedPrice: Scalars['Money']['output']; + discountedPriceWithTax: Scalars['Money']['output']; + discounts: Array; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + shippingMethod: ShippingMethod; }; export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; - calculator: ConfigurableOperation; - checker: ConfigurableOperation; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - fulfillmentHandlerCode: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethod'; + calculator: ConfigurableOperation; + checker: ConfigurableOperation; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + fulfillmentHandlerCode: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ShippingMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ - metadata?: Maybe; - name: Scalars['String']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'ShippingMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ + metadata?: Maybe; + name: Scalars['String']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type ShippingMethodSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodTranslation = { - __typename?: 'ShippingMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; - value: Scalars['Money']['output']; + __typename?: 'SinglePrice'; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC' + ASC = 'ASC', + DESC = 'DESC', } -export type StockAdjustment = Node & StockMovement & { - __typename?: 'StockAdjustment'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type StockAdjustment = Node & + StockMovement & { + __typename?: 'StockAdjustment'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type StockLevel = Node & { - __typename?: 'StockLevel'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - stockAllocated: Scalars['Int']['output']; - stockLocation: StockLocation; - stockLocationId: Scalars['ID']['output']; - stockOnHand: Scalars['Int']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'StockLevel'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + stockAllocated: Scalars['Int']['output']; + stockLocation: StockLocation; + stockLocationId: Scalars['ID']['output']; + stockOnHand: Scalars['Int']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type StockLevelInput = { - stockLocationId: Scalars['ID']['input']; - stockOnHand: Scalars['Int']['input']; + stockLocationId: Scalars['ID']['input']; + stockOnHand: Scalars['Int']['input']; }; export type StockLocation = Node & { - __typename?: 'StockLocation'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'StockLocation'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type StockLocationFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockLocationList = PaginatedList & { - __typename?: 'StockLocationList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'StockLocationList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockLocationListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type StockLocationSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockMovement = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; }; export type StockMovementItem = Allocation | Cancellation | Release | Return | Sale | StockAdjustment; export type StockMovementList = { - __typename?: 'StockMovementList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'StockMovementList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockMovementListOptions = { - skip?: InputMaybe; - take?: InputMaybe; - type?: InputMaybe; + skip?: InputMaybe; + take?: InputMaybe; + type?: InputMaybe; }; export enum StockMovementType { - ADJUSTMENT = 'ADJUSTMENT', - ALLOCATION = 'ALLOCATION', - CANCELLATION = 'CANCELLATION', - RELEASE = 'RELEASE', - RETURN = 'RETURN', - SALE = 'SALE' + ADJUSTMENT = 'ADJUSTMENT', + ALLOCATION = 'ALLOCATION', + CANCELLATION = 'CANCELLATION', + RELEASE = 'RELEASE', + RETURN = 'RETURN', + SALE = 'SALE', } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; - label?: Maybe>; - value: Scalars['String']['output']; + __typename?: 'StringFieldOption'; + label?: Maybe>; + value: Scalars['String']['output']; }; /** Operators for filtering on a list of String fields */ export type StringListOperators = { - inList: Scalars['String']['input']; + inList: Scalars['String']['input']; }; /** Operators for filtering on a String field */ export type StringOperators = { - contains?: InputMaybe; - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notContains?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; - regex?: InputMaybe; + contains?: InputMaybe; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notContains?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; + regex?: InputMaybe; }; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - __typename?: 'Success'; - success: Scalars['Boolean']['output']; + __typename?: 'Success'; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - __typename?: 'Surcharge'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - sku?: Maybe; - taxLines: Array; - taxRate: Scalars['Float']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Surcharge'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + sku?: Maybe; + taxLines: Array; + taxRate: Scalars['Float']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SurchargeInput = { - description: Scalars['String']['input']; - price: Scalars['Money']['input']; - priceIncludesTax: Scalars['Boolean']['input']; - sku?: InputMaybe; - taxDescription?: InputMaybe; - taxRate?: InputMaybe; + description: Scalars['String']['input']; + price: Scalars['Money']['input']; + priceIncludesTax: Scalars['Boolean']['input']; + sku?: InputMaybe; + taxDescription?: InputMaybe; + taxRate?: InputMaybe; }; export type Tag = Node & { - __typename?: 'Tag'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + __typename?: 'Tag'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TagList = PaginatedList & { - __typename?: 'TagList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TagList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TagListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TagSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxCategory = Node & { - __typename?: 'TaxCategory'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'TaxCategory'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isDefault: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type TaxCategoryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - isDefault?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isDefault?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxCategoryList = PaginatedList & { - __typename?: 'TaxCategoryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxCategoryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategoryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TaxCategorySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxLine = { - __typename?: 'TaxLine'; - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + __typename?: 'TaxLine'; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - __typename?: 'TaxRate'; - category: TaxCategory; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customerGroup?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['Float']['output']; - zone: Zone; + __typename?: 'TaxRate'; + category: TaxCategory; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customerGroup?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['Float']['output']; + zone: Zone; }; export type TaxRateFilterParameter = { - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxRateList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxRateListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TaxRateSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TestEligibleShippingMethodsInput = { - lines: Array; - shippingAddress: CreateAddressInput; + lines: Array; + shippingAddress: CreateAddressInput; }; export type TestShippingMethodInput = { - calculator: ConfigurableOperationInput; - checker: ConfigurableOperationInput; - lines: Array; - shippingAddress: CreateAddressInput; + calculator: ConfigurableOperationInput; + checker: ConfigurableOperationInput; + lines: Array; + shippingAddress: CreateAddressInput; }; export type TestShippingMethodOrderLineInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type TestShippingMethodQuote = { - __typename?: 'TestShippingMethodQuote'; - metadata?: Maybe; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'TestShippingMethodQuote'; + metadata?: Maybe; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type TestShippingMethodResult = { - __typename?: 'TestShippingMethodResult'; - eligible: Scalars['Boolean']['output']; - quote?: Maybe; + __typename?: 'TestShippingMethodResult'; + eligible: Scalars['Boolean']['output']; + quote?: Maybe; }; export type TextCustomFieldConfig = CustomField & { - __typename?: 'TextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'TextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError; @@ -6175,371 +6013,376 @@ export type TransitionOrderToStateResult = Order | OrderStateTransitionError; export type TransitionPaymentToStateResult = Payment | PaymentStateTransitionError; export type UpdateActiveAdministratorInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - lastName?: InputMaybe; - password?: InputMaybe; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + lastName?: InputMaybe; + password?: InputMaybe; }; export type UpdateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - id: Scalars['ID']['input']; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + id: Scalars['ID']['input']; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; }; export type UpdateAdministratorInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - lastName?: InputMaybe; - password?: InputMaybe; - roleIds?: InputMaybe>; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id: Scalars['ID']['input']; + lastName?: InputMaybe; + password?: InputMaybe; + roleIds?: InputMaybe>; }; export type UpdateAssetInput = { - customFields?: InputMaybe; - focalPoint?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - tags?: InputMaybe>; + customFields?: InputMaybe; + focalPoint?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; + tags?: InputMaybe>; }; export type UpdateChannelInput = { - availableCurrencyCodes?: InputMaybe>; - availableLanguageCodes?: InputMaybe>; - code?: InputMaybe; - customFields?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - defaultShippingZoneId?: InputMaybe; - defaultTaxZoneId?: InputMaybe; - id: Scalars['ID']['input']; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - sellerId?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; + availableCurrencyCodes?: InputMaybe>; + availableLanguageCodes?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode?: InputMaybe; + defaultShippingZoneId?: InputMaybe; + defaultTaxZoneId?: InputMaybe; + id: Scalars['ID']['input']; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax?: InputMaybe; + sellerId?: InputMaybe; + token?: InputMaybe; + trackInventory?: InputMaybe; }; export type UpdateChannelResult = Channel | LanguageNotAvailableError; export type UpdateCollectionInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - featuredAssetId?: InputMaybe; - filters?: InputMaybe>; - id: Scalars['ID']['input']; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - parentId?: InputMaybe; - translations?: InputMaybe>; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + featuredAssetId?: InputMaybe; + filters?: InputMaybe>; + id: Scalars['ID']['input']; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + parentId?: InputMaybe; + translations?: InputMaybe>; }; export type UpdateCollectionTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; - slug?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; + slug?: InputMaybe; }; export type UpdateCountryInput = { - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateCustomerGroupInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateCustomerInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id: Scalars['ID']['input']; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type UpdateCustomerNoteInput = { - note: Scalars['String']['input']; - noteId: Scalars['ID']['input']; + note: Scalars['String']['input']; + noteId: Scalars['ID']['input']; }; export type UpdateCustomerResult = Customer | EmailAddressConflictError; export type UpdateFacetInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - isPrivate?: InputMaybe; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + isPrivate?: InputMaybe; + translations?: InputMaybe>; }; export type UpdateFacetValueInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateGlobalSettingsInput = { - availableLanguages?: InputMaybe>; - customFields?: InputMaybe; - outOfStockThreshold?: InputMaybe; - trackInventory?: InputMaybe; + availableLanguages?: InputMaybe>; + customFields?: InputMaybe; + outOfStockThreshold?: InputMaybe; + trackInventory?: InputMaybe; }; export type UpdateGlobalSettingsResult = ChannelDefaultLanguageError | GlobalSettings; export type UpdateOrderAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; }; export type UpdateOrderInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; + customFields?: InputMaybe; + id: Scalars['ID']['input']; }; -export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError; +export type UpdateOrderItemsResult = + | InsufficientStockError + | NegativeQuantityError + | Order + | OrderLimitError + | OrderModificationError; export type UpdateOrderNoteInput = { - isPublic?: InputMaybe; - note?: InputMaybe; - noteId: Scalars['ID']['input']; + isPublic?: InputMaybe; + note?: InputMaybe; + noteId: Scalars['ID']['input']; }; export type UpdatePaymentMethodInput = { - checker?: InputMaybe; - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - handler?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + checker?: InputMaybe; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + handler?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductCustomFieldsInput = { - featuredReviewId?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; + featuredReviewId?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; }; export type UpdateProductInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductOptionGroupInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductOptionInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductReviewInput = { - body?: InputMaybe; - id: Scalars['ID']['input']; - response?: InputMaybe; - summary?: InputMaybe; + body?: InputMaybe; + id: Scalars['ID']['input']; + response?: InputMaybe; + summary?: InputMaybe; }; export type UpdateProductVariantInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - id: Scalars['ID']['input']; - optionIds?: InputMaybe>; - outOfStockThreshold?: InputMaybe; - /** Sets the price for the ProductVariant in the Channel's default currency */ - price?: InputMaybe; - /** Allows multiple prices to be set for the ProductVariant in different currencies. */ - prices?: InputMaybe>; - sku?: InputMaybe; - stockLevels?: InputMaybe>; - stockOnHand?: InputMaybe; - taxCategoryId?: InputMaybe; - trackInventory?: InputMaybe; - translations?: InputMaybe>; - useGlobalOutOfStockThreshold?: InputMaybe; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + id: Scalars['ID']['input']; + optionIds?: InputMaybe>; + outOfStockThreshold?: InputMaybe; + /** Sets the price for the ProductVariant in the Channel's default currency */ + price?: InputMaybe; + /** Allows multiple prices to be set for the ProductVariant in different currencies. */ + prices?: InputMaybe>; + sku?: InputMaybe; + stockLevels?: InputMaybe>; + stockOnHand?: InputMaybe; + taxCategoryId?: InputMaybe; + trackInventory?: InputMaybe; + translations?: InputMaybe>; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type UpdatePromotionInput = { - actions?: InputMaybe>; - conditions?: InputMaybe>; - couponCode?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id: Scalars['ID']['input']; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - translations?: InputMaybe>; + actions?: InputMaybe>; + conditions?: InputMaybe>; + couponCode?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + endsAt?: InputMaybe; + id: Scalars['ID']['input']; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + translations?: InputMaybe>; }; export type UpdatePromotionResult = MissingConditionsError | Promotion; export type UpdateProvinceInput = { - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateRoleInput = { - channelIds?: InputMaybe>; - code?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - permissions?: InputMaybe>; + channelIds?: InputMaybe>; + code?: InputMaybe; + description?: InputMaybe; + id: Scalars['ID']['input']; + permissions?: InputMaybe>; }; export type UpdateSellerInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateShippingMethodInput = { - calculator?: InputMaybe; - checker?: InputMaybe; - code?: InputMaybe; - customFields?: InputMaybe; - fulfillmentHandler?: InputMaybe; - id: Scalars['ID']['input']; - translations: Array; + calculator?: InputMaybe; + checker?: InputMaybe; + code?: InputMaybe; + customFields?: InputMaybe; + fulfillmentHandler?: InputMaybe; + id: Scalars['ID']['input']; + translations: Array; }; export type UpdateStockLocationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateTagInput = { - id: Scalars['ID']['input']; - value?: InputMaybe; + id: Scalars['ID']['input']; + value?: InputMaybe; }; export type UpdateTaxCategoryInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - isDefault?: InputMaybe; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + isDefault?: InputMaybe; + name?: InputMaybe; }; export type UpdateTaxRateInput = { - categoryId?: InputMaybe; - customFields?: InputMaybe; - customerGroupId?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - value?: InputMaybe; - zoneId?: InputMaybe; + categoryId?: InputMaybe; + customFields?: InputMaybe; + customerGroupId?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; + value?: InputMaybe; + zoneId?: InputMaybe; }; export type UpdateZoneInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type User = Node & { - __typename?: 'User'; - authenticationMethods: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; - lastLogin?: Maybe; - roles: Array; - updatedAt: Scalars['DateTime']['output']; - verified: Scalars['Boolean']['output']; + __typename?: 'User'; + authenticationMethods: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; + lastLogin?: Maybe; + roles: Array; + updatedAt: Scalars['DateTime']['output']; + verified: Scalars['Boolean']['output']; }; export type Zone = Node & { - __typename?: 'Zone'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Zone'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ZoneFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ZoneList = PaginatedList & { - __typename?: 'ZoneList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ZoneList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ZoneListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ZoneSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; diff --git a/packages/dev-server/test-plugins/reviews/generated-shop-types.ts b/packages/dev-server/test-plugins/reviews/generated-shop-types.ts index bf550c1a15..a495fdcf21 100644 --- a/packages/dev-server/test-plugins/reviews/generated-shop-types.ts +++ b/packages/dev-server/test-plugins/reviews/generated-shop-types.ts @@ -5,222 +5,234 @@ export type Exact = { [K in keyof T]: T[K] export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type Incremental = + | T + | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string | number; output: string | number; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - DateTime: { input: any; output: any; } - JSON: { input: any; output: any; } - Money: { input: any; output: any; } - Upload: { input: any; output: any; } + ID: { input: string | number; output: string | number }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + DateTime: { input: any; output: any }; + JSON: { input: any; output: any }; + Money: { input: any; output: any }; + Upload: { input: any; output: any }; }; export type ActiveOrderResult = NoActiveOrderError | Order; -export type AddPaymentToOrderResult = IneligiblePaymentMethodError | NoActiveOrderError | Order | OrderPaymentStateError | OrderStateTransitionError | PaymentDeclinedError | PaymentFailedError; +export type AddPaymentToOrderResult = + | IneligiblePaymentMethodError + | NoActiveOrderError + | Order + | OrderPaymentStateError + | OrderStateTransitionError + | PaymentDeclinedError + | PaymentFailedError; export type Address = Node & { - __typename?: 'Address'; - city?: Maybe; - company?: Maybe; - country: Country; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - defaultBillingAddress?: Maybe; - defaultShippingAddress?: Maybe; - fullName?: Maybe; - id: Scalars['ID']['output']; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1: Scalars['String']['output']; - streetLine2?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Address'; + city?: Maybe; + company?: Maybe; + country: Country; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + defaultBillingAddress?: Maybe; + defaultShippingAddress?: Maybe; + fullName?: Maybe; + id: Scalars['ID']['output']; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1: Scalars['String']['output']; + streetLine2?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type Adjustment = { - __typename?: 'Adjustment'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Adjustment'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + data?: Maybe; + description: Scalars['String']['output']; + type: AdjustmentType; }; export enum AdjustmentType { - DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', - OTHER = 'OTHER', - PROMOTION = 'PROMOTION' + DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', + OTHER = 'OTHER', + PROMOTION = 'PROMOTION', } /** Returned when attempting to set the Customer for an Order when already logged in. */ export type AlreadyLoggedInError = ErrorResult & { - __typename?: 'AlreadyLoggedInError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'AlreadyLoggedInError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; -export type ApplyCouponCodeResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | Order; +export type ApplyCouponCodeResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | Order; export type Asset = Node & { - __typename?: 'Asset'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - fileSize: Scalars['Int']['output']; - focalPoint?: Maybe; - height: Scalars['Int']['output']; - id: Scalars['ID']['output']; - mimeType: Scalars['String']['output']; - name: Scalars['String']['output']; - preview: Scalars['String']['output']; - source: Scalars['String']['output']; - tags: Array; - type: AssetType; - updatedAt: Scalars['DateTime']['output']; - width: Scalars['Int']['output']; + __typename?: 'Asset'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + fileSize: Scalars['Int']['output']; + focalPoint?: Maybe; + height: Scalars['Int']['output']; + id: Scalars['ID']['output']; + mimeType: Scalars['String']['output']; + name: Scalars['String']['output']; + preview: Scalars['String']['output']; + source: Scalars['String']['output']; + tags: Array; + type: AssetType; + updatedAt: Scalars['DateTime']['output']; + width: Scalars['Int']['output']; }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AssetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export enum AssetType { - BINARY = 'BINARY', - IMAGE = 'IMAGE', - VIDEO = 'VIDEO' + BINARY = 'BINARY', + IMAGE = 'IMAGE', + VIDEO = 'VIDEO', } export type AuthenticationInput = { - native?: InputMaybe; + native?: InputMaybe; }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'AuthenticationMethod'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + strategy: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type AuthenticationResult = CurrentUser | InvalidCredentialsError | NotVerifiedError; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'BooleanCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Operators for filtering on a list of Boolean fields */ export type BooleanListOperators = { - inList: Scalars['Boolean']['input']; + inList: Scalars['Boolean']['input']; }; /** Operators for filtering on a Boolean field */ export type BooleanOperators = { - eq?: InputMaybe; - isNull?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; export type Channel = Node & { - __typename?: 'Channel'; - availableCurrencyCodes: Array; - availableLanguageCodes?: Maybe>; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode: CurrencyCode; - customFields?: Maybe; - defaultCurrencyCode: CurrencyCode; - defaultLanguageCode: LanguageCode; - defaultShippingZone?: Maybe; - defaultTaxZone?: Maybe; - id: Scalars['ID']['output']; - /** Not yet used - will be implemented in a future release. */ - outOfStockThreshold?: Maybe; - pricesIncludeTax: Scalars['Boolean']['output']; - seller?: Maybe; - token: Scalars['String']['output']; - /** Not yet used - will be implemented in a future release. */ - trackInventory?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Channel'; + availableCurrencyCodes: Array; + availableLanguageCodes?: Maybe>; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode: CurrencyCode; + customFields?: Maybe; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: Maybe; + defaultTaxZone?: Maybe; + id: Scalars['ID']['output']; + /** Not yet used - will be implemented in a future release. */ + outOfStockThreshold?: Maybe; + pricesIncludeTax: Scalars['Boolean']['output']; + seller?: Maybe; + token: Scalars['String']['output']; + /** Not yet used - will be implemented in a future release. */ + trackInventory?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type Collection = Node & { - __typename?: 'Collection'; - assets: Array; - breadcrumbs: Array; - children?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - featuredAsset?: Maybe; - filters: Array; - id: Scalars['ID']['output']; - languageCode?: Maybe; - name: Scalars['String']['output']; - parent?: Maybe; - parentId: Scalars['ID']['output']; - position: Scalars['Int']['output']; - productVariants: ProductVariantList; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Collection'; + assets: Array; + breadcrumbs: Array; + children?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + featuredAsset?: Maybe; + filters: Array; + id: Scalars['ID']['output']; + languageCode?: Maybe; + name: Scalars['String']['output']; + parent?: Maybe; + parentId: Scalars['ID']['output']; + position: Scalars['Int']['output']; + productVariants: ProductVariantList; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; - export type CollectionProductVariantsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'CollectionBreadcrumb'; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CollectionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -228,150 +240,151 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - __typename?: 'CollectionResult'; - collection: Collection; - count: Scalars['Int']['output']; + __typename?: 'CollectionResult'; + collection: Collection; + count: Scalars['Int']['output']; }; export type CollectionSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CollectionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ConfigArg = { - __typename?: 'ConfigArg'; - name: Scalars['String']['output']; - value: Scalars['String']['output']; + __typename?: 'ConfigArg'; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; - defaultValue?: Maybe; - description?: Maybe; - label?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - required: Scalars['Boolean']['output']; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'ConfigArgDefinition'; + defaultValue?: Maybe; + description?: Maybe; + label?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + required: Scalars['Boolean']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type ConfigArgInput = { - name: Scalars['String']['input']; - /** A JSON stringified representation of the actual value */ - value: Scalars['String']['input']; + name: Scalars['String']['input']; + /** A JSON stringified representation of the actual value */ + value: Scalars['String']['input']; }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; - args: Array; - code: Scalars['String']['output']; + __typename?: 'ConfigurableOperation'; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + __typename?: 'ConfigurableOperationDefinition'; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; }; export type ConfigurableOperationInput = { - arguments: Array; - code: Scalars['String']['input']; + arguments: Array; + code: Scalars['String']['input']; }; export type Coordinate = { - __typename?: 'Coordinate'; - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; -}; - -export type Country = Node & Region & { - __typename?: 'Country'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + __typename?: 'Coordinate'; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; +}; + +export type Country = Node & + Region & { + __typename?: 'Country'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CountryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeExpiredError = ErrorResult & { - __typename?: 'CouponCodeExpiredError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeExpiredError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - __typename?: 'CouponCodeInvalidError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeInvalidError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - __typename?: 'CouponCodeLimitError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'CouponCodeLimitError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type CreateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode: Scalars['String']['input']; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1: Scalars['String']['input']; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode: Scalars['String']['input']; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1: Scalars['String']['input']; + streetLine2?: InputMaybe; }; export type CreateCustomerInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; /** @@ -381,445 +394,452 @@ export type CreateCustomerInput = { * @docsCategory common */ export enum CurrencyCode { - /** United Arab Emirates dirham */ - AED = 'AED', - /** Afghan afghani */ - AFN = 'AFN', - /** Albanian lek */ - ALL = 'ALL', - /** Armenian dram */ - AMD = 'AMD', - /** Netherlands Antillean guilder */ - ANG = 'ANG', - /** Angolan kwanza */ - AOA = 'AOA', - /** Argentine peso */ - ARS = 'ARS', - /** Australian dollar */ - AUD = 'AUD', - /** Aruban florin */ - AWG = 'AWG', - /** Azerbaijani manat */ - AZN = 'AZN', - /** Bosnia and Herzegovina convertible mark */ - BAM = 'BAM', - /** Barbados dollar */ - BBD = 'BBD', - /** Bangladeshi taka */ - BDT = 'BDT', - /** Bulgarian lev */ - BGN = 'BGN', - /** Bahraini dinar */ - BHD = 'BHD', - /** Burundian franc */ - BIF = 'BIF', - /** Bermudian dollar */ - BMD = 'BMD', - /** Brunei dollar */ - BND = 'BND', - /** Boliviano */ - BOB = 'BOB', - /** Brazilian real */ - BRL = 'BRL', - /** Bahamian dollar */ - BSD = 'BSD', - /** Bhutanese ngultrum */ - BTN = 'BTN', - /** Botswana pula */ - BWP = 'BWP', - /** Belarusian ruble */ - BYN = 'BYN', - /** Belize dollar */ - BZD = 'BZD', - /** Canadian dollar */ - CAD = 'CAD', - /** Congolese franc */ - CDF = 'CDF', - /** Swiss franc */ - CHF = 'CHF', - /** Chilean peso */ - CLP = 'CLP', - /** Renminbi (Chinese) yuan */ - CNY = 'CNY', - /** Colombian peso */ - COP = 'COP', - /** Costa Rican colon */ - CRC = 'CRC', - /** Cuban convertible peso */ - CUC = 'CUC', - /** Cuban peso */ - CUP = 'CUP', - /** Cape Verde escudo */ - CVE = 'CVE', - /** Czech koruna */ - CZK = 'CZK', - /** Djiboutian franc */ - DJF = 'DJF', - /** Danish krone */ - DKK = 'DKK', - /** Dominican peso */ - DOP = 'DOP', - /** Algerian dinar */ - DZD = 'DZD', - /** Egyptian pound */ - EGP = 'EGP', - /** Eritrean nakfa */ - ERN = 'ERN', - /** Ethiopian birr */ - ETB = 'ETB', - /** Euro */ - EUR = 'EUR', - /** Fiji dollar */ - FJD = 'FJD', - /** Falkland Islands pound */ - FKP = 'FKP', - /** Pound sterling */ - GBP = 'GBP', - /** Georgian lari */ - GEL = 'GEL', - /** Ghanaian cedi */ - GHS = 'GHS', - /** Gibraltar pound */ - GIP = 'GIP', - /** Gambian dalasi */ - GMD = 'GMD', - /** Guinean franc */ - GNF = 'GNF', - /** Guatemalan quetzal */ - GTQ = 'GTQ', - /** Guyanese dollar */ - GYD = 'GYD', - /** Hong Kong dollar */ - HKD = 'HKD', - /** Honduran lempira */ - HNL = 'HNL', - /** Croatian kuna */ - HRK = 'HRK', - /** Haitian gourde */ - HTG = 'HTG', - /** Hungarian forint */ - HUF = 'HUF', - /** Indonesian rupiah */ - IDR = 'IDR', - /** Israeli new shekel */ - ILS = 'ILS', - /** Indian rupee */ - INR = 'INR', - /** Iraqi dinar */ - IQD = 'IQD', - /** Iranian rial */ - IRR = 'IRR', - /** Icelandic króna */ - ISK = 'ISK', - /** Jamaican dollar */ - JMD = 'JMD', - /** Jordanian dinar */ - JOD = 'JOD', - /** Japanese yen */ - JPY = 'JPY', - /** Kenyan shilling */ - KES = 'KES', - /** Kyrgyzstani som */ - KGS = 'KGS', - /** Cambodian riel */ - KHR = 'KHR', - /** Comoro franc */ - KMF = 'KMF', - /** North Korean won */ - KPW = 'KPW', - /** South Korean won */ - KRW = 'KRW', - /** Kuwaiti dinar */ - KWD = 'KWD', - /** Cayman Islands dollar */ - KYD = 'KYD', - /** Kazakhstani tenge */ - KZT = 'KZT', - /** Lao kip */ - LAK = 'LAK', - /** Lebanese pound */ - LBP = 'LBP', - /** Sri Lankan rupee */ - LKR = 'LKR', - /** Liberian dollar */ - LRD = 'LRD', - /** Lesotho loti */ - LSL = 'LSL', - /** Libyan dinar */ - LYD = 'LYD', - /** Moroccan dirham */ - MAD = 'MAD', - /** Moldovan leu */ - MDL = 'MDL', - /** Malagasy ariary */ - MGA = 'MGA', - /** Macedonian denar */ - MKD = 'MKD', - /** Myanmar kyat */ - MMK = 'MMK', - /** Mongolian tögrög */ - MNT = 'MNT', - /** Macanese pataca */ - MOP = 'MOP', - /** Mauritanian ouguiya */ - MRU = 'MRU', - /** Mauritian rupee */ - MUR = 'MUR', - /** Maldivian rufiyaa */ - MVR = 'MVR', - /** Malawian kwacha */ - MWK = 'MWK', - /** Mexican peso */ - MXN = 'MXN', - /** Malaysian ringgit */ - MYR = 'MYR', - /** Mozambican metical */ - MZN = 'MZN', - /** Namibian dollar */ - NAD = 'NAD', - /** Nigerian naira */ - NGN = 'NGN', - /** Nicaraguan córdoba */ - NIO = 'NIO', - /** Norwegian krone */ - NOK = 'NOK', - /** Nepalese rupee */ - NPR = 'NPR', - /** New Zealand dollar */ - NZD = 'NZD', - /** Omani rial */ - OMR = 'OMR', - /** Panamanian balboa */ - PAB = 'PAB', - /** Peruvian sol */ - PEN = 'PEN', - /** Papua New Guinean kina */ - PGK = 'PGK', - /** Philippine peso */ - PHP = 'PHP', - /** Pakistani rupee */ - PKR = 'PKR', - /** Polish złoty */ - PLN = 'PLN', - /** Paraguayan guaraní */ - PYG = 'PYG', - /** Qatari riyal */ - QAR = 'QAR', - /** Romanian leu */ - RON = 'RON', - /** Serbian dinar */ - RSD = 'RSD', - /** Russian ruble */ - RUB = 'RUB', - /** Rwandan franc */ - RWF = 'RWF', - /** Saudi riyal */ - SAR = 'SAR', - /** Solomon Islands dollar */ - SBD = 'SBD', - /** Seychelles rupee */ - SCR = 'SCR', - /** Sudanese pound */ - SDG = 'SDG', - /** Swedish krona/kronor */ - SEK = 'SEK', - /** Singapore dollar */ - SGD = 'SGD', - /** Saint Helena pound */ - SHP = 'SHP', - /** Sierra Leonean leone */ - SLL = 'SLL', - /** Somali shilling */ - SOS = 'SOS', - /** Surinamese dollar */ - SRD = 'SRD', - /** South Sudanese pound */ - SSP = 'SSP', - /** São Tomé and Príncipe dobra */ - STN = 'STN', - /** Salvadoran colón */ - SVC = 'SVC', - /** Syrian pound */ - SYP = 'SYP', - /** Swazi lilangeni */ - SZL = 'SZL', - /** Thai baht */ - THB = 'THB', - /** Tajikistani somoni */ - TJS = 'TJS', - /** Turkmenistan manat */ - TMT = 'TMT', - /** Tunisian dinar */ - TND = 'TND', - /** Tongan paʻanga */ - TOP = 'TOP', - /** Turkish lira */ - TRY = 'TRY', - /** Trinidad and Tobago dollar */ - TTD = 'TTD', - /** New Taiwan dollar */ - TWD = 'TWD', - /** Tanzanian shilling */ - TZS = 'TZS', - /** Ukrainian hryvnia */ - UAH = 'UAH', - /** Ugandan shilling */ - UGX = 'UGX', - /** United States dollar */ - USD = 'USD', - /** Uruguayan peso */ - UYU = 'UYU', - /** Uzbekistan som */ - UZS = 'UZS', - /** Venezuelan bolívar soberano */ - VES = 'VES', - /** Vietnamese đồng */ - VND = 'VND', - /** Vanuatu vatu */ - VUV = 'VUV', - /** Samoan tala */ - WST = 'WST', - /** CFA franc BEAC */ - XAF = 'XAF', - /** East Caribbean dollar */ - XCD = 'XCD', - /** CFA franc BCEAO */ - XOF = 'XOF', - /** CFP franc (franc Pacifique) */ - XPF = 'XPF', - /** Yemeni rial */ - YER = 'YER', - /** South African rand */ - ZAR = 'ZAR', - /** Zambian kwacha */ - ZMW = 'ZMW', - /** Zimbabwean dollar */ - ZWL = 'ZWL' + /** United Arab Emirates dirham */ + AED = 'AED', + /** Afghan afghani */ + AFN = 'AFN', + /** Albanian lek */ + ALL = 'ALL', + /** Armenian dram */ + AMD = 'AMD', + /** Netherlands Antillean guilder */ + ANG = 'ANG', + /** Angolan kwanza */ + AOA = 'AOA', + /** Argentine peso */ + ARS = 'ARS', + /** Australian dollar */ + AUD = 'AUD', + /** Aruban florin */ + AWG = 'AWG', + /** Azerbaijani manat */ + AZN = 'AZN', + /** Bosnia and Herzegovina convertible mark */ + BAM = 'BAM', + /** Barbados dollar */ + BBD = 'BBD', + /** Bangladeshi taka */ + BDT = 'BDT', + /** Bulgarian lev */ + BGN = 'BGN', + /** Bahraini dinar */ + BHD = 'BHD', + /** Burundian franc */ + BIF = 'BIF', + /** Bermudian dollar */ + BMD = 'BMD', + /** Brunei dollar */ + BND = 'BND', + /** Boliviano */ + BOB = 'BOB', + /** Brazilian real */ + BRL = 'BRL', + /** Bahamian dollar */ + BSD = 'BSD', + /** Bhutanese ngultrum */ + BTN = 'BTN', + /** Botswana pula */ + BWP = 'BWP', + /** Belarusian ruble */ + BYN = 'BYN', + /** Belize dollar */ + BZD = 'BZD', + /** Canadian dollar */ + CAD = 'CAD', + /** Congolese franc */ + CDF = 'CDF', + /** Swiss franc */ + CHF = 'CHF', + /** Chilean peso */ + CLP = 'CLP', + /** Renminbi (Chinese) yuan */ + CNY = 'CNY', + /** Colombian peso */ + COP = 'COP', + /** Costa Rican colon */ + CRC = 'CRC', + /** Cuban convertible peso */ + CUC = 'CUC', + /** Cuban peso */ + CUP = 'CUP', + /** Cape Verde escudo */ + CVE = 'CVE', + /** Czech koruna */ + CZK = 'CZK', + /** Djiboutian franc */ + DJF = 'DJF', + /** Danish krone */ + DKK = 'DKK', + /** Dominican peso */ + DOP = 'DOP', + /** Algerian dinar */ + DZD = 'DZD', + /** Egyptian pound */ + EGP = 'EGP', + /** Eritrean nakfa */ + ERN = 'ERN', + /** Ethiopian birr */ + ETB = 'ETB', + /** Euro */ + EUR = 'EUR', + /** Fiji dollar */ + FJD = 'FJD', + /** Falkland Islands pound */ + FKP = 'FKP', + /** Pound sterling */ + GBP = 'GBP', + /** Georgian lari */ + GEL = 'GEL', + /** Ghanaian cedi */ + GHS = 'GHS', + /** Gibraltar pound */ + GIP = 'GIP', + /** Gambian dalasi */ + GMD = 'GMD', + /** Guinean franc */ + GNF = 'GNF', + /** Guatemalan quetzal */ + GTQ = 'GTQ', + /** Guyanese dollar */ + GYD = 'GYD', + /** Hong Kong dollar */ + HKD = 'HKD', + /** Honduran lempira */ + HNL = 'HNL', + /** Croatian kuna */ + HRK = 'HRK', + /** Haitian gourde */ + HTG = 'HTG', + /** Hungarian forint */ + HUF = 'HUF', + /** Indonesian rupiah */ + IDR = 'IDR', + /** Israeli new shekel */ + ILS = 'ILS', + /** Indian rupee */ + INR = 'INR', + /** Iraqi dinar */ + IQD = 'IQD', + /** Iranian rial */ + IRR = 'IRR', + /** Icelandic króna */ + ISK = 'ISK', + /** Jamaican dollar */ + JMD = 'JMD', + /** Jordanian dinar */ + JOD = 'JOD', + /** Japanese yen */ + JPY = 'JPY', + /** Kenyan shilling */ + KES = 'KES', + /** Kyrgyzstani som */ + KGS = 'KGS', + /** Cambodian riel */ + KHR = 'KHR', + /** Comoro franc */ + KMF = 'KMF', + /** North Korean won */ + KPW = 'KPW', + /** South Korean won */ + KRW = 'KRW', + /** Kuwaiti dinar */ + KWD = 'KWD', + /** Cayman Islands dollar */ + KYD = 'KYD', + /** Kazakhstani tenge */ + KZT = 'KZT', + /** Lao kip */ + LAK = 'LAK', + /** Lebanese pound */ + LBP = 'LBP', + /** Sri Lankan rupee */ + LKR = 'LKR', + /** Liberian dollar */ + LRD = 'LRD', + /** Lesotho loti */ + LSL = 'LSL', + /** Libyan dinar */ + LYD = 'LYD', + /** Moroccan dirham */ + MAD = 'MAD', + /** Moldovan leu */ + MDL = 'MDL', + /** Malagasy ariary */ + MGA = 'MGA', + /** Macedonian denar */ + MKD = 'MKD', + /** Myanmar kyat */ + MMK = 'MMK', + /** Mongolian tögrög */ + MNT = 'MNT', + /** Macanese pataca */ + MOP = 'MOP', + /** Mauritanian ouguiya */ + MRU = 'MRU', + /** Mauritian rupee */ + MUR = 'MUR', + /** Maldivian rufiyaa */ + MVR = 'MVR', + /** Malawian kwacha */ + MWK = 'MWK', + /** Mexican peso */ + MXN = 'MXN', + /** Malaysian ringgit */ + MYR = 'MYR', + /** Mozambican metical */ + MZN = 'MZN', + /** Namibian dollar */ + NAD = 'NAD', + /** Nigerian naira */ + NGN = 'NGN', + /** Nicaraguan córdoba */ + NIO = 'NIO', + /** Norwegian krone */ + NOK = 'NOK', + /** Nepalese rupee */ + NPR = 'NPR', + /** New Zealand dollar */ + NZD = 'NZD', + /** Omani rial */ + OMR = 'OMR', + /** Panamanian balboa */ + PAB = 'PAB', + /** Peruvian sol */ + PEN = 'PEN', + /** Papua New Guinean kina */ + PGK = 'PGK', + /** Philippine peso */ + PHP = 'PHP', + /** Pakistani rupee */ + PKR = 'PKR', + /** Polish złoty */ + PLN = 'PLN', + /** Paraguayan guaraní */ + PYG = 'PYG', + /** Qatari riyal */ + QAR = 'QAR', + /** Romanian leu */ + RON = 'RON', + /** Serbian dinar */ + RSD = 'RSD', + /** Russian ruble */ + RUB = 'RUB', + /** Rwandan franc */ + RWF = 'RWF', + /** Saudi riyal */ + SAR = 'SAR', + /** Solomon Islands dollar */ + SBD = 'SBD', + /** Seychelles rupee */ + SCR = 'SCR', + /** Sudanese pound */ + SDG = 'SDG', + /** Swedish krona/kronor */ + SEK = 'SEK', + /** Singapore dollar */ + SGD = 'SGD', + /** Saint Helena pound */ + SHP = 'SHP', + /** Sierra Leonean leone */ + SLL = 'SLL', + /** Somali shilling */ + SOS = 'SOS', + /** Surinamese dollar */ + SRD = 'SRD', + /** South Sudanese pound */ + SSP = 'SSP', + /** São Tomé and Príncipe dobra */ + STN = 'STN', + /** Salvadoran colón */ + SVC = 'SVC', + /** Syrian pound */ + SYP = 'SYP', + /** Swazi lilangeni */ + SZL = 'SZL', + /** Thai baht */ + THB = 'THB', + /** Tajikistani somoni */ + TJS = 'TJS', + /** Turkmenistan manat */ + TMT = 'TMT', + /** Tunisian dinar */ + TND = 'TND', + /** Tongan paʻanga */ + TOP = 'TOP', + /** Turkish lira */ + TRY = 'TRY', + /** Trinidad and Tobago dollar */ + TTD = 'TTD', + /** New Taiwan dollar */ + TWD = 'TWD', + /** Tanzanian shilling */ + TZS = 'TZS', + /** Ukrainian hryvnia */ + UAH = 'UAH', + /** Ugandan shilling */ + UGX = 'UGX', + /** United States dollar */ + USD = 'USD', + /** Uruguayan peso */ + UYU = 'UYU', + /** Uzbekistan som */ + UZS = 'UZS', + /** Venezuelan bolívar soberano */ + VES = 'VES', + /** Vietnamese đồng */ + VND = 'VND', + /** Vanuatu vatu */ + VUV = 'VUV', + /** Samoan tala */ + WST = 'WST', + /** CFA franc BEAC */ + XAF = 'XAF', + /** East Caribbean dollar */ + XCD = 'XCD', + /** CFA franc BCEAO */ + XOF = 'XOF', + /** CFP franc (franc Pacifique) */ + XPF = 'XPF', + /** Yemeni rial */ + YER = 'YER', + /** South African rand */ + ZAR = 'ZAR', + /** Zambian kwacha */ + ZMW = 'ZMW', + /** Zimbabwean dollar */ + ZWL = 'ZWL', } export type CurrentUser = { - __typename?: 'CurrentUser'; - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + __typename?: 'CurrentUser'; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + __typename?: 'CurrentUserChannel'; + code: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + token: Scalars['String']['output']; }; export type CustomField = { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = + | BooleanCustomFieldConfig + | DateTimeCustomFieldConfig + | FloatCustomFieldConfig + | IntCustomFieldConfig + | LocaleStringCustomFieldConfig + | LocaleTextCustomFieldConfig + | RelationCustomFieldConfig + | StringCustomFieldConfig + | TextCustomFieldConfig; export type Customer = Node & { - __typename?: 'Customer'; - addresses?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - orders: OrderList; - phoneNumber?: Maybe; - title?: Maybe; - updatedAt: Scalars['DateTime']['output']; - user?: Maybe; + __typename?: 'Customer'; + addresses?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + orders: OrderList; + phoneNumber?: Maybe; + title?: Maybe; + updatedAt: Scalars['DateTime']['output']; + user?: Maybe; }; - export type CustomerOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CustomerGroup'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customers: CustomerList; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; - export type CustomerGroupCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; /** Operators for filtering on a list of Date fields */ export type DateListOperators = { - inList: Scalars['DateTime']['input']; + inList: Scalars['DateTime']['input']; }; /** Operators for filtering on a DateTime field */ export type DateOperators = { - after?: InputMaybe; - before?: InputMaybe; - between?: InputMaybe; - eq?: InputMaybe; - isNull?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; export type DateRange = { - end: Scalars['DateTime']['input']; - start: Scalars['DateTime']['input']; + end: Scalars['DateTime']['input']; + start: Scalars['DateTime']['input']; }; /** @@ -827,157 +847,157 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - __typename?: 'DateTimeCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'DateTimeCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; - message?: Maybe; - result: DeletionResult; + __typename?: 'DeletionResponse'; + message?: Maybe; + result: DeletionResult; }; export enum DeletionResult { - /** The entity was successfully deleted */ - DELETED = 'DELETED', - /** Deletion did not take place, reason given in message */ - NOT_DELETED = 'NOT_DELETED' + /** The entity was successfully deleted */ + DELETED = 'DELETED', + /** Deletion did not take place, reason given in message */ + NOT_DELETED = 'NOT_DELETED', } export type Discount = { - __typename?: 'Discount'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Discount'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - __typename?: 'EmailAddressConflictError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmailAddressConflictError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum ErrorCode { - ALREADY_LOGGED_IN_ERROR = 'ALREADY_LOGGED_IN_ERROR', - COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', - COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', - COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', - EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', - GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', - IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR = 'IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR', - IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR = 'IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR', - INELIGIBLE_PAYMENT_METHOD_ERROR = 'INELIGIBLE_PAYMENT_METHOD_ERROR', - INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', - INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', - INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', - MISSING_PASSWORD_ERROR = 'MISSING_PASSWORD_ERROR', - NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', - NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', - NOT_VERIFIED_ERROR = 'NOT_VERIFIED_ERROR', - NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', - ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', - ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', - ORDER_PAYMENT_STATE_ERROR = 'ORDER_PAYMENT_STATE_ERROR', - ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', - PASSWORD_ALREADY_SET_ERROR = 'PASSWORD_ALREADY_SET_ERROR', - PASSWORD_RESET_TOKEN_EXPIRED_ERROR = 'PASSWORD_RESET_TOKEN_EXPIRED_ERROR', - PASSWORD_RESET_TOKEN_INVALID_ERROR = 'PASSWORD_RESET_TOKEN_INVALID_ERROR', - PASSWORD_VALIDATION_ERROR = 'PASSWORD_VALIDATION_ERROR', - PAYMENT_DECLINED_ERROR = 'PAYMENT_DECLINED_ERROR', - PAYMENT_FAILED_ERROR = 'PAYMENT_FAILED_ERROR', - UNKNOWN_ERROR = 'UNKNOWN_ERROR', - VERIFICATION_TOKEN_EXPIRED_ERROR = 'VERIFICATION_TOKEN_EXPIRED_ERROR', - VERIFICATION_TOKEN_INVALID_ERROR = 'VERIFICATION_TOKEN_INVALID_ERROR' + ALREADY_LOGGED_IN_ERROR = 'ALREADY_LOGGED_IN_ERROR', + COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', + COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', + COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', + EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', + GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', + IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR = 'IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR', + IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR = 'IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR', + INELIGIBLE_PAYMENT_METHOD_ERROR = 'INELIGIBLE_PAYMENT_METHOD_ERROR', + INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', + INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', + INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', + MISSING_PASSWORD_ERROR = 'MISSING_PASSWORD_ERROR', + NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', + NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', + NOT_VERIFIED_ERROR = 'NOT_VERIFIED_ERROR', + NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', + ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', + ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', + ORDER_PAYMENT_STATE_ERROR = 'ORDER_PAYMENT_STATE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', + PASSWORD_ALREADY_SET_ERROR = 'PASSWORD_ALREADY_SET_ERROR', + PASSWORD_RESET_TOKEN_EXPIRED_ERROR = 'PASSWORD_RESET_TOKEN_EXPIRED_ERROR', + PASSWORD_RESET_TOKEN_INVALID_ERROR = 'PASSWORD_RESET_TOKEN_INVALID_ERROR', + PASSWORD_VALIDATION_ERROR = 'PASSWORD_VALIDATION_ERROR', + PAYMENT_DECLINED_ERROR = 'PAYMENT_DECLINED_ERROR', + PAYMENT_FAILED_ERROR = 'PAYMENT_FAILED_ERROR', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', + VERIFICATION_TOKEN_EXPIRED_ERROR = 'VERIFICATION_TOKEN_EXPIRED_ERROR', + VERIFICATION_TOKEN_INVALID_ERROR = 'VERIFICATION_TOKEN_INVALID_ERROR', } export type ErrorResult = { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Facet = Node & { - __typename?: 'Facet'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - values: Array; + __typename?: 'Facet'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + values: Array; }; export type FacetFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type FacetSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetValue = Node & { - __typename?: 'FacetValue'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - facet: Facet; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValue'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + facet: Facet; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -989,8 +1009,8 @@ export type FacetValue = Node & { * * ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }` */ export type FacetValueFilterInput = { - and?: InputMaybe; - or?: InputMaybe>; + and?: InputMaybe; + or?: InputMaybe>; }; /** @@ -998,153 +1018,153 @@ export type FacetValueFilterInput = { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; - count: Scalars['Int']['output']; - facetValue: FacetValue; + __typename?: 'FacetValueResult'; + count: Scalars['Int']['output']; + facetValue: FacetValue; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValueTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'FloatCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - lines: Array; - method: Scalars['String']['output']; - state: Scalars['String']['output']; - /** @deprecated Use the `lines` field instead */ - summary: Array; - trackingCode?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Fulfillment'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + lines: Array; + method: Scalars['String']['output']; + state: Scalars['String']['output']; + /** @deprecated Use the `lines` field instead */ + summary: Array; + trackingCode?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type FulfillmentLine = { - __typename?: 'FulfillmentLine'; - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'FulfillmentLine'; + fulfillment: Fulfillment; + fulfillmentId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; export enum GlobalFlag { - FALSE = 'FALSE', - INHERIT = 'INHERIT', - TRUE = 'TRUE' + FALSE = 'FALSE', + INHERIT = 'INHERIT', + TRUE = 'TRUE', } /** Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it. */ export type GuestCheckoutError = ErrorResult & { - __typename?: 'GuestCheckoutError'; - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'GuestCheckoutError'; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'HistoryEntry'; + createdAt: Scalars['DateTime']['output']; + data: Scalars['JSON']['output']; + id: Scalars['ID']['output']; + type: HistoryEntryType; + updatedAt: Scalars['DateTime']['output']; }; export type HistoryEntryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'HistoryEntryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type HistoryEntrySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export enum HistoryEntryType { - CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', - CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', - CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', - CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', - CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', - CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', - CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', - CUSTOMER_NOTE = 'CUSTOMER_NOTE', - CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', - CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', - CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', - CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', - CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', - CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', - ORDER_CANCELLATION = 'ORDER_CANCELLATION', - ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', - ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', - ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', - ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', - ORDER_MODIFIED = 'ORDER_MODIFIED', - ORDER_NOTE = 'ORDER_NOTE', - ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', - ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', - ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION' + CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', + CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', + CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', + CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', + CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', + CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', + CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', + CUSTOMER_NOTE = 'CUSTOMER_NOTE', + CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', + CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', + CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', + CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', + CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', + CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', + ORDER_CANCELLATION = 'ORDER_CANCELLATION', + ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', + ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', + ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', + ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', + ORDER_MODIFIED = 'ORDER_MODIFIED', + ORDER_NOTE = 'ORDER_NOTE', + ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', + ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', + ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION', } /** Operators for filtering on a list of ID fields */ export type IdListOperators = { - inList: Scalars['ID']['input']; + inList: Scalars['ID']['input']; }; /** Operators for filtering on an ID field */ export type IdOperators = { - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; }; /** @@ -1152,9 +1172,9 @@ export type IdOperators = { * expired according to the `verificationTokenDuration` setting in the AuthOptions. */ export type IdentifierChangeTokenExpiredError = ErrorResult & { - __typename?: 'IdentifierChangeTokenExpiredError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'IdentifierChangeTokenExpiredError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -1162,57 +1182,57 @@ export type IdentifierChangeTokenExpiredError = ErrorResult & { * invalid or does not match any expected tokens. */ export type IdentifierChangeTokenInvalidError = ErrorResult & { - __typename?: 'IdentifierChangeTokenInvalidError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'IdentifierChangeTokenInvalidError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add a Payment using a PaymentMethod for which the Order is not eligible. */ export type IneligiblePaymentMethodError = ErrorResult & { - __typename?: 'IneligiblePaymentMethodError'; - eligibilityCheckerMessage?: Maybe; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'IneligiblePaymentMethodError'; + eligibilityCheckerMessage?: Maybe; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to set a ShippingMethod for which the Order is not eligible */ export type IneligibleShippingMethodError = ErrorResult & { - __typename?: 'IneligibleShippingMethodError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'IneligibleShippingMethodError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - __typename?: 'InsufficientStockError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + __typename?: 'InsufficientStockError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'IntCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - __typename?: 'InvalidCredentialsError'; - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidCredentialsError'; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -1225,632 +1245,608 @@ export type InvalidCredentialsError = ErrorResult & { * @docsCategory common */ export enum LanguageCode { - /** Afrikaans */ - af = 'af', - /** Akan */ - ak = 'ak', - /** Amharic */ - am = 'am', - /** Arabic */ - ar = 'ar', - /** Assamese */ - as = 'as', - /** Azerbaijani */ - az = 'az', - /** Belarusian */ - be = 'be', - /** Bulgarian */ - bg = 'bg', - /** Bambara */ - bm = 'bm', - /** Bangla */ - bn = 'bn', - /** Tibetan */ - bo = 'bo', - /** Breton */ - br = 'br', - /** Bosnian */ - bs = 'bs', - /** Catalan */ - ca = 'ca', - /** Chechen */ - ce = 'ce', - /** Corsican */ - co = 'co', - /** Czech */ - cs = 'cs', - /** Church Slavic */ - cu = 'cu', - /** Welsh */ - cy = 'cy', - /** Danish */ - da = 'da', - /** German */ - de = 'de', - /** Austrian German */ - de_AT = 'de_AT', - /** Swiss High German */ - de_CH = 'de_CH', - /** Dzongkha */ - dz = 'dz', - /** Ewe */ - ee = 'ee', - /** Greek */ - el = 'el', - /** English */ - en = 'en', - /** Australian English */ - en_AU = 'en_AU', - /** Canadian English */ - en_CA = 'en_CA', - /** British English */ - en_GB = 'en_GB', - /** American English */ - en_US = 'en_US', - /** Esperanto */ - eo = 'eo', - /** Spanish */ - es = 'es', - /** European Spanish */ - es_ES = 'es_ES', - /** Mexican Spanish */ - es_MX = 'es_MX', - /** Estonian */ - et = 'et', - /** Basque */ - eu = 'eu', - /** Persian */ - fa = 'fa', - /** Dari */ - fa_AF = 'fa_AF', - /** Fulah */ - ff = 'ff', - /** Finnish */ - fi = 'fi', - /** Faroese */ - fo = 'fo', - /** French */ - fr = 'fr', - /** Canadian French */ - fr_CA = 'fr_CA', - /** Swiss French */ - fr_CH = 'fr_CH', - /** Western Frisian */ - fy = 'fy', - /** Irish */ - ga = 'ga', - /** Scottish Gaelic */ - gd = 'gd', - /** Galician */ - gl = 'gl', - /** Gujarati */ - gu = 'gu', - /** Manx */ - gv = 'gv', - /** Hausa */ - ha = 'ha', - /** Hebrew */ - he = 'he', - /** Hindi */ - hi = 'hi', - /** Croatian */ - hr = 'hr', - /** Haitian Creole */ - ht = 'ht', - /** Hungarian */ - hu = 'hu', - /** Armenian */ - hy = 'hy', - /** Interlingua */ - ia = 'ia', - /** Indonesian */ - id = 'id', - /** Igbo */ - ig = 'ig', - /** Sichuan Yi */ - ii = 'ii', - /** Icelandic */ - is = 'is', - /** Italian */ - it = 'it', - /** Japanese */ - ja = 'ja', - /** Javanese */ - jv = 'jv', - /** Georgian */ - ka = 'ka', - /** Kikuyu */ - ki = 'ki', - /** Kazakh */ - kk = 'kk', - /** Kalaallisut */ - kl = 'kl', - /** Khmer */ - km = 'km', - /** Kannada */ - kn = 'kn', - /** Korean */ - ko = 'ko', - /** Kashmiri */ - ks = 'ks', - /** Kurdish */ - ku = 'ku', - /** Cornish */ - kw = 'kw', - /** Kyrgyz */ - ky = 'ky', - /** Latin */ - la = 'la', - /** Luxembourgish */ - lb = 'lb', - /** Ganda */ - lg = 'lg', - /** Lingala */ - ln = 'ln', - /** Lao */ - lo = 'lo', - /** Lithuanian */ - lt = 'lt', - /** Luba-Katanga */ - lu = 'lu', - /** Latvian */ - lv = 'lv', - /** Malagasy */ - mg = 'mg', - /** Maori */ - mi = 'mi', - /** Macedonian */ - mk = 'mk', - /** Malayalam */ - ml = 'ml', - /** Mongolian */ - mn = 'mn', - /** Marathi */ - mr = 'mr', - /** Malay */ - ms = 'ms', - /** Maltese */ - mt = 'mt', - /** Burmese */ - my = 'my', - /** Norwegian Bokmål */ - nb = 'nb', - /** North Ndebele */ - nd = 'nd', - /** Nepali */ - ne = 'ne', - /** Dutch */ - nl = 'nl', - /** Flemish */ - nl_BE = 'nl_BE', - /** Norwegian Nynorsk */ - nn = 'nn', - /** Nyanja */ - ny = 'ny', - /** Oromo */ - om = 'om', - /** Odia */ - or = 'or', - /** Ossetic */ - os = 'os', - /** Punjabi */ - pa = 'pa', - /** Polish */ - pl = 'pl', - /** Pashto */ - ps = 'ps', - /** Portuguese */ - pt = 'pt', - /** Brazilian Portuguese */ - pt_BR = 'pt_BR', - /** European Portuguese */ - pt_PT = 'pt_PT', - /** Quechua */ - qu = 'qu', - /** Romansh */ - rm = 'rm', - /** Rundi */ - rn = 'rn', - /** Romanian */ - ro = 'ro', - /** Moldavian */ - ro_MD = 'ro_MD', - /** Russian */ - ru = 'ru', - /** Kinyarwanda */ - rw = 'rw', - /** Sanskrit */ - sa = 'sa', - /** Sindhi */ - sd = 'sd', - /** Northern Sami */ - se = 'se', - /** Sango */ - sg = 'sg', - /** Sinhala */ - si = 'si', - /** Slovak */ - sk = 'sk', - /** Slovenian */ - sl = 'sl', - /** Samoan */ - sm = 'sm', - /** Shona */ - sn = 'sn', - /** Somali */ - so = 'so', - /** Albanian */ - sq = 'sq', - /** Serbian */ - sr = 'sr', - /** Southern Sotho */ - st = 'st', - /** Sundanese */ - su = 'su', - /** Swedish */ - sv = 'sv', - /** Swahili */ - sw = 'sw', - /** Congo Swahili */ - sw_CD = 'sw_CD', - /** Tamil */ - ta = 'ta', - /** Telugu */ - te = 'te', - /** Tajik */ - tg = 'tg', - /** Thai */ - th = 'th', - /** Tigrinya */ - ti = 'ti', - /** Turkmen */ - tk = 'tk', - /** Tongan */ - to = 'to', - /** Turkish */ - tr = 'tr', - /** Tatar */ - tt = 'tt', - /** Uyghur */ - ug = 'ug', - /** Ukrainian */ - uk = 'uk', - /** Urdu */ - ur = 'ur', - /** Uzbek */ - uz = 'uz', - /** Vietnamese */ - vi = 'vi', - /** Volapük */ - vo = 'vo', - /** Wolof */ - wo = 'wo', - /** Xhosa */ - xh = 'xh', - /** Yiddish */ - yi = 'yi', - /** Yoruba */ - yo = 'yo', - /** Chinese */ - zh = 'zh', - /** Simplified Chinese */ - zh_Hans = 'zh_Hans', - /** Traditional Chinese */ - zh_Hant = 'zh_Hant', - /** Zulu */ - zu = 'zu' + /** Afrikaans */ + af = 'af', + /** Akan */ + ak = 'ak', + /** Amharic */ + am = 'am', + /** Arabic */ + ar = 'ar', + /** Assamese */ + as = 'as', + /** Azerbaijani */ + az = 'az', + /** Belarusian */ + be = 'be', + /** Bulgarian */ + bg = 'bg', + /** Bambara */ + bm = 'bm', + /** Bangla */ + bn = 'bn', + /** Tibetan */ + bo = 'bo', + /** Breton */ + br = 'br', + /** Bosnian */ + bs = 'bs', + /** Catalan */ + ca = 'ca', + /** Chechen */ + ce = 'ce', + /** Corsican */ + co = 'co', + /** Czech */ + cs = 'cs', + /** Church Slavic */ + cu = 'cu', + /** Welsh */ + cy = 'cy', + /** Danish */ + da = 'da', + /** German */ + de = 'de', + /** Austrian German */ + de_AT = 'de_AT', + /** Swiss High German */ + de_CH = 'de_CH', + /** Dzongkha */ + dz = 'dz', + /** Ewe */ + ee = 'ee', + /** Greek */ + el = 'el', + /** English */ + en = 'en', + /** Australian English */ + en_AU = 'en_AU', + /** Canadian English */ + en_CA = 'en_CA', + /** British English */ + en_GB = 'en_GB', + /** American English */ + en_US = 'en_US', + /** Esperanto */ + eo = 'eo', + /** Spanish */ + es = 'es', + /** European Spanish */ + es_ES = 'es_ES', + /** Mexican Spanish */ + es_MX = 'es_MX', + /** Estonian */ + et = 'et', + /** Basque */ + eu = 'eu', + /** Persian */ + fa = 'fa', + /** Dari */ + fa_AF = 'fa_AF', + /** Fulah */ + ff = 'ff', + /** Finnish */ + fi = 'fi', + /** Faroese */ + fo = 'fo', + /** French */ + fr = 'fr', + /** Canadian French */ + fr_CA = 'fr_CA', + /** Swiss French */ + fr_CH = 'fr_CH', + /** Western Frisian */ + fy = 'fy', + /** Irish */ + ga = 'ga', + /** Scottish Gaelic */ + gd = 'gd', + /** Galician */ + gl = 'gl', + /** Gujarati */ + gu = 'gu', + /** Manx */ + gv = 'gv', + /** Hausa */ + ha = 'ha', + /** Hebrew */ + he = 'he', + /** Hindi */ + hi = 'hi', + /** Croatian */ + hr = 'hr', + /** Haitian Creole */ + ht = 'ht', + /** Hungarian */ + hu = 'hu', + /** Armenian */ + hy = 'hy', + /** Interlingua */ + ia = 'ia', + /** Indonesian */ + id = 'id', + /** Igbo */ + ig = 'ig', + /** Sichuan Yi */ + ii = 'ii', + /** Icelandic */ + is = 'is', + /** Italian */ + it = 'it', + /** Japanese */ + ja = 'ja', + /** Javanese */ + jv = 'jv', + /** Georgian */ + ka = 'ka', + /** Kikuyu */ + ki = 'ki', + /** Kazakh */ + kk = 'kk', + /** Kalaallisut */ + kl = 'kl', + /** Khmer */ + km = 'km', + /** Kannada */ + kn = 'kn', + /** Korean */ + ko = 'ko', + /** Kashmiri */ + ks = 'ks', + /** Kurdish */ + ku = 'ku', + /** Cornish */ + kw = 'kw', + /** Kyrgyz */ + ky = 'ky', + /** Latin */ + la = 'la', + /** Luxembourgish */ + lb = 'lb', + /** Ganda */ + lg = 'lg', + /** Lingala */ + ln = 'ln', + /** Lao */ + lo = 'lo', + /** Lithuanian */ + lt = 'lt', + /** Luba-Katanga */ + lu = 'lu', + /** Latvian */ + lv = 'lv', + /** Malagasy */ + mg = 'mg', + /** Maori */ + mi = 'mi', + /** Macedonian */ + mk = 'mk', + /** Malayalam */ + ml = 'ml', + /** Mongolian */ + mn = 'mn', + /** Marathi */ + mr = 'mr', + /** Malay */ + ms = 'ms', + /** Maltese */ + mt = 'mt', + /** Burmese */ + my = 'my', + /** Norwegian Bokmål */ + nb = 'nb', + /** North Ndebele */ + nd = 'nd', + /** Nepali */ + ne = 'ne', + /** Dutch */ + nl = 'nl', + /** Flemish */ + nl_BE = 'nl_BE', + /** Norwegian Nynorsk */ + nn = 'nn', + /** Nyanja */ + ny = 'ny', + /** Oromo */ + om = 'om', + /** Odia */ + or = 'or', + /** Ossetic */ + os = 'os', + /** Punjabi */ + pa = 'pa', + /** Polish */ + pl = 'pl', + /** Pashto */ + ps = 'ps', + /** Portuguese */ + pt = 'pt', + /** Brazilian Portuguese */ + pt_BR = 'pt_BR', + /** European Portuguese */ + pt_PT = 'pt_PT', + /** Quechua */ + qu = 'qu', + /** Romansh */ + rm = 'rm', + /** Rundi */ + rn = 'rn', + /** Romanian */ + ro = 'ro', + /** Moldavian */ + ro_MD = 'ro_MD', + /** Russian */ + ru = 'ru', + /** Kinyarwanda */ + rw = 'rw', + /** Sanskrit */ + sa = 'sa', + /** Sindhi */ + sd = 'sd', + /** Northern Sami */ + se = 'se', + /** Sango */ + sg = 'sg', + /** Sinhala */ + si = 'si', + /** Slovak */ + sk = 'sk', + /** Slovenian */ + sl = 'sl', + /** Samoan */ + sm = 'sm', + /** Shona */ + sn = 'sn', + /** Somali */ + so = 'so', + /** Albanian */ + sq = 'sq', + /** Serbian */ + sr = 'sr', + /** Southern Sotho */ + st = 'st', + /** Sundanese */ + su = 'su', + /** Swedish */ + sv = 'sv', + /** Swahili */ + sw = 'sw', + /** Congo Swahili */ + sw_CD = 'sw_CD', + /** Tamil */ + ta = 'ta', + /** Telugu */ + te = 'te', + /** Tajik */ + tg = 'tg', + /** Thai */ + th = 'th', + /** Tigrinya */ + ti = 'ti', + /** Turkmen */ + tk = 'tk', + /** Tongan */ + to = 'to', + /** Turkish */ + tr = 'tr', + /** Tatar */ + tt = 'tt', + /** Uyghur */ + ug = 'ug', + /** Ukrainian */ + uk = 'uk', + /** Urdu */ + ur = 'ur', + /** Uzbek */ + uz = 'uz', + /** Vietnamese */ + vi = 'vi', + /** Volapük */ + vo = 'vo', + /** Wolof */ + wo = 'wo', + /** Xhosa */ + xh = 'xh', + /** Yiddish */ + yi = 'yi', + /** Yoruba */ + yo = 'yo', + /** Chinese */ + zh = 'zh', + /** Simplified Chinese */ + zh_Hans = 'zh_Hans', + /** Traditional Chinese */ + zh_Hant = 'zh_Hant', + /** Zulu */ + zu = 'zu', } export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleStringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - __typename?: 'LocaleTextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleTextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - __typename?: 'LocalizedString'; - languageCode: LanguageCode; - value: Scalars['String']['output']; + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: Scalars['String']['output']; }; export enum LogicalOperator { - AND = 'AND', - OR = 'OR' + AND = 'AND', + OR = 'OR', } /** Returned when attempting to register or verify a customer account without a password, when one is required. */ export type MissingPasswordError = ErrorResult & { - __typename?: 'MissingPasswordError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MissingPasswordError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Mutation = { - __typename?: 'Mutation'; - /** Adds an item to the order. If custom fields are defined on the OrderLine entity, a third argument 'customFields' will be available. */ - addItemToOrder: UpdateOrderItemsResult; - /** Add a Payment to the Order */ - addPaymentToOrder: AddPaymentToOrderResult; - /** Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ - adjustOrderLine: UpdateOrderItemsResult; - /** Applies the given coupon code to the active Order */ - applyCouponCode: ApplyCouponCodeResult; - /** Authenticates the user using a named authentication strategy */ - authenticate: AuthenticationResult; - /** Create a new Customer Address */ - createCustomerAddress: Address; - /** Delete an existing Address */ - deleteCustomerAddress: Success; - /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ - login: NativeAuthenticationResult; - /** End the current authenticated session */ - logout: Success; - /** Regenerate and send a verification token for a new Customer registration. Only applicable if `authOptions.requireVerification` is set to true. */ - refreshCustomerVerification: RefreshCustomerVerificationResult; - /** - * Register a Customer account with the given credentials. There are three possible registration flows: - * - * _If `authOptions.requireVerification` is set to `true`:_ - * - * 1. **The Customer is registered _with_ a password**. A verificationToken will be created (and typically emailed to the Customer). That - * verificationToken would then be passed to the `verifyCustomerAccount` mutation _without_ a password. The Customer is then - * verified and authenticated in one step. - * 2. **The Customer is registered _without_ a password**. A verificationToken will be created (and typically emailed to the Customer). That - * verificationToken would then be passed to the `verifyCustomerAccount` mutation _with_ the chosen password of the Customer. The Customer is then - * verified and authenticated in one step. - * - * _If `authOptions.requireVerification` is set to `false`:_ - * - * 3. The Customer _must_ be registered _with_ a password. No further action is needed - the Customer is able to authenticate immediately. - */ - registerCustomerAccount: RegisterCustomerAccountResult; - /** Remove all OrderLine from the Order */ - removeAllOrderLines: RemoveOrderItemsResult; - /** Removes the given coupon code from the active Order */ - removeCouponCode?: Maybe; - /** Remove an OrderLine from the Order */ - removeOrderLine: RemoveOrderItemsResult; - /** Requests a password reset email to be sent */ - requestPasswordReset?: Maybe; - /** - * Request to update the emailAddress of the active Customer. If `authOptions.requireVerification` is enabled - * (as is the default), then the `identifierChangeToken` will be assigned to the current User and - * a IdentifierChangeRequestEvent will be raised. This can then be used e.g. by the EmailPlugin to email - * that verification token to the Customer, which is then used to verify the change of email address. - */ - requestUpdateCustomerEmailAddress: RequestUpdateCustomerEmailAddressResult; - /** Resets a Customer's password based on the provided token */ - resetPassword: ResetPasswordResult; - /** Set the Customer for the Order. Required only if the Customer is not currently logged in */ - setCustomerForOrder: SetCustomerForOrderResult; - /** Sets the billing address for this order */ - setOrderBillingAddress: ActiveOrderResult; - /** Allows any custom fields to be set for the active order */ - setOrderCustomFields: ActiveOrderResult; - /** Sets the shipping address for this order */ - setOrderShippingAddress: ActiveOrderResult; - /** - * Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query. - * An Order can have multiple shipping methods, in which case you can pass an array of ids. In this case, - * you should configure a custom ShippingLineAssignmentStrategy in order to know which OrderLines each - * shipping method will apply to. - */ - setOrderShippingMethod: SetOrderShippingMethodResult; - submitProductReview: ProductReview; - /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */ - transitionOrderToState?: Maybe; - /** Update an existing Customer */ - updateCustomer: Customer; - /** Update an existing Address */ - updateCustomerAddress: Address; - /** - * Confirm the update of the emailAddress with the provided token, which has been generated by the - * `requestUpdateCustomerEmailAddress` mutation. - */ - updateCustomerEmailAddress: UpdateCustomerEmailAddressResult; - /** Update the password of the active Customer */ - updateCustomerPassword: UpdateCustomerPasswordResult; - /** - * Verify a Customer email address with the token sent to that address. Only applicable if `authOptions.requireVerification` is set to true. - * - * If the Customer was not registered with a password in the `registerCustomerAccount` mutation, the password _must_ be - * provided here. - */ - verifyCustomerAccount: VerifyCustomerAccountResult; - voteOnReview: ProductReview; + __typename?: 'Mutation'; + /** Adds an item to the order. If custom fields are defined on the OrderLine entity, a third argument 'customFields' will be available. */ + addItemToOrder: UpdateOrderItemsResult; + /** Add a Payment to the Order */ + addPaymentToOrder: AddPaymentToOrderResult; + /** Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ + adjustOrderLine: UpdateOrderItemsResult; + /** Applies the given coupon code to the active Order */ + applyCouponCode: ApplyCouponCodeResult; + /** Authenticates the user using a named authentication strategy */ + authenticate: AuthenticationResult; + /** Create a new Customer Address */ + createCustomerAddress: Address; + /** Delete an existing Address */ + deleteCustomerAddress: Success; + /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ + login: NativeAuthenticationResult; + /** End the current authenticated session */ + logout: Success; + /** Regenerate and send a verification token for a new Customer registration. Only applicable if `authOptions.requireVerification` is set to true. */ + refreshCustomerVerification: RefreshCustomerVerificationResult; + /** + * Register a Customer account with the given credentials. There are three possible registration flows: + * + * _If `authOptions.requireVerification` is set to `true`:_ + * + * 1. **The Customer is registered _with_ a password**. A verificationToken will be created (and typically emailed to the Customer). That + * verificationToken would then be passed to the `verifyCustomerAccount` mutation _without_ a password. The Customer is then + * verified and authenticated in one step. + * 2. **The Customer is registered _without_ a password**. A verificationToken will be created (and typically emailed to the Customer). That + * verificationToken would then be passed to the `verifyCustomerAccount` mutation _with_ the chosen password of the Customer. The Customer is then + * verified and authenticated in one step. + * + * _If `authOptions.requireVerification` is set to `false`:_ + * + * 3. The Customer _must_ be registered _with_ a password. No further action is needed - the Customer is able to authenticate immediately. + */ + registerCustomerAccount: RegisterCustomerAccountResult; + /** Remove all OrderLine from the Order */ + removeAllOrderLines: RemoveOrderItemsResult; + /** Removes the given coupon code from the active Order */ + removeCouponCode?: Maybe; + /** Remove an OrderLine from the Order */ + removeOrderLine: RemoveOrderItemsResult; + /** Requests a password reset email to be sent */ + requestPasswordReset?: Maybe; + /** + * Request to update the emailAddress of the active Customer. If `authOptions.requireVerification` is enabled + * (as is the default), then the `identifierChangeToken` will be assigned to the current User and + * a IdentifierChangeRequestEvent will be raised. This can then be used e.g. by the EmailPlugin to email + * that verification token to the Customer, which is then used to verify the change of email address. + */ + requestUpdateCustomerEmailAddress: RequestUpdateCustomerEmailAddressResult; + /** Resets a Customer's password based on the provided token */ + resetPassword: ResetPasswordResult; + /** Set the Customer for the Order. Required only if the Customer is not currently logged in */ + setCustomerForOrder: SetCustomerForOrderResult; + /** Sets the billing address for this order */ + setOrderBillingAddress: ActiveOrderResult; + /** Allows any custom fields to be set for the active order */ + setOrderCustomFields: ActiveOrderResult; + /** Sets the shipping address for this order */ + setOrderShippingAddress: ActiveOrderResult; + /** + * Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query. + * An Order can have multiple shipping methods, in which case you can pass an array of ids. In this case, + * you should configure a custom ShippingLineAssignmentStrategy in order to know which OrderLines each + * shipping method will apply to. + */ + setOrderShippingMethod: SetOrderShippingMethodResult; + submitProductReview: ProductReview; + /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */ + transitionOrderToState?: Maybe; + /** Update an existing Customer */ + updateCustomer: Customer; + /** Update an existing Address */ + updateCustomerAddress: Address; + /** + * Confirm the update of the emailAddress with the provided token, which has been generated by the + * `requestUpdateCustomerEmailAddress` mutation. + */ + updateCustomerEmailAddress: UpdateCustomerEmailAddressResult; + /** Update the password of the active Customer */ + updateCustomerPassword: UpdateCustomerPasswordResult; + /** + * Verify a Customer email address with the token sent to that address. Only applicable if `authOptions.requireVerification` is set to true. + * + * If the Customer was not registered with a password in the `registerCustomerAccount` mutation, the password _must_ be + * provided here. + */ + verifyCustomerAccount: VerifyCustomerAccountResult; + voteOnReview: ProductReview; }; - export type MutationAddItemToOrderArgs = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; - export type MutationAddPaymentToOrderArgs = { - input: PaymentInput; + input: PaymentInput; }; - export type MutationAdjustOrderLineArgs = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; - export type MutationApplyCouponCodeArgs = { - couponCode: Scalars['String']['input']; + couponCode: Scalars['String']['input']; }; - export type MutationAuthenticateArgs = { - input: AuthenticationInput; - rememberMe?: InputMaybe; + input: AuthenticationInput; + rememberMe?: InputMaybe; }; - export type MutationCreateCustomerAddressArgs = { - input: CreateAddressInput; + input: CreateAddressInput; }; - export type MutationDeleteCustomerAddressArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationLoginArgs = { - password: Scalars['String']['input']; - rememberMe?: InputMaybe; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + rememberMe?: InputMaybe; + username: Scalars['String']['input']; }; - export type MutationRefreshCustomerVerificationArgs = { - emailAddress: Scalars['String']['input']; + emailAddress: Scalars['String']['input']; }; - export type MutationRegisterCustomerAccountArgs = { - input: RegisterCustomerInput; + input: RegisterCustomerInput; }; - export type MutationRemoveCouponCodeArgs = { - couponCode: Scalars['String']['input']; + couponCode: Scalars['String']['input']; }; - export type MutationRemoveOrderLineArgs = { - orderLineId: Scalars['ID']['input']; + orderLineId: Scalars['ID']['input']; }; - export type MutationRequestPasswordResetArgs = { - emailAddress: Scalars['String']['input']; + emailAddress: Scalars['String']['input']; }; - export type MutationRequestUpdateCustomerEmailAddressArgs = { - newEmailAddress: Scalars['String']['input']; - password: Scalars['String']['input']; + newEmailAddress: Scalars['String']['input']; + password: Scalars['String']['input']; }; - export type MutationResetPasswordArgs = { - password: Scalars['String']['input']; - token: Scalars['String']['input']; + password: Scalars['String']['input']; + token: Scalars['String']['input']; }; - export type MutationSetCustomerForOrderArgs = { - input: CreateCustomerInput; + input: CreateCustomerInput; }; - export type MutationSetOrderBillingAddressArgs = { - input: CreateAddressInput; + input: CreateAddressInput; }; - export type MutationSetOrderCustomFieldsArgs = { - input: UpdateOrderInput; + input: UpdateOrderInput; }; - export type MutationSetOrderShippingAddressArgs = { - input: CreateAddressInput; + input: CreateAddressInput; }; - export type MutationSetOrderShippingMethodArgs = { - shippingMethodId: Array; + shippingMethodId: Array; }; - export type MutationSubmitProductReviewArgs = { - input: SubmitProductReviewInput; + input: SubmitProductReviewInput; }; - export type MutationTransitionOrderToStateArgs = { - state: Scalars['String']['input']; + state: Scalars['String']['input']; }; - export type MutationUpdateCustomerArgs = { - input: UpdateCustomerInput; + input: UpdateCustomerInput; }; - export type MutationUpdateCustomerAddressArgs = { - input: UpdateAddressInput; + input: UpdateAddressInput; }; - export type MutationUpdateCustomerEmailAddressArgs = { - token: Scalars['String']['input']; + token: Scalars['String']['input']; }; - export type MutationUpdateCustomerPasswordArgs = { - currentPassword: Scalars['String']['input']; - newPassword: Scalars['String']['input']; + currentPassword: Scalars['String']['input']; + newPassword: Scalars['String']['input']; }; - export type MutationVerifyCustomerAccountArgs = { - password?: InputMaybe; - token: Scalars['String']['input']; + password?: InputMaybe; + token: Scalars['String']['input']; }; - export type MutationVoteOnReviewArgs = { - id: Scalars['ID']['input']; - vote: Scalars['Boolean']['input']; + id: Scalars['ID']['input']; + vote: Scalars['Boolean']['input']; }; export type NativeAuthInput = { - password: Scalars['String']['input']; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + username: Scalars['String']['input']; }; /** Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */ export type NativeAuthStrategyError = ErrorResult & { - __typename?: 'NativeAuthStrategyError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NativeAuthStrategyError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; -export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError | NotVerifiedError; +export type NativeAuthenticationResult = + | CurrentUser + | InvalidCredentialsError + | NativeAuthStrategyError + | NotVerifiedError; /** Returned when attempting to set a negative OrderLine quantity. */ export type NegativeQuantityError = ErrorResult & { - __typename?: 'NegativeQuantityError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NegativeQuantityError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -1858,13 +1854,13 @@ export type NegativeQuantityError = ErrorResult & { * current session. */ export type NoActiveOrderError = ErrorResult & { - __typename?: 'NoActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Node = { - id: Scalars['ID']['output']; + id: Scalars['ID']['output']; }; /** @@ -1872,257 +1868,256 @@ export type Node = { * and an unverified user attempts to authenticate. */ export type NotVerifiedError = ErrorResult & { - __typename?: 'NotVerifiedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NotVerifiedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Operators for filtering on a list of Number fields */ export type NumberListOperators = { - inList: Scalars['Float']['input']; + inList: Scalars['Float']['input']; }; /** Operators for filtering on a Int or Float field */ export type NumberOperators = { - between?: InputMaybe; - eq?: InputMaybe; - gt?: InputMaybe; - gte?: InputMaybe; - isNull?: InputMaybe; - lt?: InputMaybe; - lte?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + isNull?: InputMaybe; + lt?: InputMaybe; + lte?: InputMaybe; }; export type NumberRange = { - end: Scalars['Float']['input']; - start: Scalars['Float']['input']; + end: Scalars['Float']['input']; + start: Scalars['Float']['input']; }; export type Order = Node & { - __typename?: 'Order'; - /** An order is active as long as the payment process has not been completed */ - active: Scalars['Boolean']['output']; - billingAddress?: Maybe; - /** A unique code for the Order */ - code: Scalars['String']['output']; - /** An array of all coupon codes applied to the Order */ - couponCodes: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - customer?: Maybe; - discounts: Array; - fulfillments?: Maybe>; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lines: Array; - /** - * The date & time that the Order was placed, i.e. the Customer - * completed the checkout and the Order is no longer "active" - */ - orderPlacedAt?: Maybe; - payments?: Maybe>; - /** Promotions applied to the order. Only gets populated after the payment process has completed. */ - promotions: Array; - shipping: Scalars['Money']['output']; - shippingAddress?: Maybe; - shippingLines: Array; - shippingWithTax: Scalars['Money']['output']; - state: Scalars['String']['output']; - /** - * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level - * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. - * To get a total of all OrderLines which does not account for prorated discounts, use the - * sum of `OrderLine.discountedLinePrice` values. - */ - subTotal: Scalars['Money']['output']; - /** Same as subTotal, but inclusive of tax */ - subTotalWithTax: Scalars['Money']['output']; - /** - * Surcharges are arbitrary modifications to the Order total which are neither - * ProductVariants nor discounts resulting from applied Promotions. For example, - * one-off discounts based on customer interaction, or surcharges based on payment - * methods. - */ - surcharges: Array; - /** A summary of the taxes being applied to this Order */ - taxSummary: Array; - /** Equal to subTotal plus shipping */ - total: Scalars['Money']['output']; - totalQuantity: Scalars['Int']['output']; - /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ - totalWithTax: Scalars['Money']['output']; - type: OrderType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Order'; + /** An order is active as long as the payment process has not been completed */ + active: Scalars['Boolean']['output']; + billingAddress?: Maybe; + /** A unique code for the Order */ + code: Scalars['String']['output']; + /** An array of all coupon codes applied to the Order */ + couponCodes: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + customer?: Maybe; + discounts: Array; + fulfillments?: Maybe>; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lines: Array; + /** + * The date & time that the Order was placed, i.e. the Customer + * completed the checkout and the Order is no longer "active" + */ + orderPlacedAt?: Maybe; + payments?: Maybe>; + /** Promotions applied to the order. Only gets populated after the payment process has completed. */ + promotions: Array; + shipping: Scalars['Money']['output']; + shippingAddress?: Maybe; + shippingLines: Array; + shippingWithTax: Scalars['Money']['output']; + state: Scalars['String']['output']; + /** + * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level + * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. + * To get a total of all OrderLines which does not account for prorated discounts, use the + * sum of `OrderLine.discountedLinePrice` values. + */ + subTotal: Scalars['Money']['output']; + /** Same as subTotal, but inclusive of tax */ + subTotalWithTax: Scalars['Money']['output']; + /** + * Surcharges are arbitrary modifications to the Order total which are neither + * ProductVariants nor discounts resulting from applied Promotions. For example, + * one-off discounts based on customer interaction, or surcharges based on payment + * methods. + */ + surcharges: Array; + /** A summary of the taxes being applied to this Order */ + taxSummary: Array; + /** Equal to subTotal plus shipping */ + total: Scalars['Money']['output']; + totalQuantity: Scalars['Int']['output']; + /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ + totalWithTax: Scalars['Money']['output']; + type: OrderType; + updatedAt: Scalars['DateTime']['output']; }; - export type OrderHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type OrderAddress = { - __typename?: 'OrderAddress'; - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + __typename?: 'OrderAddress'; + city?: Maybe; + company?: Maybe; + country?: Maybe; + countryCode?: Maybe; + customFields?: Maybe; + fullName?: Maybe; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1?: Maybe; + streetLine2?: Maybe; }; export type OrderFilterParameter = { - active?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + active?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - __typename?: 'OrderLimitError'; - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'OrderLimitError'; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - __typename?: 'OrderLine'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - /** The price of the line including discounts, excluding tax */ - discountedLinePrice: Scalars['Money']['output']; - /** The price of the line including discounts and tax */ - discountedLinePriceWithTax: Scalars['Money']['output']; - /** - * The price of a single unit including discounts, excluding tax. - * - * If Order-level discounts have been applied, this will not be the - * actual taxable unit price (see `proratedUnitPrice`), but is generally the - * correct price to display to customers to avoid confusion - * about the internal handling of distributed Order-level discounts. - */ - discountedUnitPrice: Scalars['Money']['output']; - /** The price of a single unit including discounts and tax */ - discountedUnitPriceWithTax: Scalars['Money']['output']; - discounts: Array; - featuredAsset?: Maybe; - fulfillmentLines?: Maybe>; - id: Scalars['ID']['output']; - /** The total price of the line excluding tax and discounts. */ - linePrice: Scalars['Money']['output']; - /** The total price of the line including tax but excluding discounts. */ - linePriceWithTax: Scalars['Money']['output']; - /** The total tax on this line */ - lineTax: Scalars['Money']['output']; - order: Order; - /** The quantity at the time the Order was placed */ - orderPlacedQuantity: Scalars['Int']['output']; - productVariant: ProductVariant; - /** - * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax - * and refund calculations. - */ - proratedLinePrice: Scalars['Money']['output']; - /** The proratedLinePrice including tax */ - proratedLinePriceWithTax: Scalars['Money']['output']; - /** - * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax - * and refund calculations. - */ - proratedUnitPrice: Scalars['Money']['output']; - /** The proratedUnitPrice including tax */ - proratedUnitPriceWithTax: Scalars['Money']['output']; - quantity: Scalars['Int']['output']; - taxLines: Array; - taxRate: Scalars['Float']['output']; - /** The price of a single unit, excluding tax and discounts */ - unitPrice: Scalars['Money']['output']; - /** Non-zero if the unitPrice has changed since it was initially added to Order */ - unitPriceChangeSinceAdded: Scalars['Money']['output']; - /** The price of a single unit, including tax but excluding discounts */ - unitPriceWithTax: Scalars['Money']['output']; - /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ - unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderLine'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + /** The price of the line including discounts, excluding tax */ + discountedLinePrice: Scalars['Money']['output']; + /** The price of the line including discounts and tax */ + discountedLinePriceWithTax: Scalars['Money']['output']; + /** + * The price of a single unit including discounts, excluding tax. + * + * If Order-level discounts have been applied, this will not be the + * actual taxable unit price (see `proratedUnitPrice`), but is generally the + * correct price to display to customers to avoid confusion + * about the internal handling of distributed Order-level discounts. + */ + discountedUnitPrice: Scalars['Money']['output']; + /** The price of a single unit including discounts and tax */ + discountedUnitPriceWithTax: Scalars['Money']['output']; + discounts: Array; + featuredAsset?: Maybe; + fulfillmentLines?: Maybe>; + id: Scalars['ID']['output']; + /** The total price of the line excluding tax and discounts. */ + linePrice: Scalars['Money']['output']; + /** The total price of the line including tax but excluding discounts. */ + linePriceWithTax: Scalars['Money']['output']; + /** The total tax on this line */ + lineTax: Scalars['Money']['output']; + order: Order; + /** The quantity at the time the Order was placed */ + orderPlacedQuantity: Scalars['Int']['output']; + productVariant: ProductVariant; + /** + * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax + * and refund calculations. + */ + proratedLinePrice: Scalars['Money']['output']; + /** The proratedLinePrice including tax */ + proratedLinePriceWithTax: Scalars['Money']['output']; + /** + * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax + * and refund calculations. + */ + proratedUnitPrice: Scalars['Money']['output']; + /** The proratedUnitPrice including tax */ + proratedUnitPriceWithTax: Scalars['Money']['output']; + quantity: Scalars['Int']['output']; + taxLines: Array; + taxRate: Scalars['Float']['output']; + /** The price of a single unit, excluding tax and discounts */ + unitPrice: Scalars['Money']['output']; + /** Non-zero if the unitPrice has changed since it was initially added to Order */ + unitPriceChangeSinceAdded: Scalars['Money']['output']; + /** The price of a single unit, including tax but excluding discounts */ + unitPriceWithTax: Scalars['Money']['output']; + /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ + unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'OrderList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */ export type OrderModificationError = ErrorResult & { - __typename?: 'OrderModificationError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add a Payment to an Order that is not in the `ArrangingPayment` state. */ export type OrderPaymentStateError = ErrorResult & { - __typename?: 'OrderPaymentStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderPaymentStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned if there is an error in transitioning the Order state */ export type OrderStateTransitionError = ErrorResult & { - __typename?: 'OrderStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'OrderStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -2130,33 +2125,33 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type OrderTaxSummary = { - __typename?: 'OrderTaxSummary'; - /** A description of this tax */ - description: Scalars['String']['output']; - /** The total net price of OrderLines to which this taxRate applies */ - taxBase: Scalars['Money']['output']; - /** The taxRate as a percentage */ - taxRate: Scalars['Float']['output']; - /** The total tax being applied to the Order at this taxRate */ - taxTotal: Scalars['Money']['output']; + __typename?: 'OrderTaxSummary'; + /** A description of this tax */ + description: Scalars['String']['output']; + /** The total net price of OrderLines to which this taxRate applies */ + taxBase: Scalars['Money']['output']; + /** The taxRate as a percentage */ + taxRate: Scalars['Float']['output']; + /** The total tax being applied to the Order at this taxRate */ + taxTotal: Scalars['Money']['output']; }; export enum OrderType { - Aggregate = 'Aggregate', - Regular = 'Regular', - Seller = 'Seller' + Aggregate = 'Aggregate', + Regular = 'Regular', + Seller = 'Seller', } export type PaginatedList = { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; /** Returned when attempting to verify a customer account with a password, when a password has already been set. */ export type PasswordAlreadySetError = ErrorResult & { - __typename?: 'PasswordAlreadySetError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PasswordAlreadySetError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -2164,9 +2159,9 @@ export type PasswordAlreadySetError = ErrorResult & { * expired according to the `verificationTokenDuration` setting in the AuthOptions. */ export type PasswordResetTokenExpiredError = ErrorResult & { - __typename?: 'PasswordResetTokenExpiredError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PasswordResetTokenExpiredError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -2174,95 +2169,95 @@ export type PasswordResetTokenExpiredError = ErrorResult & { * invalid or does not match any expected tokens. */ export type PasswordResetTokenInvalidError = ErrorResult & { - __typename?: 'PasswordResetTokenInvalidError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PasswordResetTokenInvalidError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to register or verify a customer account where the given password fails password validation. */ export type PasswordValidationError = ErrorResult & { - __typename?: 'PasswordValidationError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - validationErrorMessage: Scalars['String']['output']; + __typename?: 'PasswordValidationError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + validationErrorMessage: Scalars['String']['output']; }; export type Payment = Node & { - __typename?: 'Payment'; - amount: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - errorMessage?: Maybe; - id: Scalars['ID']['output']; - metadata?: Maybe; - method: Scalars['String']['output']; - refunds: Array; - state: Scalars['String']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Payment'; + amount: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + errorMessage?: Maybe; + id: Scalars['ID']['output']; + metadata?: Maybe; + method: Scalars['String']['output']; + refunds: Array; + state: Scalars['String']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when a Payment is declined by the payment provider. */ export type PaymentDeclinedError = ErrorResult & { - __typename?: 'PaymentDeclinedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'PaymentDeclinedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; /** Returned when a Payment fails due to an error. */ export type PaymentFailedError = ErrorResult & { - __typename?: 'PaymentFailedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'PaymentFailedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; /** Passed as input to the `addPaymentToOrder` mutation. */ export type PaymentInput = { - /** - * This field should contain arbitrary data passed to the specified PaymentMethodHandler's `createPayment()` method - * as the "metadata" argument. For example, it could contain an ID for the payment and other - * data generated by the payment provider. - */ - metadata: Scalars['JSON']['input']; - /** This field should correspond to the `code` property of a PaymentMethod. */ - method: Scalars['String']['input']; + /** + * This field should contain arbitrary data passed to the specified PaymentMethodHandler's `createPayment()` method + * as the "metadata" argument. For example, it could contain an ID for the payment and other + * data generated by the payment provider. + */ + metadata: Scalars['JSON']['input']; + /** This field should correspond to the `code` property of a PaymentMethod. */ + method: Scalars['String']['input']; }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; - checker?: Maybe; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - handler: ConfigurableOperation; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethod'; + checker?: Maybe; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + handler: ConfigurableOperation; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodQuote = { - __typename?: 'PaymentMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - eligibilityMessage?: Maybe; - id: Scalars['ID']['output']; - isEligible: Scalars['Boolean']['output']; - name: Scalars['String']['output']; + __typename?: 'PaymentMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + eligibilityMessage?: Maybe; + id: Scalars['ID']['output']; + isEligible: Scalars['Boolean']['output']; + name: Scalars['String']['output']; }; export type PaymentMethodTranslation = { - __typename?: 'PaymentMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -2279,7 +2274,7 @@ export type PaymentMethodTranslation = { * based on the activeUserId of the current session. As a result, the resolver code looks like this: * * @example - * ```TypeScript + * ```ts * \@Query() * \@Allow(Permission.Owner) * async activeCustomer(\@Ctx() ctx: RequestContext): Promise { @@ -2298,1071 +2293,1097 @@ export type PaymentMethodTranslation = { * @docsCategory common */ export enum Permission { - /** Authenticated means simply that the user is logged in */ - Authenticated = 'Authenticated', - /** Grants permission to create Administrator */ - CreateAdministrator = 'CreateAdministrator', - /** Grants permission to create Asset */ - CreateAsset = 'CreateAsset', - /** Grants permission to create Products, Facets, Assets, Collections */ - CreateCatalog = 'CreateCatalog', - /** Grants permission to create Channel */ - CreateChannel = 'CreateChannel', - /** Grants permission to create Collection */ - CreateCollection = 'CreateCollection', - /** Grants permission to create Country */ - CreateCountry = 'CreateCountry', - /** Grants permission to create Customer */ - CreateCustomer = 'CreateCustomer', - /** Grants permission to create CustomerGroup */ - CreateCustomerGroup = 'CreateCustomerGroup', - /** Grants permission to create Facet */ - CreateFacet = 'CreateFacet', - /** Grants permission to create Order */ - CreateOrder = 'CreateOrder', - /** Grants permission to create PaymentMethod */ - CreatePaymentMethod = 'CreatePaymentMethod', - /** Grants permission to create Product */ - CreateProduct = 'CreateProduct', - /** Grants permission to create Promotion */ - CreatePromotion = 'CreatePromotion', - /** Grants permission to create Seller */ - CreateSeller = 'CreateSeller', - /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - CreateSettings = 'CreateSettings', - /** Grants permission to create ShippingMethod */ - CreateShippingMethod = 'CreateShippingMethod', - /** Grants permission to create StockLocation */ - CreateStockLocation = 'CreateStockLocation', - /** Grants permission to create System */ - CreateSystem = 'CreateSystem', - /** Grants permission to create Tag */ - CreateTag = 'CreateTag', - /** Grants permission to create TaxCategory */ - CreateTaxCategory = 'CreateTaxCategory', - /** Grants permission to create TaxRate */ - CreateTaxRate = 'CreateTaxRate', - /** Grants permission to create Zone */ - CreateZone = 'CreateZone', - /** Grants permission to delete Administrator */ - DeleteAdministrator = 'DeleteAdministrator', - /** Grants permission to delete Asset */ - DeleteAsset = 'DeleteAsset', - /** Grants permission to delete Products, Facets, Assets, Collections */ - DeleteCatalog = 'DeleteCatalog', - /** Grants permission to delete Channel */ - DeleteChannel = 'DeleteChannel', - /** Grants permission to delete Collection */ - DeleteCollection = 'DeleteCollection', - /** Grants permission to delete Country */ - DeleteCountry = 'DeleteCountry', - /** Grants permission to delete Customer */ - DeleteCustomer = 'DeleteCustomer', - /** Grants permission to delete CustomerGroup */ - DeleteCustomerGroup = 'DeleteCustomerGroup', - /** Grants permission to delete Facet */ - DeleteFacet = 'DeleteFacet', - /** Grants permission to delete Order */ - DeleteOrder = 'DeleteOrder', - /** Grants permission to delete PaymentMethod */ - DeletePaymentMethod = 'DeletePaymentMethod', - /** Grants permission to delete Product */ - DeleteProduct = 'DeleteProduct', - /** Grants permission to delete Promotion */ - DeletePromotion = 'DeletePromotion', - /** Grants permission to delete Seller */ - DeleteSeller = 'DeleteSeller', - /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - DeleteSettings = 'DeleteSettings', - /** Grants permission to delete ShippingMethod */ - DeleteShippingMethod = 'DeleteShippingMethod', - /** Grants permission to delete StockLocation */ - DeleteStockLocation = 'DeleteStockLocation', - /** Grants permission to delete System */ - DeleteSystem = 'DeleteSystem', - /** Grants permission to delete Tag */ - DeleteTag = 'DeleteTag', - /** Grants permission to delete TaxCategory */ - DeleteTaxCategory = 'DeleteTaxCategory', - /** Grants permission to delete TaxRate */ - DeleteTaxRate = 'DeleteTaxRate', - /** Grants permission to delete Zone */ - DeleteZone = 'DeleteZone', - /** Owner means the user owns this entity, e.g. a Customer's own Order */ - Owner = 'Owner', - /** Public means any unauthenticated user may perform the operation */ - Public = 'Public', - /** Grants permission to read Administrator */ - ReadAdministrator = 'ReadAdministrator', - /** Grants permission to read Asset */ - ReadAsset = 'ReadAsset', - /** Grants permission to read Products, Facets, Assets, Collections */ - ReadCatalog = 'ReadCatalog', - /** Grants permission to read Channel */ - ReadChannel = 'ReadChannel', - /** Grants permission to read Collection */ - ReadCollection = 'ReadCollection', - /** Grants permission to read Country */ - ReadCountry = 'ReadCountry', - /** Grants permission to read Customer */ - ReadCustomer = 'ReadCustomer', - /** Grants permission to read CustomerGroup */ - ReadCustomerGroup = 'ReadCustomerGroup', - /** Grants permission to read Facet */ - ReadFacet = 'ReadFacet', - /** Grants permission to read Order */ - ReadOrder = 'ReadOrder', - /** Grants permission to read PaymentMethod */ - ReadPaymentMethod = 'ReadPaymentMethod', - /** Grants permission to read Product */ - ReadProduct = 'ReadProduct', - /** Grants permission to read Promotion */ - ReadPromotion = 'ReadPromotion', - /** Grants permission to read Seller */ - ReadSeller = 'ReadSeller', - /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - ReadSettings = 'ReadSettings', - /** Grants permission to read ShippingMethod */ - ReadShippingMethod = 'ReadShippingMethod', - /** Grants permission to read StockLocation */ - ReadStockLocation = 'ReadStockLocation', - /** Grants permission to read System */ - ReadSystem = 'ReadSystem', - /** Grants permission to read Tag */ - ReadTag = 'ReadTag', - /** Grants permission to read TaxCategory */ - ReadTaxCategory = 'ReadTaxCategory', - /** Grants permission to read TaxRate */ - ReadTaxRate = 'ReadTaxRate', - /** Grants permission to read Zone */ - ReadZone = 'ReadZone', - /** SuperAdmin has unrestricted access to all operations */ - SuperAdmin = 'SuperAdmin', - /** Grants permission to update Administrator */ - UpdateAdministrator = 'UpdateAdministrator', - /** Grants permission to update Asset */ - UpdateAsset = 'UpdateAsset', - /** Grants permission to update Products, Facets, Assets, Collections */ - UpdateCatalog = 'UpdateCatalog', - /** Grants permission to update Channel */ - UpdateChannel = 'UpdateChannel', - /** Grants permission to update Collection */ - UpdateCollection = 'UpdateCollection', - /** Grants permission to update Country */ - UpdateCountry = 'UpdateCountry', - /** Grants permission to update Customer */ - UpdateCustomer = 'UpdateCustomer', - /** Grants permission to update CustomerGroup */ - UpdateCustomerGroup = 'UpdateCustomerGroup', - /** Grants permission to update Facet */ - UpdateFacet = 'UpdateFacet', - /** Grants permission to update GlobalSettings */ - UpdateGlobalSettings = 'UpdateGlobalSettings', - /** Grants permission to update Order */ - UpdateOrder = 'UpdateOrder', - /** Grants permission to update PaymentMethod */ - UpdatePaymentMethod = 'UpdatePaymentMethod', - /** Grants permission to update Product */ - UpdateProduct = 'UpdateProduct', - /** Grants permission to update Promotion */ - UpdatePromotion = 'UpdatePromotion', - /** Grants permission to update Seller */ - UpdateSeller = 'UpdateSeller', - /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - UpdateSettings = 'UpdateSettings', - /** Grants permission to update ShippingMethod */ - UpdateShippingMethod = 'UpdateShippingMethod', - /** Grants permission to update StockLocation */ - UpdateStockLocation = 'UpdateStockLocation', - /** Grants permission to update System */ - UpdateSystem = 'UpdateSystem', - /** Grants permission to update Tag */ - UpdateTag = 'UpdateTag', - /** Grants permission to update TaxCategory */ - UpdateTaxCategory = 'UpdateTaxCategory', - /** Grants permission to update TaxRate */ - UpdateTaxRate = 'UpdateTaxRate', - /** Grants permission to update Zone */ - UpdateZone = 'UpdateZone' + /** Authenticated means simply that the user is logged in */ + Authenticated = 'Authenticated', + /** Grants permission to create Administrator */ + CreateAdministrator = 'CreateAdministrator', + /** Grants permission to create Asset */ + CreateAsset = 'CreateAsset', + /** Grants permission to create Products, Facets, Assets, Collections */ + CreateCatalog = 'CreateCatalog', + /** Grants permission to create Channel */ + CreateChannel = 'CreateChannel', + /** Grants permission to create Collection */ + CreateCollection = 'CreateCollection', + /** Grants permission to create Country */ + CreateCountry = 'CreateCountry', + /** Grants permission to create Customer */ + CreateCustomer = 'CreateCustomer', + /** Grants permission to create CustomerGroup */ + CreateCustomerGroup = 'CreateCustomerGroup', + /** Grants permission to create Facet */ + CreateFacet = 'CreateFacet', + /** Grants permission to create Order */ + CreateOrder = 'CreateOrder', + /** Grants permission to create PaymentMethod */ + CreatePaymentMethod = 'CreatePaymentMethod', + /** Grants permission to create Product */ + CreateProduct = 'CreateProduct', + /** Grants permission to create Promotion */ + CreatePromotion = 'CreatePromotion', + /** Grants permission to create Seller */ + CreateSeller = 'CreateSeller', + /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + CreateSettings = 'CreateSettings', + /** Grants permission to create ShippingMethod */ + CreateShippingMethod = 'CreateShippingMethod', + /** Grants permission to create StockLocation */ + CreateStockLocation = 'CreateStockLocation', + /** Grants permission to create System */ + CreateSystem = 'CreateSystem', + /** Grants permission to create Tag */ + CreateTag = 'CreateTag', + /** Grants permission to create TaxCategory */ + CreateTaxCategory = 'CreateTaxCategory', + /** Grants permission to create TaxRate */ + CreateTaxRate = 'CreateTaxRate', + /** Grants permission to create Zone */ + CreateZone = 'CreateZone', + /** Grants permission to delete Administrator */ + DeleteAdministrator = 'DeleteAdministrator', + /** Grants permission to delete Asset */ + DeleteAsset = 'DeleteAsset', + /** Grants permission to delete Products, Facets, Assets, Collections */ + DeleteCatalog = 'DeleteCatalog', + /** Grants permission to delete Channel */ + DeleteChannel = 'DeleteChannel', + /** Grants permission to delete Collection */ + DeleteCollection = 'DeleteCollection', + /** Grants permission to delete Country */ + DeleteCountry = 'DeleteCountry', + /** Grants permission to delete Customer */ + DeleteCustomer = 'DeleteCustomer', + /** Grants permission to delete CustomerGroup */ + DeleteCustomerGroup = 'DeleteCustomerGroup', + /** Grants permission to delete Facet */ + DeleteFacet = 'DeleteFacet', + /** Grants permission to delete Order */ + DeleteOrder = 'DeleteOrder', + /** Grants permission to delete PaymentMethod */ + DeletePaymentMethod = 'DeletePaymentMethod', + /** Grants permission to delete Product */ + DeleteProduct = 'DeleteProduct', + /** Grants permission to delete Promotion */ + DeletePromotion = 'DeletePromotion', + /** Grants permission to delete Seller */ + DeleteSeller = 'DeleteSeller', + /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + DeleteSettings = 'DeleteSettings', + /** Grants permission to delete ShippingMethod */ + DeleteShippingMethod = 'DeleteShippingMethod', + /** Grants permission to delete StockLocation */ + DeleteStockLocation = 'DeleteStockLocation', + /** Grants permission to delete System */ + DeleteSystem = 'DeleteSystem', + /** Grants permission to delete Tag */ + DeleteTag = 'DeleteTag', + /** Grants permission to delete TaxCategory */ + DeleteTaxCategory = 'DeleteTaxCategory', + /** Grants permission to delete TaxRate */ + DeleteTaxRate = 'DeleteTaxRate', + /** Grants permission to delete Zone */ + DeleteZone = 'DeleteZone', + /** Owner means the user owns this entity, e.g. a Customer's own Order */ + Owner = 'Owner', + /** Public means any unauthenticated user may perform the operation */ + Public = 'Public', + /** Grants permission to read Administrator */ + ReadAdministrator = 'ReadAdministrator', + /** Grants permission to read Asset */ + ReadAsset = 'ReadAsset', + /** Grants permission to read Products, Facets, Assets, Collections */ + ReadCatalog = 'ReadCatalog', + /** Grants permission to read Channel */ + ReadChannel = 'ReadChannel', + /** Grants permission to read Collection */ + ReadCollection = 'ReadCollection', + /** Grants permission to read Country */ + ReadCountry = 'ReadCountry', + /** Grants permission to read Customer */ + ReadCustomer = 'ReadCustomer', + /** Grants permission to read CustomerGroup */ + ReadCustomerGroup = 'ReadCustomerGroup', + /** Grants permission to read Facet */ + ReadFacet = 'ReadFacet', + /** Grants permission to read Order */ + ReadOrder = 'ReadOrder', + /** Grants permission to read PaymentMethod */ + ReadPaymentMethod = 'ReadPaymentMethod', + /** Grants permission to read Product */ + ReadProduct = 'ReadProduct', + /** Grants permission to read Promotion */ + ReadPromotion = 'ReadPromotion', + /** Grants permission to read Seller */ + ReadSeller = 'ReadSeller', + /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + ReadSettings = 'ReadSettings', + /** Grants permission to read ShippingMethod */ + ReadShippingMethod = 'ReadShippingMethod', + /** Grants permission to read StockLocation */ + ReadStockLocation = 'ReadStockLocation', + /** Grants permission to read System */ + ReadSystem = 'ReadSystem', + /** Grants permission to read Tag */ + ReadTag = 'ReadTag', + /** Grants permission to read TaxCategory */ + ReadTaxCategory = 'ReadTaxCategory', + /** Grants permission to read TaxRate */ + ReadTaxRate = 'ReadTaxRate', + /** Grants permission to read Zone */ + ReadZone = 'ReadZone', + /** SuperAdmin has unrestricted access to all operations */ + SuperAdmin = 'SuperAdmin', + /** Grants permission to update Administrator */ + UpdateAdministrator = 'UpdateAdministrator', + /** Grants permission to update Asset */ + UpdateAsset = 'UpdateAsset', + /** Grants permission to update Products, Facets, Assets, Collections */ + UpdateCatalog = 'UpdateCatalog', + /** Grants permission to update Channel */ + UpdateChannel = 'UpdateChannel', + /** Grants permission to update Collection */ + UpdateCollection = 'UpdateCollection', + /** Grants permission to update Country */ + UpdateCountry = 'UpdateCountry', + /** Grants permission to update Customer */ + UpdateCustomer = 'UpdateCustomer', + /** Grants permission to update CustomerGroup */ + UpdateCustomerGroup = 'UpdateCustomerGroup', + /** Grants permission to update Facet */ + UpdateFacet = 'UpdateFacet', + /** Grants permission to update GlobalSettings */ + UpdateGlobalSettings = 'UpdateGlobalSettings', + /** Grants permission to update Order */ + UpdateOrder = 'UpdateOrder', + /** Grants permission to update PaymentMethod */ + UpdatePaymentMethod = 'UpdatePaymentMethod', + /** Grants permission to update Product */ + UpdateProduct = 'UpdateProduct', + /** Grants permission to update Promotion */ + UpdatePromotion = 'UpdatePromotion', + /** Grants permission to update Seller */ + UpdateSeller = 'UpdateSeller', + /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + UpdateSettings = 'UpdateSettings', + /** Grants permission to update ShippingMethod */ + UpdateShippingMethod = 'UpdateShippingMethod', + /** Grants permission to update StockLocation */ + UpdateStockLocation = 'UpdateStockLocation', + /** Grants permission to update System */ + UpdateSystem = 'UpdateSystem', + /** Grants permission to update Tag */ + UpdateTag = 'UpdateTag', + /** Grants permission to update TaxCategory */ + UpdateTaxCategory = 'UpdateTaxCategory', + /** Grants permission to update TaxRate */ + UpdateTaxRate = 'UpdateTaxRate', + /** Grants permission to update Zone */ + UpdateZone = 'UpdateZone', } /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + __typename?: 'PriceRange'; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - __typename?: 'Product'; - assets: Array; - collections: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - optionGroups: Array; - reviews: ProductReviewList; - reviewsHistogram: Array; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - /** Returns a paginated, sortable, filterable list of ProductVariants */ - variantList: ProductVariantList; - /** Returns all ProductVariants */ - variants: Array; + __typename?: 'Product'; + assets: Array; + collections: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + optionGroups: Array; + reviews: ProductReviewList; + reviewsHistogram: Array; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + /** Returns a paginated, sortable, filterable list of ProductVariants */ + variantList: ProductVariantList; + /** Returns all ProductVariants */ + variants: Array; }; - export type ProductReviewsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type ProductVariantListArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductCustomFields = { - __typename?: 'ProductCustomFields'; - featuredReview?: Maybe; - reviewCount?: Maybe; - reviewRating?: Maybe; + __typename?: 'ProductCustomFields'; + featuredReview?: Maybe; + reviewCount?: Maybe; + reviewRating?: Maybe; }; export type ProductFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductOption = Node & { - __typename?: 'ProductOption'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - group: ProductOptionGroup; - groupId: Scalars['ID']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOption'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + group: ProductOptionGroup; + groupId: Scalars['ID']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroup'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroupTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductReview = Node & { - __typename?: 'ProductReview'; - authorLocation?: Maybe; - authorName: Scalars['String']['output']; - body?: Maybe; - createdAt: Scalars['DateTime']['output']; - downvotes: Scalars['Int']['output']; - id: Scalars['ID']['output']; - product: Product; - productVariant?: Maybe; - rating: Scalars['Float']['output']; - response?: Maybe; - responseCreatedAt?: Maybe; - state: Scalars['String']['output']; - summary: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - upvotes: Scalars['Int']['output']; + __typename?: 'ProductReview'; + authorLocation?: Maybe; + authorName: Scalars['String']['output']; + body?: Maybe; + createdAt: Scalars['DateTime']['output']; + downvotes: Scalars['Int']['output']; + id: Scalars['ID']['output']; + product: Product; + productVariant?: Maybe; + rating: Scalars['Float']['output']; + response?: Maybe; + responseCreatedAt?: Maybe; + state: Scalars['String']['output']; + summary: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + upvotes: Scalars['Int']['output']; }; export type ProductReviewFilterParameter = { - authorLocation?: InputMaybe; - authorName?: InputMaybe; - body?: InputMaybe; - createdAt?: InputMaybe; - downvotes?: InputMaybe; - id?: InputMaybe; - rating?: InputMaybe; - response?: InputMaybe; - responseCreatedAt?: InputMaybe; - state?: InputMaybe; - summary?: InputMaybe; - updatedAt?: InputMaybe; - upvotes?: InputMaybe; + authorLocation?: InputMaybe; + authorName?: InputMaybe; + body?: InputMaybe; + createdAt?: InputMaybe; + downvotes?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + response?: InputMaybe; + responseCreatedAt?: InputMaybe; + state?: InputMaybe; + summary?: InputMaybe; + updatedAt?: InputMaybe; + upvotes?: InputMaybe; }; export type ProductReviewHistogramItem = { - __typename?: 'ProductReviewHistogramItem'; - bin: Scalars['Int']['output']; - frequency: Scalars['Int']['output']; + __typename?: 'ProductReviewHistogramItem'; + bin: Scalars['Int']['output']; + frequency: Scalars['Int']['output']; }; export type ProductReviewList = PaginatedList & { - __typename?: 'ProductReviewList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductReviewList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductReviewListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductReviewSortParameter = { - authorLocation?: InputMaybe; - authorName?: InputMaybe; - body?: InputMaybe; - createdAt?: InputMaybe; - downvotes?: InputMaybe; - id?: InputMaybe; - rating?: InputMaybe; - response?: InputMaybe; - responseCreatedAt?: InputMaybe; - state?: InputMaybe; - summary?: InputMaybe; - updatedAt?: InputMaybe; - upvotes?: InputMaybe; + authorLocation?: InputMaybe; + authorName?: InputMaybe; + body?: InputMaybe; + createdAt?: InputMaybe; + downvotes?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + response?: InputMaybe; + responseCreatedAt?: InputMaybe; + state?: InputMaybe; + summary?: InputMaybe; + updatedAt?: InputMaybe; + upvotes?: InputMaybe; }; export type ProductSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - featuredReview?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + featuredReview?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; - assets: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - product: Product; - productId: Scalars['ID']['output']; - sku: Scalars['String']['output']; - stockLevel: Scalars['String']['output']; - taxCategory: TaxCategory; - taxRateApplied: TaxRate; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductVariant'; + assets: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + product: Product; + productId: Scalars['ID']['output']; + sku: Scalars['String']['output']; + stockLevel: Scalars['String']['output']; + taxCategory: TaxCategory; + taxRateApplied: TaxRate; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductVariantFilterParameter = { - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockLevel?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockLevel?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductVariantList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductVariantSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockLevel?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockLevel?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductVariantTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type Promotion = Node & { - __typename?: 'Promotion'; - actions: Array; - conditions: Array; - couponCode?: Maybe; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - endsAt?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - perCustomerUsageLimit?: Maybe; - startsAt?: Maybe; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Promotion'; + actions: Array; + conditions: Array; + couponCode?: Maybe; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + endsAt?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + perCustomerUsageLimit?: Maybe; + startsAt?: Maybe; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PromotionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionTranslation = { - __typename?: 'PromotionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; - -export type Province = Node & Region & { - __typename?: 'Province'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + __typename?: 'PromotionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; +}; + +export type Province = Node & + Region & { + __typename?: 'Province'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type ProvinceList = PaginatedList & { - __typename?: 'ProvinceList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProvinceList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type Query = { - __typename?: 'Query'; - /** The active Channel */ - activeChannel: Channel; - /** The active Customer */ - activeCustomer?: Maybe; - /** - * The active Order. Will be `null` until an Order is created via `addItemToOrder`. Once an Order reaches the - * state of `PaymentAuthorized` or `PaymentSettled`, then that Order is no longer considered "active" and this - * query will once again return `null`. - */ - activeOrder?: Maybe; - /** An array of supported Countries */ - availableCountries: Array; - /** Returns a Collection either by its id or slug. If neither 'id' nor 'slug' is specified, an error will result. */ - collection?: Maybe; - /** A list of Collections available to the shop */ - collections: CollectionList; - /** Returns a list of payment methods and their eligibility based on the current active Order */ - eligiblePaymentMethods: Array; - /** Returns a list of eligible shipping methods based on the current active Order */ - eligibleShippingMethods: Array; - /** Returns a Facet by its id */ - facet?: Maybe; - /** A list of Facets available to the shop */ - facets: FacetList; - /** Returns information about the current authenticated User */ - me?: Maybe; - /** Returns the possible next states that the activeOrder can transition to */ - nextOrderStates: Array; - /** - * Returns an Order based on the id. Note that in the Shop API, only orders belonging to the - * currently-authenticated User may be queried. - */ - order?: Maybe; - /** - * Returns an Order based on the order `code`. For guest Orders (i.e. Orders placed by non-authenticated Customers) - * this query will only return the Order within 2 hours of the Order being placed. This allows an Order confirmation - * screen to be shown immediately after completion of a guest checkout, yet prevents security risks of allowing - * general anonymous access to Order data. - */ - orderByCode?: Maybe; - /** Get a Product either by id or slug. If neither 'id' nor 'slug' is specified, an error will result. */ - product?: Maybe; - /** Get a list of Products */ - products: ProductList; - /** Search Products based on the criteria set by the `SearchInput` */ - search: SearchResponse; + __typename?: 'Query'; + /** The active Channel */ + activeChannel: Channel; + /** The active Customer */ + activeCustomer?: Maybe; + /** + * The active Order. Will be `null` until an Order is created via `addItemToOrder`. Once an Order reaches the + * state of `PaymentAuthorized` or `PaymentSettled`, then that Order is no longer considered "active" and this + * query will once again return `null`. + */ + activeOrder?: Maybe; + /** An array of supported Countries */ + availableCountries: Array; + /** Returns a Collection either by its id or slug. If neither 'id' nor 'slug' is specified, an error will result. */ + collection?: Maybe; + /** A list of Collections available to the shop */ + collections: CollectionList; + /** Returns a list of payment methods and their eligibility based on the current active Order */ + eligiblePaymentMethods: Array; + /** Returns a list of eligible shipping methods based on the current active Order */ + eligibleShippingMethods: Array; + /** Returns a Facet by its id */ + facet?: Maybe; + /** A list of Facets available to the shop */ + facets: FacetList; + /** Returns information about the current authenticated User */ + me?: Maybe; + /** Returns the possible next states that the activeOrder can transition to */ + nextOrderStates: Array; + /** + * Returns an Order based on the id. Note that in the Shop API, only orders belonging to the + * currently-authenticated User may be queried. + */ + order?: Maybe; + /** + * Returns an Order based on the order `code`. For guest Orders (i.e. Orders placed by non-authenticated Customers) + * this query will only return the Order within 2 hours of the Order being placed. This allows an Order confirmation + * screen to be shown immediately after completion of a guest checkout, yet prevents security risks of allowing + * general anonymous access to Order data. + */ + orderByCode?: Maybe; + /** Get a Product either by id or slug. If neither 'id' nor 'slug' is specified, an error will result. */ + product?: Maybe; + /** Get a list of Products */ + products: ProductList; + /** Search Products based on the criteria set by the `SearchInput` */ + search: SearchResponse; }; - export type QueryCollectionArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryCollectionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryFacetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryFacetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryOrderArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryOrderByCodeArgs = { - code: Scalars['String']['input']; + code: Scalars['String']['input']; }; - export type QueryProductArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryProductsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QuerySearchArgs = { - input: SearchInput; + input: SearchInput; }; export type RefreshCustomerVerificationResult = NativeAuthStrategyError | Success; export type Refund = Node & { - __typename?: 'Refund'; - adjustment: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - items: Scalars['Money']['output']; - lines: Array; - metadata?: Maybe; - method?: Maybe; - paymentId: Scalars['ID']['output']; - reason?: Maybe; - shipping: Scalars['Money']['output']; - state: Scalars['String']['output']; - total: Scalars['Money']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Refund'; + adjustment: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + items: Scalars['Money']['output']; + lines: Array; + metadata?: Maybe; + method?: Maybe; + paymentId: Scalars['ID']['output']; + reason?: Maybe; + shipping: Scalars['Money']['output']; + state: Scalars['String']['output']; + total: Scalars['Money']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type RefundLine = { - __typename?: 'RefundLine'; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + __typename?: 'RefundLine'; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type Region = { - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RegionTranslation = { - __typename?: 'RegionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'RegionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; -export type RegisterCustomerAccountResult = MissingPasswordError | NativeAuthStrategyError | PasswordValidationError | Success; +export type RegisterCustomerAccountResult = + | MissingPasswordError + | NativeAuthStrategyError + | PasswordValidationError + | Success; export type RegisterCustomerInput = { - emailAddress: Scalars['String']['input']; - firstName?: InputMaybe; - lastName?: InputMaybe; - password?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName?: InputMaybe; + lastName?: InputMaybe; + password?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type RelationCustomFieldConfig = CustomField & { - __typename?: 'RelationCustomFieldConfig'; - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'RelationCustomFieldConfig'; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; }; export type RemoveOrderItemsResult = Order | OrderModificationError; export type RequestPasswordResetResult = NativeAuthStrategyError | Success; -export type RequestUpdateCustomerEmailAddressResult = EmailAddressConflictError | InvalidCredentialsError | NativeAuthStrategyError | Success; +export type RequestUpdateCustomerEmailAddressResult = + | EmailAddressConflictError + | InvalidCredentialsError + | NativeAuthStrategyError + | Success; -export type ResetPasswordResult = CurrentUser | NativeAuthStrategyError | NotVerifiedError | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError; +export type ResetPasswordResult = + | CurrentUser + | NativeAuthStrategyError + | NotVerifiedError + | PasswordResetTokenExpiredError + | PasswordResetTokenInvalidError + | PasswordValidationError; export type Role = Node & { - __typename?: 'Role'; - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Role'; + channels: Array; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + updatedAt: Scalars['DateTime']['output']; }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'RoleList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SearchInput = { - collectionId?: InputMaybe; - collectionSlug?: InputMaybe; - facetValueFilters?: InputMaybe>; - groupByProduct?: InputMaybe; - skip?: InputMaybe; - sort?: InputMaybe; - take?: InputMaybe; - term?: InputMaybe; + collectionId?: InputMaybe; + collectionSlug?: InputMaybe; + facetValueFilters?: InputMaybe>; + groupByProduct?: InputMaybe; + skip?: InputMaybe; + sort?: InputMaybe; + take?: InputMaybe; + term?: InputMaybe; }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; - success: Scalars['Boolean']['output']; + __typename?: 'SearchReindexResponse'; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SearchResponse'; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SearchResult = { - __typename?: 'SearchResult'; - /** An array of ids of the Collections in which this result appears */ - collectionIds: Array; - currencyCode: CurrencyCode; - description: Scalars['String']['output']; - facetIds: Array; - facetValueIds: Array; - price: SearchResultPrice; - priceWithTax: SearchResultPrice; - productAsset?: Maybe; - productId: Scalars['ID']['output']; - productName: Scalars['String']['output']; - productVariantAsset?: Maybe; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - /** A relevance score for the result. Differs between database implementations */ - score: Scalars['Float']['output']; - sku: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'SearchResult'; + /** An array of ids of the Collections in which this result appears */ + collectionIds: Array; + currencyCode: CurrencyCode; + description: Scalars['String']['output']; + facetIds: Array; + facetValueIds: Array; + price: SearchResultPrice; + priceWithTax: SearchResultPrice; + productAsset?: Maybe; + productId: Scalars['ID']['output']; + productName: Scalars['String']['output']; + productVariantAsset?: Maybe; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + /** A relevance score for the result. Differs between database implementations */ + score: Scalars['Float']['output']; + sku: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + __typename?: 'SearchResultAsset'; + focalPoint?: Maybe; + id: Scalars['ID']['output']; + preview: Scalars['String']['output']; }; /** The price of a search result product, either as a range or as a single price */ export type SearchResultPrice = PriceRange | SinglePrice; export type SearchResultSortParameter = { - name?: InputMaybe; - price?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; }; export type Seller = Node & { - __typename?: 'Seller'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; - -export type SetCustomerForOrderResult = AlreadyLoggedInError | EmailAddressConflictError | GuestCheckoutError | NoActiveOrderError | Order; - -export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; + __typename?: 'Seller'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; +}; + +export type SetCustomerForOrderResult = + | AlreadyLoggedInError + | EmailAddressConflictError + | GuestCheckoutError + | NoActiveOrderError + | Order; + +export type SetOrderShippingMethodResult = + | IneligibleShippingMethodError + | NoActiveOrderError + | Order + | OrderModificationError; export type ShippingLine = { - __typename?: 'ShippingLine'; - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + __typename?: 'ShippingLine'; + discountedPrice: Scalars['Money']['output']; + discountedPriceWithTax: Scalars['Money']['output']; + discounts: Array; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + shippingMethod: ShippingMethod; }; export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; - calculator: ConfigurableOperation; - checker: ConfigurableOperation; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - fulfillmentHandlerCode: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethod'; + calculator: ConfigurableOperation; + checker: ConfigurableOperation; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + fulfillmentHandlerCode: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ShippingMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ - metadata?: Maybe; - name: Scalars['String']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'ShippingMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ + metadata?: Maybe; + name: Scalars['String']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type ShippingMethodTranslation = { - __typename?: 'ShippingMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; - value: Scalars['Money']['output']; + __typename?: 'SinglePrice'; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC' + ASC = 'ASC', + DESC = 'DESC', } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; - label?: Maybe>; - value: Scalars['String']['output']; + __typename?: 'StringFieldOption'; + label?: Maybe>; + value: Scalars['String']['output']; }; /** Operators for filtering on a list of String fields */ export type StringListOperators = { - inList: Scalars['String']['input']; + inList: Scalars['String']['input']; }; /** Operators for filtering on a String field */ export type StringOperators = { - contains?: InputMaybe; - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notContains?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; - regex?: InputMaybe; + contains?: InputMaybe; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notContains?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; + regex?: InputMaybe; }; export type SubmitProductReviewInput = { - authorLocation?: InputMaybe; - authorName: Scalars['String']['input']; - body: Scalars['String']['input']; - customerId?: InputMaybe; - productId: Scalars['ID']['input']; - rating: Scalars['Float']['input']; - summary: Scalars['String']['input']; - variantId?: InputMaybe; + authorLocation?: InputMaybe; + authorName: Scalars['String']['input']; + body: Scalars['String']['input']; + customerId?: InputMaybe; + productId: Scalars['ID']['input']; + rating: Scalars['Float']['input']; + summary: Scalars['String']['input']; + variantId?: InputMaybe; }; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - __typename?: 'Success'; - success: Scalars['Boolean']['output']; + __typename?: 'Success'; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - __typename?: 'Surcharge'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - sku?: Maybe; - taxLines: Array; - taxRate: Scalars['Float']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Surcharge'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + sku?: Maybe; + taxLines: Array; + taxRate: Scalars['Float']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type Tag = Node & { - __typename?: 'Tag'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + __typename?: 'Tag'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagList = PaginatedList & { - __typename?: 'TagList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TagList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategory = Node & { - __typename?: 'TaxCategory'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'TaxCategory'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isDefault: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type TaxLine = { - __typename?: 'TaxLine'; - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + __typename?: 'TaxLine'; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - __typename?: 'TaxRate'; - category: TaxCategory; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customerGroup?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['Float']['output']; - zone: Zone; + __typename?: 'TaxRate'; + category: TaxCategory; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customerGroup?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['Float']['output']; + zone: Zone; }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxRateList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TextCustomFieldConfig = CustomField & { - __typename?: 'TextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'TextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionOrderToStateResult = Order | OrderStateTransitionError; export type UpdateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - id: Scalars['ID']['input']; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; -}; - -export type UpdateCustomerEmailAddressResult = IdentifierChangeTokenExpiredError | IdentifierChangeTokenInvalidError | NativeAuthStrategyError | Success; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + id: Scalars['ID']['input']; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; +}; + +export type UpdateCustomerEmailAddressResult = + | IdentifierChangeTokenExpiredError + | IdentifierChangeTokenInvalidError + | NativeAuthStrategyError + | Success; export type UpdateCustomerInput = { - customFields?: InputMaybe; - firstName?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + firstName?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; -export type UpdateCustomerPasswordResult = InvalidCredentialsError | NativeAuthStrategyError | PasswordValidationError | Success; +export type UpdateCustomerPasswordResult = + | InvalidCredentialsError + | NativeAuthStrategyError + | PasswordValidationError + | Success; export type UpdateOrderInput = { - customFields?: InputMaybe; + customFields?: InputMaybe; }; -export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError; +export type UpdateOrderItemsResult = + | InsufficientStockError + | NegativeQuantityError + | Order + | OrderLimitError + | OrderModificationError; export type User = Node & { - __typename?: 'User'; - authenticationMethods: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; - lastLogin?: Maybe; - roles: Array; - updatedAt: Scalars['DateTime']['output']; - verified: Scalars['Boolean']['output']; + __typename?: 'User'; + authenticationMethods: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; + lastLogin?: Maybe; + roles: Array; + updatedAt: Scalars['DateTime']['output']; + verified: Scalars['Boolean']['output']; }; /** @@ -3370,9 +3391,9 @@ export type User = Node & { * expired according to the `verificationTokenDuration` setting in the AuthOptions. */ export type VerificationTokenExpiredError = ErrorResult & { - __typename?: 'VerificationTokenExpiredError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'VerificationTokenExpiredError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -3380,19 +3401,26 @@ export type VerificationTokenExpiredError = ErrorResult & { * invalid or does not match any expected tokens. */ export type VerificationTokenInvalidError = ErrorResult & { - __typename?: 'VerificationTokenInvalidError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'VerificationTokenInvalidError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; -export type VerifyCustomerAccountResult = CurrentUser | MissingPasswordError | NativeAuthStrategyError | PasswordAlreadySetError | PasswordValidationError | VerificationTokenExpiredError | VerificationTokenInvalidError; +export type VerifyCustomerAccountResult = + | CurrentUser + | MissingPasswordError + | NativeAuthStrategyError + | PasswordAlreadySetError + | PasswordValidationError + | VerificationTokenExpiredError + | VerificationTokenInvalidError; export type Zone = Node & { - __typename?: 'Zone'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Zone'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; diff --git a/packages/dev-server/test-plugins/reviews/ui/generated-types.ts b/packages/dev-server/test-plugins/reviews/ui/generated-types.ts index 1e3de19ea4..9bb3616691 100644 --- a/packages/dev-server/test-plugins/reviews/ui/generated-types.ts +++ b/packages/dev-server/test-plugins/reviews/ui/generated-types.ts @@ -6,385 +6,406 @@ export type Exact = { [K in keyof T]: T[K] export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +export type Incremental = + | T + | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } - DateTime: { input: any; output: any; } - JSON: { input: any; output: any; } - Money: { input: number; output: number; } - Upload: { input: any; output: any; } -}; - -export type AddFulfillmentToOrderResult = CreateFulfillmentError | EmptyOrderLineSelectionError | Fulfillment | FulfillmentStateTransitionError | InsufficientStockOnHandError | InvalidFulfillmentHandlerError | ItemsAlreadyFulfilledError; + ID: { input: string; output: string }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + DateTime: { input: any; output: any }; + JSON: { input: any; output: any }; + Money: { input: number; output: number }; + Upload: { input: any; output: any }; +}; + +export type AddFulfillmentToOrderResult = + | CreateFulfillmentError + | EmptyOrderLineSelectionError + | Fulfillment + | FulfillmentStateTransitionError + | InsufficientStockOnHandError + | InvalidFulfillmentHandlerError + | ItemsAlreadyFulfilledError; export type AddItemInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type AddItemToDraftOrderInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type AddManualPaymentToOrderResult = ManualPaymentStateError | Order; export type AddNoteToCustomerInput = { - id: Scalars['ID']['input']; - isPublic: Scalars['Boolean']['input']; - note: Scalars['String']['input']; + id: Scalars['ID']['input']; + isPublic: Scalars['Boolean']['input']; + note: Scalars['String']['input']; }; export type AddNoteToOrderInput = { - id: Scalars['ID']['input']; - isPublic: Scalars['Boolean']['input']; - note: Scalars['String']['input']; + id: Scalars['ID']['input']; + isPublic: Scalars['Boolean']['input']; + note: Scalars['String']['input']; }; export type Address = Node & { - __typename?: 'Address'; - city?: Maybe; - company?: Maybe; - country: Country; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - defaultBillingAddress?: Maybe; - defaultShippingAddress?: Maybe; - fullName?: Maybe; - id: Scalars['ID']['output']; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1: Scalars['String']['output']; - streetLine2?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Address'; + city?: Maybe; + company?: Maybe; + country: Country; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + defaultBillingAddress?: Maybe; + defaultShippingAddress?: Maybe; + fullName?: Maybe; + id: Scalars['ID']['output']; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1: Scalars['String']['output']; + streetLine2?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type AdjustDraftOrderLineInput = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type Adjustment = { - __typename?: 'Adjustment'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Adjustment'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + data?: Maybe; + description: Scalars['String']['output']; + type: AdjustmentType; }; export enum AdjustmentType { - DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', - OTHER = 'OTHER', - PROMOTION = 'PROMOTION' + DISTRIBUTED_ORDER_PROMOTION = 'DISTRIBUTED_ORDER_PROMOTION', + OTHER = 'OTHER', + PROMOTION = 'PROMOTION', } export type Administrator = Node & { - __typename?: 'Administrator'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - user: User; + __typename?: 'Administrator'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + user: User; }; export type AdministratorFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; }; export type AdministratorList = PaginatedList & { - __typename?: 'AdministratorList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AdministratorList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AdministratorListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type AdministratorPaymentInput = { - metadata?: InputMaybe; - paymentMethod?: InputMaybe; + metadata?: InputMaybe; + paymentMethod?: InputMaybe; }; export type AdministratorRefundInput = { - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; }; export type AdministratorSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type Allocation = Node & StockMovement & { - __typename?: 'Allocation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - orderLine: OrderLine; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Allocation = Node & + StockMovement & { + __typename?: 'Allocation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + orderLine: OrderLine; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; /** Returned if an attempting to refund an OrderItem which has already been refunded */ export type AlreadyRefundedError = ErrorResult & { - __typename?: 'AlreadyRefundedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - refundId: Scalars['ID']['output']; + __typename?: 'AlreadyRefundedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + refundId: Scalars['ID']['output']; }; -export type ApplyCouponCodeResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | Order; +export type ApplyCouponCodeResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | Order; export type Asset = Node & { - __typename?: 'Asset'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - fileSize: Scalars['Int']['output']; - focalPoint?: Maybe; - height: Scalars['Int']['output']; - id: Scalars['ID']['output']; - mimeType: Scalars['String']['output']; - name: Scalars['String']['output']; - preview: Scalars['String']['output']; - source: Scalars['String']['output']; - tags: Array; - type: AssetType; - updatedAt: Scalars['DateTime']['output']; - width: Scalars['Int']['output']; + __typename?: 'Asset'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + fileSize: Scalars['Int']['output']; + focalPoint?: Maybe; + height: Scalars['Int']['output']; + id: Scalars['ID']['output']; + mimeType: Scalars['String']['output']; + name: Scalars['String']['output']; + preview: Scalars['String']['output']; + source: Scalars['String']['output']; + tags: Array; + type: AssetType; + updatedAt: Scalars['DateTime']['output']; + width: Scalars['Int']['output']; }; export type AssetFilterParameter = { - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + createdAt?: InputMaybe; + fileSize?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + mimeType?: InputMaybe; + name?: InputMaybe; + preview?: InputMaybe; + source?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; + width?: InputMaybe; }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'AssetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AssetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - tags?: InputMaybe>; - tagsOperator?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + tags?: InputMaybe>; + tagsOperator?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type AssetSortParameter = { - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + createdAt?: InputMaybe; + fileSize?: InputMaybe; + height?: InputMaybe; + id?: InputMaybe; + mimeType?: InputMaybe; + name?: InputMaybe; + preview?: InputMaybe; + source?: InputMaybe; + updatedAt?: InputMaybe; + width?: InputMaybe; }; export enum AssetType { - BINARY = 'BINARY', - IMAGE = 'IMAGE', - VIDEO = 'VIDEO' + BINARY = 'BINARY', + IMAGE = 'IMAGE', + VIDEO = 'VIDEO', } export type AssignAssetsToChannelInput = { - assetIds: Array; - channelId: Scalars['ID']['input']; + assetIds: Array; + channelId: Scalars['ID']['input']; }; export type AssignCollectionsToChannelInput = { - channelId: Scalars['ID']['input']; - collectionIds: Array; + channelId: Scalars['ID']['input']; + collectionIds: Array; }; export type AssignFacetsToChannelInput = { - channelId: Scalars['ID']['input']; - facetIds: Array; + channelId: Scalars['ID']['input']; + facetIds: Array; }; export type AssignPaymentMethodsToChannelInput = { - channelId: Scalars['ID']['input']; - paymentMethodIds: Array; + channelId: Scalars['ID']['input']; + paymentMethodIds: Array; }; export type AssignProductVariantsToChannelInput = { - channelId: Scalars['ID']['input']; - priceFactor?: InputMaybe; - productVariantIds: Array; + channelId: Scalars['ID']['input']; + priceFactor?: InputMaybe; + productVariantIds: Array; }; export type AssignProductsToChannelInput = { - channelId: Scalars['ID']['input']; - priceFactor?: InputMaybe; - productIds: Array; + channelId: Scalars['ID']['input']; + priceFactor?: InputMaybe; + productIds: Array; }; export type AssignPromotionsToChannelInput = { - channelId: Scalars['ID']['input']; - promotionIds: Array; + channelId: Scalars['ID']['input']; + promotionIds: Array; }; export type AssignShippingMethodsToChannelInput = { - channelId: Scalars['ID']['input']; - shippingMethodIds: Array; + channelId: Scalars['ID']['input']; + shippingMethodIds: Array; }; export type AssignStockLocationsToChannelInput = { - channelId: Scalars['ID']['input']; - stockLocationIds: Array; + channelId: Scalars['ID']['input']; + stockLocationIds: Array; }; export type AuthenticationInput = { - native?: InputMaybe; + native?: InputMaybe; }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'AuthenticationMethod'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + strategy: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type AuthenticationResult = CurrentUser | InvalidCredentialsError; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'BooleanCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Operators for filtering on a list of Boolean fields */ export type BooleanListOperators = { - inList: Scalars['Boolean']['input']; + inList: Scalars['Boolean']['input']; }; /** Operators for filtering on a Boolean field */ export type BooleanOperators = { - eq?: InputMaybe; - isNull?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; /** Returned if an attempting to cancel lines from an Order which is still active */ export type CancelActiveOrderError = ErrorResult & { - __typename?: 'CancelActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + __typename?: 'CancelActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; export type CancelOrderInput = { - /** Specify whether the shipping charges should also be cancelled. Defaults to false */ - cancelShipping?: InputMaybe; - /** Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled */ - lines?: InputMaybe>; - /** The id of the order to be cancelled */ - orderId: Scalars['ID']['input']; - reason?: InputMaybe; -}; - -export type CancelOrderResult = CancelActiveOrderError | EmptyOrderLineSelectionError | MultipleOrderError | Order | OrderStateTransitionError | QuantityTooGreatError; + /** Specify whether the shipping charges should also be cancelled. Defaults to false */ + cancelShipping?: InputMaybe; + /** Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled */ + lines?: InputMaybe>; + /** The id of the order to be cancelled */ + orderId: Scalars['ID']['input']; + reason?: InputMaybe; +}; + +export type CancelOrderResult = + | CancelActiveOrderError + | EmptyOrderLineSelectionError + | MultipleOrderError + | Order + | OrderStateTransitionError + | QuantityTooGreatError; /** Returned if the Payment cancellation fails */ export type CancelPaymentError = ErrorResult & { - __typename?: 'CancelPaymentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'CancelPaymentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; export type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError; -export type Cancellation = Node & StockMovement & { - __typename?: 'Cancellation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - orderLine: OrderLine; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type Cancellation = Node & + StockMovement & { + __typename?: 'Cancellation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + orderLine: OrderLine; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type Channel = Node & { - __typename?: 'Channel'; - availableCurrencyCodes: Array; - availableLanguageCodes?: Maybe>; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - /** @deprecated Use defaultCurrencyCode instead */ - currencyCode: CurrencyCode; - customFields?: Maybe; - defaultCurrencyCode: CurrencyCode; - defaultLanguageCode: LanguageCode; - defaultShippingZone?: Maybe; - defaultTaxZone?: Maybe; - id: Scalars['ID']['output']; - /** Not yet used - will be implemented in a future release. */ - outOfStockThreshold?: Maybe; - pricesIncludeTax: Scalars['Boolean']['output']; - seller?: Maybe; - token: Scalars['String']['output']; - /** Not yet used - will be implemented in a future release. */ - trackInventory?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Channel'; + availableCurrencyCodes: Array; + availableLanguageCodes?: Maybe>; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + /** @deprecated Use defaultCurrencyCode instead */ + currencyCode: CurrencyCode; + customFields?: Maybe; + defaultCurrencyCode: CurrencyCode; + defaultLanguageCode: LanguageCode; + defaultShippingZone?: Maybe; + defaultTaxZone?: Maybe; + id: Scalars['ID']['output']; + /** Not yet used - will be implemented in a future release. */ + outOfStockThreshold?: Maybe; + pricesIncludeTax: Scalars['Boolean']['output']; + seller?: Maybe; + token: Scalars['String']['output']; + /** Not yet used - will be implemented in a future release. */ + trackInventory?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -392,123 +413,122 @@ export type Channel = Node & { * of the GlobalSettings */ export type ChannelDefaultLanguageError = ErrorResult & { - __typename?: 'ChannelDefaultLanguageError'; - channelCode: Scalars['String']['output']; - errorCode: ErrorCode; - language: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'ChannelDefaultLanguageError'; + channelCode: Scalars['String']['output']; + errorCode: ErrorCode; + language: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type ChannelFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode?: InputMaybe; + id?: InputMaybe; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax?: InputMaybe; + token?: InputMaybe; + trackInventory?: InputMaybe; + updatedAt?: InputMaybe; }; export type ChannelList = PaginatedList & { - __typename?: 'ChannelList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ChannelList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ChannelListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ChannelSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - token?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + outOfStockThreshold?: InputMaybe; + token?: InputMaybe; + updatedAt?: InputMaybe; }; export type Collection = Node & { - __typename?: 'Collection'; - assets: Array; - breadcrumbs: Array; - children?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - featuredAsset?: Maybe; - filters: Array; - id: Scalars['ID']['output']; - inheritFilters: Scalars['Boolean']['output']; - isPrivate: Scalars['Boolean']['output']; - languageCode?: Maybe; - name: Scalars['String']['output']; - parent?: Maybe; - parentId: Scalars['ID']['output']; - position: Scalars['Int']['output']; - productVariants: ProductVariantList; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Collection'; + assets: Array; + breadcrumbs: Array; + children?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + featuredAsset?: Maybe; + filters: Array; + id: Scalars['ID']['output']; + inheritFilters: Scalars['Boolean']['output']; + isPrivate: Scalars['Boolean']['output']; + languageCode?: Maybe; + name: Scalars['String']['output']; + parent?: Maybe; + parentId: Scalars['ID']['output']; + position: Scalars['Int']['output']; + productVariants: ProductVariantList; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; - export type CollectionProductVariantsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'CollectionBreadcrumb'; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CollectionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; - topLevelOnly?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; + topLevelOnly?: InputMaybe; }; /** @@ -516,435 +536,436 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - __typename?: 'CollectionResult'; - collection: Collection; - count: Scalars['Int']['output']; + __typename?: 'CollectionResult'; + collection: Collection; + count: Scalars['Int']['output']; }; export type CollectionSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + position?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CollectionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ConfigArg = { - __typename?: 'ConfigArg'; - name: Scalars['String']['output']; - value: Scalars['String']['output']; + __typename?: 'ConfigArg'; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; - defaultValue?: Maybe; - description?: Maybe; - label?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - required: Scalars['Boolean']['output']; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'ConfigArgDefinition'; + defaultValue?: Maybe; + description?: Maybe; + label?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + required: Scalars['Boolean']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type ConfigArgInput = { - name: Scalars['String']['input']; - /** A JSON stringified representation of the actual value */ - value: Scalars['String']['input']; + name: Scalars['String']['input']; + /** A JSON stringified representation of the actual value */ + value: Scalars['String']['input']; }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; - args: Array; - code: Scalars['String']['output']; + __typename?: 'ConfigurableOperation'; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + __typename?: 'ConfigurableOperationDefinition'; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; }; export type ConfigurableOperationInput = { - arguments: Array; - code: Scalars['String']['input']; + arguments: Array; + code: Scalars['String']['input']; }; export type Coordinate = { - __typename?: 'Coordinate'; - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; + __typename?: 'Coordinate'; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; }; export type CoordinateInput = { - x: Scalars['Float']['input']; - y: Scalars['Float']['input']; -}; - -export type Country = Node & Region & { - __typename?: 'Country'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; +}; + +export type Country = Node & + Region & { + __typename?: 'Country'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type CountryFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CountryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CountryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CountrySortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeExpiredError = ErrorResult & { - __typename?: 'CouponCodeExpiredError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeExpiredError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - __typename?: 'CouponCodeInvalidError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'CouponCodeInvalidError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - __typename?: 'CouponCodeLimitError'; - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'CouponCodeLimitError'; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type CreateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode: Scalars['String']['input']; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1: Scalars['String']['input']; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode: Scalars['String']['input']; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1: Scalars['String']['input']; + streetLine2?: InputMaybe; }; export type CreateAdministratorInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - password: Scalars['String']['input']; - roleIds: Array; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + password: Scalars['String']['input']; + roleIds: Array; }; export type CreateAssetInput = { - customFields?: InputMaybe; - file: Scalars['Upload']['input']; - tags?: InputMaybe>; + customFields?: InputMaybe; + file: Scalars['Upload']['input']; + tags?: InputMaybe>; }; export type CreateAssetResult = Asset | MimeTypeError; export type CreateChannelInput = { - availableCurrencyCodes?: InputMaybe>; - availableLanguageCodes?: InputMaybe>; - code: Scalars['String']['input']; - customFields?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode: LanguageCode; - defaultShippingZoneId: Scalars['ID']['input']; - defaultTaxZoneId: Scalars['ID']['input']; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax: Scalars['Boolean']['input']; - sellerId?: InputMaybe; - token: Scalars['String']['input']; - trackInventory?: InputMaybe; + availableCurrencyCodes?: InputMaybe>; + availableLanguageCodes?: InputMaybe>; + code: Scalars['String']['input']; + customFields?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode: LanguageCode; + defaultShippingZoneId: Scalars['ID']['input']; + defaultTaxZoneId: Scalars['ID']['input']; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax: Scalars['Boolean']['input']; + sellerId?: InputMaybe; + token: Scalars['String']['input']; + trackInventory?: InputMaybe; }; export type CreateChannelResult = Channel | LanguageNotAvailableError; export type CreateCollectionInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - featuredAssetId?: InputMaybe; - filters: Array; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - parentId?: InputMaybe; - translations: Array; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + featuredAssetId?: InputMaybe; + filters: Array; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + parentId?: InputMaybe; + translations: Array; }; export type CreateCollectionTranslationInput = { - customFields?: InputMaybe; - description: Scalars['String']['input']; - languageCode: LanguageCode; - name: Scalars['String']['input']; - slug: Scalars['String']['input']; + customFields?: InputMaybe; + description: Scalars['String']['input']; + languageCode: LanguageCode; + name: Scalars['String']['input']; + slug: Scalars['String']['input']; }; export type CreateCountryInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + translations: Array; }; export type CreateCustomerGroupInput = { - customFields?: InputMaybe; - customerIds?: InputMaybe>; - name: Scalars['String']['input']; + customFields?: InputMaybe; + customerIds?: InputMaybe>; + name: Scalars['String']['input']; }; export type CreateCustomerInput = { - customFields?: InputMaybe; - emailAddress: Scalars['String']['input']; - firstName: Scalars['String']['input']; - lastName: Scalars['String']['input']; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress: Scalars['String']['input']; + firstName: Scalars['String']['input']; + lastName: Scalars['String']['input']; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type CreateCustomerResult = Customer | EmailAddressConflictError; export type CreateFacetInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - isPrivate: Scalars['Boolean']['input']; - translations: Array; - values?: InputMaybe>; + code: Scalars['String']['input']; + customFields?: InputMaybe; + isPrivate: Scalars['Boolean']['input']; + translations: Array; + values?: InputMaybe>; }; export type CreateFacetValueInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - facetId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + facetId: Scalars['ID']['input']; + translations: Array; }; export type CreateFacetValueWithFacetInput = { - code: Scalars['String']['input']; - translations: Array; + code: Scalars['String']['input']; + translations: Array; }; /** Returned if an error is thrown in a FulfillmentHandler's createFulfillment method */ export type CreateFulfillmentError = ErrorResult & { - __typename?: 'CreateFulfillmentError'; - errorCode: ErrorCode; - fulfillmentHandlerError: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'CreateFulfillmentError'; + errorCode: ErrorCode; + fulfillmentHandlerError: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type CreateGroupOptionInput = { - code: Scalars['String']['input']; - translations: Array; + code: Scalars['String']['input']; + translations: Array; }; export type CreatePaymentMethodInput = { - checker?: InputMaybe; - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - handler: ConfigurableOperationInput; - translations: Array; + checker?: InputMaybe; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + handler: ConfigurableOperationInput; + translations: Array; }; export type CreateProductCustomFieldsInput = { - featuredReviewId?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; + featuredReviewId?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; }; export type CreateProductInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - translations: Array; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + translations: Array; }; export type CreateProductOptionGroupInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - options: Array; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + options: Array; + translations: Array; }; export type CreateProductOptionInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - productOptionGroupId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + productOptionGroupId: Scalars['ID']['input']; + translations: Array; }; export type CreateProductVariantInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - optionIds?: InputMaybe>; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - productId: Scalars['ID']['input']; - sku: Scalars['String']['input']; - stockLevels?: InputMaybe>; - stockOnHand?: InputMaybe; - taxCategoryId?: InputMaybe; - trackInventory?: InputMaybe; - translations: Array; - useGlobalOutOfStockThreshold?: InputMaybe; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + optionIds?: InputMaybe>; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + productId: Scalars['ID']['input']; + sku: Scalars['String']['input']; + stockLevels?: InputMaybe>; + stockOnHand?: InputMaybe; + taxCategoryId?: InputMaybe; + trackInventory?: InputMaybe; + translations: Array; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type CreateProductVariantOptionInput = { - code: Scalars['String']['input']; - optionGroupId: Scalars['ID']['input']; - translations: Array; + code: Scalars['String']['input']; + optionGroupId: Scalars['ID']['input']; + translations: Array; }; export type CreatePromotionInput = { - actions: Array; - conditions: Array; - couponCode?: InputMaybe; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - endsAt?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - translations: Array; + actions: Array; + conditions: Array; + couponCode?: InputMaybe; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + endsAt?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + translations: Array; }; export type CreatePromotionResult = MissingConditionsError | Promotion; export type CreateProvinceInput = { - code: Scalars['String']['input']; - customFields?: InputMaybe; - enabled: Scalars['Boolean']['input']; - translations: Array; + code: Scalars['String']['input']; + customFields?: InputMaybe; + enabled: Scalars['Boolean']['input']; + translations: Array; }; export type CreateRoleInput = { - channelIds?: InputMaybe>; - code: Scalars['String']['input']; - description: Scalars['String']['input']; - permissions: Array; + channelIds?: InputMaybe>; + code: Scalars['String']['input']; + description: Scalars['String']['input']; + permissions: Array; }; export type CreateSellerInput = { - customFields?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateShippingMethodInput = { - calculator: ConfigurableOperationInput; - checker: ConfigurableOperationInput; - code: Scalars['String']['input']; - customFields?: InputMaybe; - fulfillmentHandler: Scalars['String']['input']; - translations: Array; + calculator: ConfigurableOperationInput; + checker: ConfigurableOperationInput; + code: Scalars['String']['input']; + customFields?: InputMaybe; + fulfillmentHandler: Scalars['String']['input']; + translations: Array; }; export type CreateStockLocationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + description?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateTagInput = { - value: Scalars['String']['input']; + value: Scalars['String']['input']; }; export type CreateTaxCategoryInput = { - customFields?: InputMaybe; - isDefault?: InputMaybe; - name: Scalars['String']['input']; + customFields?: InputMaybe; + isDefault?: InputMaybe; + name: Scalars['String']['input']; }; export type CreateTaxRateInput = { - categoryId: Scalars['ID']['input']; - customFields?: InputMaybe; - customerGroupId?: InputMaybe; - enabled: Scalars['Boolean']['input']; - name: Scalars['String']['input']; - value: Scalars['Float']['input']; - zoneId: Scalars['ID']['input']; + categoryId: Scalars['ID']['input']; + customFields?: InputMaybe; + customerGroupId?: InputMaybe; + enabled: Scalars['Boolean']['input']; + name: Scalars['String']['input']; + value: Scalars['Float']['input']; + zoneId: Scalars['ID']['input']; }; export type CreateZoneInput = { - customFields?: InputMaybe; - memberIds?: InputMaybe>; - name: Scalars['String']['input']; + customFields?: InputMaybe; + memberIds?: InputMaybe>; + name: Scalars['String']['input']; }; /** @@ -954,517 +975,523 @@ export type CreateZoneInput = { * @docsCategory common */ export enum CurrencyCode { - /** United Arab Emirates dirham */ - AED = 'AED', - /** Afghan afghani */ - AFN = 'AFN', - /** Albanian lek */ - ALL = 'ALL', - /** Armenian dram */ - AMD = 'AMD', - /** Netherlands Antillean guilder */ - ANG = 'ANG', - /** Angolan kwanza */ - AOA = 'AOA', - /** Argentine peso */ - ARS = 'ARS', - /** Australian dollar */ - AUD = 'AUD', - /** Aruban florin */ - AWG = 'AWG', - /** Azerbaijani manat */ - AZN = 'AZN', - /** Bosnia and Herzegovina convertible mark */ - BAM = 'BAM', - /** Barbados dollar */ - BBD = 'BBD', - /** Bangladeshi taka */ - BDT = 'BDT', - /** Bulgarian lev */ - BGN = 'BGN', - /** Bahraini dinar */ - BHD = 'BHD', - /** Burundian franc */ - BIF = 'BIF', - /** Bermudian dollar */ - BMD = 'BMD', - /** Brunei dollar */ - BND = 'BND', - /** Boliviano */ - BOB = 'BOB', - /** Brazilian real */ - BRL = 'BRL', - /** Bahamian dollar */ - BSD = 'BSD', - /** Bhutanese ngultrum */ - BTN = 'BTN', - /** Botswana pula */ - BWP = 'BWP', - /** Belarusian ruble */ - BYN = 'BYN', - /** Belize dollar */ - BZD = 'BZD', - /** Canadian dollar */ - CAD = 'CAD', - /** Congolese franc */ - CDF = 'CDF', - /** Swiss franc */ - CHF = 'CHF', - /** Chilean peso */ - CLP = 'CLP', - /** Renminbi (Chinese) yuan */ - CNY = 'CNY', - /** Colombian peso */ - COP = 'COP', - /** Costa Rican colon */ - CRC = 'CRC', - /** Cuban convertible peso */ - CUC = 'CUC', - /** Cuban peso */ - CUP = 'CUP', - /** Cape Verde escudo */ - CVE = 'CVE', - /** Czech koruna */ - CZK = 'CZK', - /** Djiboutian franc */ - DJF = 'DJF', - /** Danish krone */ - DKK = 'DKK', - /** Dominican peso */ - DOP = 'DOP', - /** Algerian dinar */ - DZD = 'DZD', - /** Egyptian pound */ - EGP = 'EGP', - /** Eritrean nakfa */ - ERN = 'ERN', - /** Ethiopian birr */ - ETB = 'ETB', - /** Euro */ - EUR = 'EUR', - /** Fiji dollar */ - FJD = 'FJD', - /** Falkland Islands pound */ - FKP = 'FKP', - /** Pound sterling */ - GBP = 'GBP', - /** Georgian lari */ - GEL = 'GEL', - /** Ghanaian cedi */ - GHS = 'GHS', - /** Gibraltar pound */ - GIP = 'GIP', - /** Gambian dalasi */ - GMD = 'GMD', - /** Guinean franc */ - GNF = 'GNF', - /** Guatemalan quetzal */ - GTQ = 'GTQ', - /** Guyanese dollar */ - GYD = 'GYD', - /** Hong Kong dollar */ - HKD = 'HKD', - /** Honduran lempira */ - HNL = 'HNL', - /** Croatian kuna */ - HRK = 'HRK', - /** Haitian gourde */ - HTG = 'HTG', - /** Hungarian forint */ - HUF = 'HUF', - /** Indonesian rupiah */ - IDR = 'IDR', - /** Israeli new shekel */ - ILS = 'ILS', - /** Indian rupee */ - INR = 'INR', - /** Iraqi dinar */ - IQD = 'IQD', - /** Iranian rial */ - IRR = 'IRR', - /** Icelandic króna */ - ISK = 'ISK', - /** Jamaican dollar */ - JMD = 'JMD', - /** Jordanian dinar */ - JOD = 'JOD', - /** Japanese yen */ - JPY = 'JPY', - /** Kenyan shilling */ - KES = 'KES', - /** Kyrgyzstani som */ - KGS = 'KGS', - /** Cambodian riel */ - KHR = 'KHR', - /** Comoro franc */ - KMF = 'KMF', - /** North Korean won */ - KPW = 'KPW', - /** South Korean won */ - KRW = 'KRW', - /** Kuwaiti dinar */ - KWD = 'KWD', - /** Cayman Islands dollar */ - KYD = 'KYD', - /** Kazakhstani tenge */ - KZT = 'KZT', - /** Lao kip */ - LAK = 'LAK', - /** Lebanese pound */ - LBP = 'LBP', - /** Sri Lankan rupee */ - LKR = 'LKR', - /** Liberian dollar */ - LRD = 'LRD', - /** Lesotho loti */ - LSL = 'LSL', - /** Libyan dinar */ - LYD = 'LYD', - /** Moroccan dirham */ - MAD = 'MAD', - /** Moldovan leu */ - MDL = 'MDL', - /** Malagasy ariary */ - MGA = 'MGA', - /** Macedonian denar */ - MKD = 'MKD', - /** Myanmar kyat */ - MMK = 'MMK', - /** Mongolian tögrög */ - MNT = 'MNT', - /** Macanese pataca */ - MOP = 'MOP', - /** Mauritanian ouguiya */ - MRU = 'MRU', - /** Mauritian rupee */ - MUR = 'MUR', - /** Maldivian rufiyaa */ - MVR = 'MVR', - /** Malawian kwacha */ - MWK = 'MWK', - /** Mexican peso */ - MXN = 'MXN', - /** Malaysian ringgit */ - MYR = 'MYR', - /** Mozambican metical */ - MZN = 'MZN', - /** Namibian dollar */ - NAD = 'NAD', - /** Nigerian naira */ - NGN = 'NGN', - /** Nicaraguan córdoba */ - NIO = 'NIO', - /** Norwegian krone */ - NOK = 'NOK', - /** Nepalese rupee */ - NPR = 'NPR', - /** New Zealand dollar */ - NZD = 'NZD', - /** Omani rial */ - OMR = 'OMR', - /** Panamanian balboa */ - PAB = 'PAB', - /** Peruvian sol */ - PEN = 'PEN', - /** Papua New Guinean kina */ - PGK = 'PGK', - /** Philippine peso */ - PHP = 'PHP', - /** Pakistani rupee */ - PKR = 'PKR', - /** Polish złoty */ - PLN = 'PLN', - /** Paraguayan guaraní */ - PYG = 'PYG', - /** Qatari riyal */ - QAR = 'QAR', - /** Romanian leu */ - RON = 'RON', - /** Serbian dinar */ - RSD = 'RSD', - /** Russian ruble */ - RUB = 'RUB', - /** Rwandan franc */ - RWF = 'RWF', - /** Saudi riyal */ - SAR = 'SAR', - /** Solomon Islands dollar */ - SBD = 'SBD', - /** Seychelles rupee */ - SCR = 'SCR', - /** Sudanese pound */ - SDG = 'SDG', - /** Swedish krona/kronor */ - SEK = 'SEK', - /** Singapore dollar */ - SGD = 'SGD', - /** Saint Helena pound */ - SHP = 'SHP', - /** Sierra Leonean leone */ - SLL = 'SLL', - /** Somali shilling */ - SOS = 'SOS', - /** Surinamese dollar */ - SRD = 'SRD', - /** South Sudanese pound */ - SSP = 'SSP', - /** São Tomé and Príncipe dobra */ - STN = 'STN', - /** Salvadoran colón */ - SVC = 'SVC', - /** Syrian pound */ - SYP = 'SYP', - /** Swazi lilangeni */ - SZL = 'SZL', - /** Thai baht */ - THB = 'THB', - /** Tajikistani somoni */ - TJS = 'TJS', - /** Turkmenistan manat */ - TMT = 'TMT', - /** Tunisian dinar */ - TND = 'TND', - /** Tongan paʻanga */ - TOP = 'TOP', - /** Turkish lira */ - TRY = 'TRY', - /** Trinidad and Tobago dollar */ - TTD = 'TTD', - /** New Taiwan dollar */ - TWD = 'TWD', - /** Tanzanian shilling */ - TZS = 'TZS', - /** Ukrainian hryvnia */ - UAH = 'UAH', - /** Ugandan shilling */ - UGX = 'UGX', - /** United States dollar */ - USD = 'USD', - /** Uruguayan peso */ - UYU = 'UYU', - /** Uzbekistan som */ - UZS = 'UZS', - /** Venezuelan bolívar soberano */ - VES = 'VES', - /** Vietnamese đồng */ - VND = 'VND', - /** Vanuatu vatu */ - VUV = 'VUV', - /** Samoan tala */ - WST = 'WST', - /** CFA franc BEAC */ - XAF = 'XAF', - /** East Caribbean dollar */ - XCD = 'XCD', - /** CFA franc BCEAO */ - XOF = 'XOF', - /** CFP franc (franc Pacifique) */ - XPF = 'XPF', - /** Yemeni rial */ - YER = 'YER', - /** South African rand */ - ZAR = 'ZAR', - /** Zambian kwacha */ - ZMW = 'ZMW', - /** Zimbabwean dollar */ - ZWL = 'ZWL' + /** United Arab Emirates dirham */ + AED = 'AED', + /** Afghan afghani */ + AFN = 'AFN', + /** Albanian lek */ + ALL = 'ALL', + /** Armenian dram */ + AMD = 'AMD', + /** Netherlands Antillean guilder */ + ANG = 'ANG', + /** Angolan kwanza */ + AOA = 'AOA', + /** Argentine peso */ + ARS = 'ARS', + /** Australian dollar */ + AUD = 'AUD', + /** Aruban florin */ + AWG = 'AWG', + /** Azerbaijani manat */ + AZN = 'AZN', + /** Bosnia and Herzegovina convertible mark */ + BAM = 'BAM', + /** Barbados dollar */ + BBD = 'BBD', + /** Bangladeshi taka */ + BDT = 'BDT', + /** Bulgarian lev */ + BGN = 'BGN', + /** Bahraini dinar */ + BHD = 'BHD', + /** Burundian franc */ + BIF = 'BIF', + /** Bermudian dollar */ + BMD = 'BMD', + /** Brunei dollar */ + BND = 'BND', + /** Boliviano */ + BOB = 'BOB', + /** Brazilian real */ + BRL = 'BRL', + /** Bahamian dollar */ + BSD = 'BSD', + /** Bhutanese ngultrum */ + BTN = 'BTN', + /** Botswana pula */ + BWP = 'BWP', + /** Belarusian ruble */ + BYN = 'BYN', + /** Belize dollar */ + BZD = 'BZD', + /** Canadian dollar */ + CAD = 'CAD', + /** Congolese franc */ + CDF = 'CDF', + /** Swiss franc */ + CHF = 'CHF', + /** Chilean peso */ + CLP = 'CLP', + /** Renminbi (Chinese) yuan */ + CNY = 'CNY', + /** Colombian peso */ + COP = 'COP', + /** Costa Rican colon */ + CRC = 'CRC', + /** Cuban convertible peso */ + CUC = 'CUC', + /** Cuban peso */ + CUP = 'CUP', + /** Cape Verde escudo */ + CVE = 'CVE', + /** Czech koruna */ + CZK = 'CZK', + /** Djiboutian franc */ + DJF = 'DJF', + /** Danish krone */ + DKK = 'DKK', + /** Dominican peso */ + DOP = 'DOP', + /** Algerian dinar */ + DZD = 'DZD', + /** Egyptian pound */ + EGP = 'EGP', + /** Eritrean nakfa */ + ERN = 'ERN', + /** Ethiopian birr */ + ETB = 'ETB', + /** Euro */ + EUR = 'EUR', + /** Fiji dollar */ + FJD = 'FJD', + /** Falkland Islands pound */ + FKP = 'FKP', + /** Pound sterling */ + GBP = 'GBP', + /** Georgian lari */ + GEL = 'GEL', + /** Ghanaian cedi */ + GHS = 'GHS', + /** Gibraltar pound */ + GIP = 'GIP', + /** Gambian dalasi */ + GMD = 'GMD', + /** Guinean franc */ + GNF = 'GNF', + /** Guatemalan quetzal */ + GTQ = 'GTQ', + /** Guyanese dollar */ + GYD = 'GYD', + /** Hong Kong dollar */ + HKD = 'HKD', + /** Honduran lempira */ + HNL = 'HNL', + /** Croatian kuna */ + HRK = 'HRK', + /** Haitian gourde */ + HTG = 'HTG', + /** Hungarian forint */ + HUF = 'HUF', + /** Indonesian rupiah */ + IDR = 'IDR', + /** Israeli new shekel */ + ILS = 'ILS', + /** Indian rupee */ + INR = 'INR', + /** Iraqi dinar */ + IQD = 'IQD', + /** Iranian rial */ + IRR = 'IRR', + /** Icelandic króna */ + ISK = 'ISK', + /** Jamaican dollar */ + JMD = 'JMD', + /** Jordanian dinar */ + JOD = 'JOD', + /** Japanese yen */ + JPY = 'JPY', + /** Kenyan shilling */ + KES = 'KES', + /** Kyrgyzstani som */ + KGS = 'KGS', + /** Cambodian riel */ + KHR = 'KHR', + /** Comoro franc */ + KMF = 'KMF', + /** North Korean won */ + KPW = 'KPW', + /** South Korean won */ + KRW = 'KRW', + /** Kuwaiti dinar */ + KWD = 'KWD', + /** Cayman Islands dollar */ + KYD = 'KYD', + /** Kazakhstani tenge */ + KZT = 'KZT', + /** Lao kip */ + LAK = 'LAK', + /** Lebanese pound */ + LBP = 'LBP', + /** Sri Lankan rupee */ + LKR = 'LKR', + /** Liberian dollar */ + LRD = 'LRD', + /** Lesotho loti */ + LSL = 'LSL', + /** Libyan dinar */ + LYD = 'LYD', + /** Moroccan dirham */ + MAD = 'MAD', + /** Moldovan leu */ + MDL = 'MDL', + /** Malagasy ariary */ + MGA = 'MGA', + /** Macedonian denar */ + MKD = 'MKD', + /** Myanmar kyat */ + MMK = 'MMK', + /** Mongolian tögrög */ + MNT = 'MNT', + /** Macanese pataca */ + MOP = 'MOP', + /** Mauritanian ouguiya */ + MRU = 'MRU', + /** Mauritian rupee */ + MUR = 'MUR', + /** Maldivian rufiyaa */ + MVR = 'MVR', + /** Malawian kwacha */ + MWK = 'MWK', + /** Mexican peso */ + MXN = 'MXN', + /** Malaysian ringgit */ + MYR = 'MYR', + /** Mozambican metical */ + MZN = 'MZN', + /** Namibian dollar */ + NAD = 'NAD', + /** Nigerian naira */ + NGN = 'NGN', + /** Nicaraguan córdoba */ + NIO = 'NIO', + /** Norwegian krone */ + NOK = 'NOK', + /** Nepalese rupee */ + NPR = 'NPR', + /** New Zealand dollar */ + NZD = 'NZD', + /** Omani rial */ + OMR = 'OMR', + /** Panamanian balboa */ + PAB = 'PAB', + /** Peruvian sol */ + PEN = 'PEN', + /** Papua New Guinean kina */ + PGK = 'PGK', + /** Philippine peso */ + PHP = 'PHP', + /** Pakistani rupee */ + PKR = 'PKR', + /** Polish złoty */ + PLN = 'PLN', + /** Paraguayan guaraní */ + PYG = 'PYG', + /** Qatari riyal */ + QAR = 'QAR', + /** Romanian leu */ + RON = 'RON', + /** Serbian dinar */ + RSD = 'RSD', + /** Russian ruble */ + RUB = 'RUB', + /** Rwandan franc */ + RWF = 'RWF', + /** Saudi riyal */ + SAR = 'SAR', + /** Solomon Islands dollar */ + SBD = 'SBD', + /** Seychelles rupee */ + SCR = 'SCR', + /** Sudanese pound */ + SDG = 'SDG', + /** Swedish krona/kronor */ + SEK = 'SEK', + /** Singapore dollar */ + SGD = 'SGD', + /** Saint Helena pound */ + SHP = 'SHP', + /** Sierra Leonean leone */ + SLL = 'SLL', + /** Somali shilling */ + SOS = 'SOS', + /** Surinamese dollar */ + SRD = 'SRD', + /** South Sudanese pound */ + SSP = 'SSP', + /** São Tomé and Príncipe dobra */ + STN = 'STN', + /** Salvadoran colón */ + SVC = 'SVC', + /** Syrian pound */ + SYP = 'SYP', + /** Swazi lilangeni */ + SZL = 'SZL', + /** Thai baht */ + THB = 'THB', + /** Tajikistani somoni */ + TJS = 'TJS', + /** Turkmenistan manat */ + TMT = 'TMT', + /** Tunisian dinar */ + TND = 'TND', + /** Tongan paʻanga */ + TOP = 'TOP', + /** Turkish lira */ + TRY = 'TRY', + /** Trinidad and Tobago dollar */ + TTD = 'TTD', + /** New Taiwan dollar */ + TWD = 'TWD', + /** Tanzanian shilling */ + TZS = 'TZS', + /** Ukrainian hryvnia */ + UAH = 'UAH', + /** Ugandan shilling */ + UGX = 'UGX', + /** United States dollar */ + USD = 'USD', + /** Uruguayan peso */ + UYU = 'UYU', + /** Uzbekistan som */ + UZS = 'UZS', + /** Venezuelan bolívar soberano */ + VES = 'VES', + /** Vietnamese đồng */ + VND = 'VND', + /** Vanuatu vatu */ + VUV = 'VUV', + /** Samoan tala */ + WST = 'WST', + /** CFA franc BEAC */ + XAF = 'XAF', + /** East Caribbean dollar */ + XCD = 'XCD', + /** CFA franc BCEAO */ + XOF = 'XOF', + /** CFP franc (franc Pacifique) */ + XPF = 'XPF', + /** Yemeni rial */ + YER = 'YER', + /** South African rand */ + ZAR = 'ZAR', + /** Zambian kwacha */ + ZMW = 'ZMW', + /** Zimbabwean dollar */ + ZWL = 'ZWL', } export type CurrentUser = { - __typename?: 'CurrentUser'; - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + __typename?: 'CurrentUser'; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + __typename?: 'CurrentUserChannel'; + code: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + token: Scalars['String']['output']; }; export type CustomField = { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = + | BooleanCustomFieldConfig + | DateTimeCustomFieldConfig + | FloatCustomFieldConfig + | IntCustomFieldConfig + | LocaleStringCustomFieldConfig + | LocaleTextCustomFieldConfig + | RelationCustomFieldConfig + | StringCustomFieldConfig + | TextCustomFieldConfig; export type CustomFields = { - __typename?: 'CustomFields'; - Address: Array; - Administrator: Array; - Asset: Array; - Channel: Array; - Collection: Array; - Customer: Array; - CustomerGroup: Array; - Facet: Array; - FacetValue: Array; - Fulfillment: Array; - GlobalSettings: Array; - Order: Array; - OrderLine: Array; - PaymentMethod: Array; - Product: Array; - ProductOption: Array; - ProductOptionGroup: Array; - ProductVariant: Array; - Promotion: Array; - Region: Array; - Seller: Array; - ShippingMethod: Array; - StockLocation: Array; - TaxCategory: Array; - TaxRate: Array; - User: Array; - Zone: Array; + __typename?: 'CustomFields'; + Address: Array; + Administrator: Array; + Asset: Array; + Channel: Array; + Collection: Array; + Customer: Array; + CustomerGroup: Array; + Facet: Array; + FacetValue: Array; + Fulfillment: Array; + GlobalSettings: Array; + Order: Array; + OrderLine: Array; + PaymentMethod: Array; + Product: Array; + ProductOption: Array; + ProductOptionGroup: Array; + ProductVariant: Array; + Promotion: Array; + Region: Array; + Seller: Array; + ShippingMethod: Array; + StockLocation: Array; + TaxCategory: Array; + TaxRate: Array; + User: Array; + Zone: Array; }; export type Customer = Node & { - __typename?: 'Customer'; - addresses?: Maybe>; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - emailAddress: Scalars['String']['output']; - firstName: Scalars['String']['output']; - groups: Array; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lastName: Scalars['String']['output']; - orders: OrderList; - phoneNumber?: Maybe; - title?: Maybe; - updatedAt: Scalars['DateTime']['output']; - user?: Maybe; + __typename?: 'Customer'; + addresses?: Maybe>; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + emailAddress: Scalars['String']['output']; + firstName: Scalars['String']['output']; + groups: Array; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lastName: Scalars['String']['output']; + orders: OrderList; + phoneNumber?: Maybe; + title?: Maybe; + updatedAt: Scalars['DateTime']['output']; + user?: Maybe; }; - export type CustomerHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type CustomerOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerFilterParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'CustomerGroup'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customers: CustomerList; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; - export type CustomerGroupCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type CustomerGroupFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroupList = PaginatedList & { - __typename?: 'CustomerGroupList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerGroupList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerGroupListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerGroupSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'CustomerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type CustomerSortParameter = { - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; /** Operators for filtering on a list of Date fields */ export type DateListOperators = { - inList: Scalars['DateTime']['input']; + inList: Scalars['DateTime']['input']; }; /** Operators for filtering on a DateTime field */ export type DateOperators = { - after?: InputMaybe; - before?: InputMaybe; - between?: InputMaybe; - eq?: InputMaybe; - isNull?: InputMaybe; + after?: InputMaybe; + before?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + isNull?: InputMaybe; }; export type DateRange = { - end: Scalars['DateTime']['input']; - start: Scalars['DateTime']['input']; + end: Scalars['DateTime']['input']; + start: Scalars['DateTime']['input']; }; /** @@ -1472,212 +1499,212 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - __typename?: 'DateTimeCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'DateTimeCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type DeleteAssetInput = { - assetId: Scalars['ID']['input']; - deleteFromAllChannels?: InputMaybe; - force?: InputMaybe; + assetId: Scalars['ID']['input']; + deleteFromAllChannels?: InputMaybe; + force?: InputMaybe; }; export type DeleteAssetsInput = { - assetIds: Array; - deleteFromAllChannels?: InputMaybe; - force?: InputMaybe; + assetIds: Array; + deleteFromAllChannels?: InputMaybe; + force?: InputMaybe; }; export type DeleteStockLocationInput = { - id: Scalars['ID']['input']; - transferToLocationId?: InputMaybe; + id: Scalars['ID']['input']; + transferToLocationId?: InputMaybe; }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; - message?: Maybe; - result: DeletionResult; + __typename?: 'DeletionResponse'; + message?: Maybe; + result: DeletionResult; }; export enum DeletionResult { - /** The entity was successfully deleted */ - DELETED = 'DELETED', - /** Deletion did not take place, reason given in message */ - NOT_DELETED = 'NOT_DELETED' + /** The entity was successfully deleted */ + DELETED = 'DELETED', + /** Deletion did not take place, reason given in message */ + NOT_DELETED = 'NOT_DELETED', } export type Discount = { - __typename?: 'Discount'; - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + __typename?: 'Discount'; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - __typename?: 'EmailAddressConflictError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmailAddressConflictError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if no OrderLines have been specified for the operation */ export type EmptyOrderLineSelectionError = ErrorResult & { - __typename?: 'EmptyOrderLineSelectionError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'EmptyOrderLineSelectionError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum ErrorCode { - ALREADY_REFUNDED_ERROR = 'ALREADY_REFUNDED_ERROR', - CANCEL_ACTIVE_ORDER_ERROR = 'CANCEL_ACTIVE_ORDER_ERROR', - CANCEL_PAYMENT_ERROR = 'CANCEL_PAYMENT_ERROR', - CHANNEL_DEFAULT_LANGUAGE_ERROR = 'CHANNEL_DEFAULT_LANGUAGE_ERROR', - COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', - COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', - COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', - CREATE_FULFILLMENT_ERROR = 'CREATE_FULFILLMENT_ERROR', - EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', - EMPTY_ORDER_LINE_SELECTION_ERROR = 'EMPTY_ORDER_LINE_SELECTION_ERROR', - FACET_IN_USE_ERROR = 'FACET_IN_USE_ERROR', - FULFILLMENT_STATE_TRANSITION_ERROR = 'FULFILLMENT_STATE_TRANSITION_ERROR', - GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', - INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', - INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', - INSUFFICIENT_STOCK_ON_HAND_ERROR = 'INSUFFICIENT_STOCK_ON_HAND_ERROR', - INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', - INVALID_FULFILLMENT_HANDLER_ERROR = 'INVALID_FULFILLMENT_HANDLER_ERROR', - ITEMS_ALREADY_FULFILLED_ERROR = 'ITEMS_ALREADY_FULFILLED_ERROR', - LANGUAGE_NOT_AVAILABLE_ERROR = 'LANGUAGE_NOT_AVAILABLE_ERROR', - MANUAL_PAYMENT_STATE_ERROR = 'MANUAL_PAYMENT_STATE_ERROR', - MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', - MISSING_CONDITIONS_ERROR = 'MISSING_CONDITIONS_ERROR', - MULTIPLE_ORDER_ERROR = 'MULTIPLE_ORDER_ERROR', - NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', - NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', - NOTHING_TO_REFUND_ERROR = 'NOTHING_TO_REFUND_ERROR', - NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', - NO_CHANGES_SPECIFIED_ERROR = 'NO_CHANGES_SPECIFIED_ERROR', - ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', - ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', - ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', - ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', - PAYMENT_METHOD_MISSING_ERROR = 'PAYMENT_METHOD_MISSING_ERROR', - PAYMENT_ORDER_MISMATCH_ERROR = 'PAYMENT_ORDER_MISMATCH_ERROR', - PAYMENT_STATE_TRANSITION_ERROR = 'PAYMENT_STATE_TRANSITION_ERROR', - PRODUCT_OPTION_IN_USE_ERROR = 'PRODUCT_OPTION_IN_USE_ERROR', - QUANTITY_TOO_GREAT_ERROR = 'QUANTITY_TOO_GREAT_ERROR', - REFUND_ORDER_STATE_ERROR = 'REFUND_ORDER_STATE_ERROR', - REFUND_PAYMENT_ID_MISSING_ERROR = 'REFUND_PAYMENT_ID_MISSING_ERROR', - REFUND_STATE_TRANSITION_ERROR = 'REFUND_STATE_TRANSITION_ERROR', - SETTLE_PAYMENT_ERROR = 'SETTLE_PAYMENT_ERROR', - UNKNOWN_ERROR = 'UNKNOWN_ERROR' + ALREADY_REFUNDED_ERROR = 'ALREADY_REFUNDED_ERROR', + CANCEL_ACTIVE_ORDER_ERROR = 'CANCEL_ACTIVE_ORDER_ERROR', + CANCEL_PAYMENT_ERROR = 'CANCEL_PAYMENT_ERROR', + CHANNEL_DEFAULT_LANGUAGE_ERROR = 'CHANNEL_DEFAULT_LANGUAGE_ERROR', + COUPON_CODE_EXPIRED_ERROR = 'COUPON_CODE_EXPIRED_ERROR', + COUPON_CODE_INVALID_ERROR = 'COUPON_CODE_INVALID_ERROR', + COUPON_CODE_LIMIT_ERROR = 'COUPON_CODE_LIMIT_ERROR', + CREATE_FULFILLMENT_ERROR = 'CREATE_FULFILLMENT_ERROR', + EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', + EMPTY_ORDER_LINE_SELECTION_ERROR = 'EMPTY_ORDER_LINE_SELECTION_ERROR', + FACET_IN_USE_ERROR = 'FACET_IN_USE_ERROR', + FULFILLMENT_STATE_TRANSITION_ERROR = 'FULFILLMENT_STATE_TRANSITION_ERROR', + GUEST_CHECKOUT_ERROR = 'GUEST_CHECKOUT_ERROR', + INELIGIBLE_SHIPPING_METHOD_ERROR = 'INELIGIBLE_SHIPPING_METHOD_ERROR', + INSUFFICIENT_STOCK_ERROR = 'INSUFFICIENT_STOCK_ERROR', + INSUFFICIENT_STOCK_ON_HAND_ERROR = 'INSUFFICIENT_STOCK_ON_HAND_ERROR', + INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', + INVALID_FULFILLMENT_HANDLER_ERROR = 'INVALID_FULFILLMENT_HANDLER_ERROR', + ITEMS_ALREADY_FULFILLED_ERROR = 'ITEMS_ALREADY_FULFILLED_ERROR', + LANGUAGE_NOT_AVAILABLE_ERROR = 'LANGUAGE_NOT_AVAILABLE_ERROR', + MANUAL_PAYMENT_STATE_ERROR = 'MANUAL_PAYMENT_STATE_ERROR', + MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', + MISSING_CONDITIONS_ERROR = 'MISSING_CONDITIONS_ERROR', + MULTIPLE_ORDER_ERROR = 'MULTIPLE_ORDER_ERROR', + NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', + NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', + NOTHING_TO_REFUND_ERROR = 'NOTHING_TO_REFUND_ERROR', + NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', + NO_CHANGES_SPECIFIED_ERROR = 'NO_CHANGES_SPECIFIED_ERROR', + ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', + ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', + ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', + PAYMENT_METHOD_MISSING_ERROR = 'PAYMENT_METHOD_MISSING_ERROR', + PAYMENT_ORDER_MISMATCH_ERROR = 'PAYMENT_ORDER_MISMATCH_ERROR', + PAYMENT_STATE_TRANSITION_ERROR = 'PAYMENT_STATE_TRANSITION_ERROR', + PRODUCT_OPTION_IN_USE_ERROR = 'PRODUCT_OPTION_IN_USE_ERROR', + QUANTITY_TOO_GREAT_ERROR = 'QUANTITY_TOO_GREAT_ERROR', + REFUND_ORDER_STATE_ERROR = 'REFUND_ORDER_STATE_ERROR', + REFUND_PAYMENT_ID_MISSING_ERROR = 'REFUND_PAYMENT_ID_MISSING_ERROR', + REFUND_STATE_TRANSITION_ERROR = 'REFUND_STATE_TRANSITION_ERROR', + SETTLE_PAYMENT_ERROR = 'SETTLE_PAYMENT_ERROR', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', } export type ErrorResult = { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Facet = Node & { - __typename?: 'Facet'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isPrivate: Scalars['Boolean']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - values: Array; + __typename?: 'Facet'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isPrivate: Scalars['Boolean']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + values: Array; }; export type FacetFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetInUseError = ErrorResult & { - __typename?: 'FacetInUseError'; - errorCode: ErrorCode; - facetCode: Scalars['String']['output']; - message: Scalars['String']['output']; - productCount: Scalars['Int']['output']; - variantCount: Scalars['Int']['output']; + __typename?: 'FacetInUseError'; + errorCode: ErrorCode; + facetCode: Scalars['String']['output']; + message: Scalars['String']['output']; + productCount: Scalars['Int']['output']; + variantCount: Scalars['Int']['output']; }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type FacetSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type FacetValue = Node & { - __typename?: 'FacetValue'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - facet: Facet; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValue'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + facet: Facet; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; /** @@ -1689,36 +1716,36 @@ export type FacetValue = Node & { * * ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }` */ export type FacetValueFilterInput = { - and?: InputMaybe; - or?: InputMaybe>; + and?: InputMaybe; + or?: InputMaybe>; }; export type FacetValueFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueList = PaginatedList & { - __typename?: 'FacetValueList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'FacetValueList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetValueListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -1726,222 +1753,222 @@ export type FacetValueListOptions = { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; - count: Scalars['Int']['output']; - facetValue: FacetValue; + __typename?: 'FacetValueResult'; + count: Scalars['Int']['output']; + facetValue: FacetValue; }; export type FacetValueSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'FacetValueTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type FacetValueTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'FloatCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FulfillOrderInput = { - handler: ConfigurableOperationInput; - lines: Array; + handler: ConfigurableOperationInput; + lines: Array; }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - lines: Array; - method: Scalars['String']['output']; - nextStates: Array; - state: Scalars['String']['output']; - /** @deprecated Use the `lines` field instead */ - summary: Array; - trackingCode?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Fulfillment'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + lines: Array; + method: Scalars['String']['output']; + nextStates: Array; + state: Scalars['String']['output']; + /** @deprecated Use the `lines` field instead */ + summary: Array; + trackingCode?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type FulfillmentLine = { - __typename?: 'FulfillmentLine'; - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'FulfillmentLine'; + fulfillment: Fulfillment; + fulfillmentId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; /** Returned when there is an error in transitioning the Fulfillment state */ export type FulfillmentStateTransitionError = ErrorResult & { - __typename?: 'FulfillmentStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'FulfillmentStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; export enum GlobalFlag { - FALSE = 'FALSE', - INHERIT = 'INHERIT', - TRUE = 'TRUE' + FALSE = 'FALSE', + INHERIT = 'INHERIT', + TRUE = 'TRUE', } export type GlobalSettings = { - __typename?: 'GlobalSettings'; - availableLanguages: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - outOfStockThreshold: Scalars['Int']['output']; - serverConfig: ServerConfig; - trackInventory: Scalars['Boolean']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'GlobalSettings'; + availableLanguages: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + outOfStockThreshold: Scalars['Int']['output']; + serverConfig: ServerConfig; + trackInventory: Scalars['Boolean']['output']; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it. */ export type GuestCheckoutError = ErrorResult & { - __typename?: 'GuestCheckoutError'; - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'GuestCheckoutError'; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; - administrator?: Maybe; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - isPublic: Scalars['Boolean']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'HistoryEntry'; + administrator?: Maybe; + createdAt: Scalars['DateTime']['output']; + data: Scalars['JSON']['output']; + id: Scalars['ID']['output']; + isPublic: Scalars['Boolean']['output']; + type: HistoryEntryType; + updatedAt: Scalars['DateTime']['output']; }; export type HistoryEntryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - isPublic?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPublic?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'HistoryEntryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type HistoryEntrySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export enum HistoryEntryType { - CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', - CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', - CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', - CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', - CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', - CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', - CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', - CUSTOMER_NOTE = 'CUSTOMER_NOTE', - CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', - CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', - CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', - CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', - CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', - CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', - ORDER_CANCELLATION = 'ORDER_CANCELLATION', - ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', - ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', - ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', - ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', - ORDER_MODIFIED = 'ORDER_MODIFIED', - ORDER_NOTE = 'ORDER_NOTE', - ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', - ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', - ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION' + CUSTOMER_ADDED_TO_GROUP = 'CUSTOMER_ADDED_TO_GROUP', + CUSTOMER_ADDRESS_CREATED = 'CUSTOMER_ADDRESS_CREATED', + CUSTOMER_ADDRESS_DELETED = 'CUSTOMER_ADDRESS_DELETED', + CUSTOMER_ADDRESS_UPDATED = 'CUSTOMER_ADDRESS_UPDATED', + CUSTOMER_DETAIL_UPDATED = 'CUSTOMER_DETAIL_UPDATED', + CUSTOMER_EMAIL_UPDATE_REQUESTED = 'CUSTOMER_EMAIL_UPDATE_REQUESTED', + CUSTOMER_EMAIL_UPDATE_VERIFIED = 'CUSTOMER_EMAIL_UPDATE_VERIFIED', + CUSTOMER_NOTE = 'CUSTOMER_NOTE', + CUSTOMER_PASSWORD_RESET_REQUESTED = 'CUSTOMER_PASSWORD_RESET_REQUESTED', + CUSTOMER_PASSWORD_RESET_VERIFIED = 'CUSTOMER_PASSWORD_RESET_VERIFIED', + CUSTOMER_PASSWORD_UPDATED = 'CUSTOMER_PASSWORD_UPDATED', + CUSTOMER_REGISTERED = 'CUSTOMER_REGISTERED', + CUSTOMER_REMOVED_FROM_GROUP = 'CUSTOMER_REMOVED_FROM_GROUP', + CUSTOMER_VERIFIED = 'CUSTOMER_VERIFIED', + ORDER_CANCELLATION = 'ORDER_CANCELLATION', + ORDER_COUPON_APPLIED = 'ORDER_COUPON_APPLIED', + ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', + ORDER_FULFILLMENT = 'ORDER_FULFILLMENT', + ORDER_FULFILLMENT_TRANSITION = 'ORDER_FULFILLMENT_TRANSITION', + ORDER_MODIFIED = 'ORDER_MODIFIED', + ORDER_NOTE = 'ORDER_NOTE', + ORDER_PAYMENT_TRANSITION = 'ORDER_PAYMENT_TRANSITION', + ORDER_REFUND_TRANSITION = 'ORDER_REFUND_TRANSITION', + ORDER_STATE_TRANSITION = 'ORDER_STATE_TRANSITION', } /** Operators for filtering on a list of ID fields */ export type IdListOperators = { - inList: Scalars['ID']['input']; + inList: Scalars['ID']['input']; }; /** Operators for filtering on an ID field */ export type IdOperators = { - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; }; export type ImportInfo = { - __typename?: 'ImportInfo'; - errors?: Maybe>; - imported: Scalars['Int']['output']; - processed: Scalars['Int']['output']; + __typename?: 'ImportInfo'; + errors?: Maybe>; + imported: Scalars['Int']['output']; + processed: Scalars['Int']['output']; }; /** Returned when attempting to set a ShippingMethod for which the Order is not eligible */ export type IneligibleShippingMethodError = ErrorResult & { - __typename?: 'IneligibleShippingMethodError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'IneligibleShippingMethodError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - __typename?: 'InsufficientStockError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + __typename?: 'InsufficientStockError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; /** @@ -1949,125 +1976,125 @@ export type InsufficientStockError = ErrorResult & { * stockOnHand of a ProductVariant to satisfy the requested quantity. */ export type InsufficientStockOnHandError = ErrorResult & { - __typename?: 'InsufficientStockOnHandError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - stockOnHand: Scalars['Int']['output']; + __typename?: 'InsufficientStockOnHandError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + stockOnHand: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'IntCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - __typename?: 'InvalidCredentialsError'; - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidCredentialsError'; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified FulfillmentHandler code is not valid */ export type InvalidFulfillmentHandlerError = ErrorResult & { - __typename?: 'InvalidFulfillmentHandlerError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'InvalidFulfillmentHandlerError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified items are already part of a Fulfillment */ export type ItemsAlreadyFulfilledError = ErrorResult & { - __typename?: 'ItemsAlreadyFulfilledError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'ItemsAlreadyFulfilledError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Job = Node & { - __typename?: 'Job'; - attempts: Scalars['Int']['output']; - createdAt: Scalars['DateTime']['output']; - data?: Maybe; - duration: Scalars['Int']['output']; - error?: Maybe; - id: Scalars['ID']['output']; - isSettled: Scalars['Boolean']['output']; - progress: Scalars['Float']['output']; - queueName: Scalars['String']['output']; - result?: Maybe; - retries: Scalars['Int']['output']; - settledAt?: Maybe; - startedAt?: Maybe; - state: JobState; + __typename?: 'Job'; + attempts: Scalars['Int']['output']; + createdAt: Scalars['DateTime']['output']; + data?: Maybe; + duration: Scalars['Int']['output']; + error?: Maybe; + id: Scalars['ID']['output']; + isSettled: Scalars['Boolean']['output']; + progress: Scalars['Float']['output']; + queueName: Scalars['String']['output']; + result?: Maybe; + retries: Scalars['Int']['output']; + settledAt?: Maybe; + startedAt?: Maybe; + state: JobState; }; export type JobBufferSize = { - __typename?: 'JobBufferSize'; - bufferId: Scalars['String']['output']; - size: Scalars['Int']['output']; + __typename?: 'JobBufferSize'; + bufferId: Scalars['String']['output']; + size: Scalars['Int']['output']; }; export type JobFilterParameter = { - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - isSettled?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; - state?: InputMaybe; + attempts?: InputMaybe; + createdAt?: InputMaybe; + duration?: InputMaybe; + id?: InputMaybe; + isSettled?: InputMaybe; + progress?: InputMaybe; + queueName?: InputMaybe; + retries?: InputMaybe; + settledAt?: InputMaybe; + startedAt?: InputMaybe; + state?: InputMaybe; }; export type JobList = PaginatedList & { - __typename?: 'JobList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'JobList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type JobListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type JobQueue = { - __typename?: 'JobQueue'; - name: Scalars['String']['output']; - running: Scalars['Boolean']['output']; + __typename?: 'JobQueue'; + name: Scalars['String']['output']; + running: Scalars['Boolean']['output']; }; export type JobSortParameter = { - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; + attempts?: InputMaybe; + createdAt?: InputMaybe; + duration?: InputMaybe; + id?: InputMaybe; + progress?: InputMaybe; + queueName?: InputMaybe; + retries?: InputMaybe; + settledAt?: InputMaybe; + startedAt?: InputMaybe; }; /** @@ -2077,12 +2104,12 @@ export type JobSortParameter = { * @docsCategory common */ export enum JobState { - CANCELLED = 'CANCELLED', - COMPLETED = 'COMPLETED', - FAILED = 'FAILED', - PENDING = 'PENDING', - RETRYING = 'RETRYING', - RUNNING = 'RUNNING' + CANCELLED = 'CANCELLED', + COMPLETED = 'COMPLETED', + FAILED = 'FAILED', + PENDING = 'PENDING', + RETRYING = 'RETRYING', + RUNNING = 'RUNNING', } /** @@ -2095,374 +2122,374 @@ export enum JobState { * @docsCategory common */ export enum LanguageCode { - /** Afrikaans */ - af = 'af', - /** Akan */ - ak = 'ak', - /** Amharic */ - am = 'am', - /** Arabic */ - ar = 'ar', - /** Assamese */ - as = 'as', - /** Azerbaijani */ - az = 'az', - /** Belarusian */ - be = 'be', - /** Bulgarian */ - bg = 'bg', - /** Bambara */ - bm = 'bm', - /** Bangla */ - bn = 'bn', - /** Tibetan */ - bo = 'bo', - /** Breton */ - br = 'br', - /** Bosnian */ - bs = 'bs', - /** Catalan */ - ca = 'ca', - /** Chechen */ - ce = 'ce', - /** Corsican */ - co = 'co', - /** Czech */ - cs = 'cs', - /** Church Slavic */ - cu = 'cu', - /** Welsh */ - cy = 'cy', - /** Danish */ - da = 'da', - /** German */ - de = 'de', - /** Austrian German */ - de_AT = 'de_AT', - /** Swiss High German */ - de_CH = 'de_CH', - /** Dzongkha */ - dz = 'dz', - /** Ewe */ - ee = 'ee', - /** Greek */ - el = 'el', - /** English */ - en = 'en', - /** Australian English */ - en_AU = 'en_AU', - /** Canadian English */ - en_CA = 'en_CA', - /** British English */ - en_GB = 'en_GB', - /** American English */ - en_US = 'en_US', - /** Esperanto */ - eo = 'eo', - /** Spanish */ - es = 'es', - /** European Spanish */ - es_ES = 'es_ES', - /** Mexican Spanish */ - es_MX = 'es_MX', - /** Estonian */ - et = 'et', - /** Basque */ - eu = 'eu', - /** Persian */ - fa = 'fa', - /** Dari */ - fa_AF = 'fa_AF', - /** Fulah */ - ff = 'ff', - /** Finnish */ - fi = 'fi', - /** Faroese */ - fo = 'fo', - /** French */ - fr = 'fr', - /** Canadian French */ - fr_CA = 'fr_CA', - /** Swiss French */ - fr_CH = 'fr_CH', - /** Western Frisian */ - fy = 'fy', - /** Irish */ - ga = 'ga', - /** Scottish Gaelic */ - gd = 'gd', - /** Galician */ - gl = 'gl', - /** Gujarati */ - gu = 'gu', - /** Manx */ - gv = 'gv', - /** Hausa */ - ha = 'ha', - /** Hebrew */ - he = 'he', - /** Hindi */ - hi = 'hi', - /** Croatian */ - hr = 'hr', - /** Haitian Creole */ - ht = 'ht', - /** Hungarian */ - hu = 'hu', - /** Armenian */ - hy = 'hy', - /** Interlingua */ - ia = 'ia', - /** Indonesian */ - id = 'id', - /** Igbo */ - ig = 'ig', - /** Sichuan Yi */ - ii = 'ii', - /** Icelandic */ - is = 'is', - /** Italian */ - it = 'it', - /** Japanese */ - ja = 'ja', - /** Javanese */ - jv = 'jv', - /** Georgian */ - ka = 'ka', - /** Kikuyu */ - ki = 'ki', - /** Kazakh */ - kk = 'kk', - /** Kalaallisut */ - kl = 'kl', - /** Khmer */ - km = 'km', - /** Kannada */ - kn = 'kn', - /** Korean */ - ko = 'ko', - /** Kashmiri */ - ks = 'ks', - /** Kurdish */ - ku = 'ku', - /** Cornish */ - kw = 'kw', - /** Kyrgyz */ - ky = 'ky', - /** Latin */ - la = 'la', - /** Luxembourgish */ - lb = 'lb', - /** Ganda */ - lg = 'lg', - /** Lingala */ - ln = 'ln', - /** Lao */ - lo = 'lo', - /** Lithuanian */ - lt = 'lt', - /** Luba-Katanga */ - lu = 'lu', - /** Latvian */ - lv = 'lv', - /** Malagasy */ - mg = 'mg', - /** Maori */ - mi = 'mi', - /** Macedonian */ - mk = 'mk', - /** Malayalam */ - ml = 'ml', - /** Mongolian */ - mn = 'mn', - /** Marathi */ - mr = 'mr', - /** Malay */ - ms = 'ms', - /** Maltese */ - mt = 'mt', - /** Burmese */ - my = 'my', - /** Norwegian Bokmål */ - nb = 'nb', - /** North Ndebele */ - nd = 'nd', - /** Nepali */ - ne = 'ne', - /** Dutch */ - nl = 'nl', - /** Flemish */ - nl_BE = 'nl_BE', - /** Norwegian Nynorsk */ - nn = 'nn', - /** Nyanja */ - ny = 'ny', - /** Oromo */ - om = 'om', - /** Odia */ - or = 'or', - /** Ossetic */ - os = 'os', - /** Punjabi */ - pa = 'pa', - /** Polish */ - pl = 'pl', - /** Pashto */ - ps = 'ps', - /** Portuguese */ - pt = 'pt', - /** Brazilian Portuguese */ - pt_BR = 'pt_BR', - /** European Portuguese */ - pt_PT = 'pt_PT', - /** Quechua */ - qu = 'qu', - /** Romansh */ - rm = 'rm', - /** Rundi */ - rn = 'rn', - /** Romanian */ - ro = 'ro', - /** Moldavian */ - ro_MD = 'ro_MD', - /** Russian */ - ru = 'ru', - /** Kinyarwanda */ - rw = 'rw', - /** Sanskrit */ - sa = 'sa', - /** Sindhi */ - sd = 'sd', - /** Northern Sami */ - se = 'se', - /** Sango */ - sg = 'sg', - /** Sinhala */ - si = 'si', - /** Slovak */ - sk = 'sk', - /** Slovenian */ - sl = 'sl', - /** Samoan */ - sm = 'sm', - /** Shona */ - sn = 'sn', - /** Somali */ - so = 'so', - /** Albanian */ - sq = 'sq', - /** Serbian */ - sr = 'sr', - /** Southern Sotho */ - st = 'st', - /** Sundanese */ - su = 'su', - /** Swedish */ - sv = 'sv', - /** Swahili */ - sw = 'sw', - /** Congo Swahili */ - sw_CD = 'sw_CD', - /** Tamil */ - ta = 'ta', - /** Telugu */ - te = 'te', - /** Tajik */ - tg = 'tg', - /** Thai */ - th = 'th', - /** Tigrinya */ - ti = 'ti', - /** Turkmen */ - tk = 'tk', - /** Tongan */ - to = 'to', - /** Turkish */ - tr = 'tr', - /** Tatar */ - tt = 'tt', - /** Uyghur */ - ug = 'ug', - /** Ukrainian */ - uk = 'uk', - /** Urdu */ - ur = 'ur', - /** Uzbek */ - uz = 'uz', - /** Vietnamese */ - vi = 'vi', - /** Volapük */ - vo = 'vo', - /** Wolof */ - wo = 'wo', - /** Xhosa */ - xh = 'xh', - /** Yiddish */ - yi = 'yi', - /** Yoruba */ - yo = 'yo', - /** Chinese */ - zh = 'zh', - /** Simplified Chinese */ - zh_Hans = 'zh_Hans', - /** Traditional Chinese */ - zh_Hant = 'zh_Hant', - /** Zulu */ - zu = 'zu' + /** Afrikaans */ + af = 'af', + /** Akan */ + ak = 'ak', + /** Amharic */ + am = 'am', + /** Arabic */ + ar = 'ar', + /** Assamese */ + as = 'as', + /** Azerbaijani */ + az = 'az', + /** Belarusian */ + be = 'be', + /** Bulgarian */ + bg = 'bg', + /** Bambara */ + bm = 'bm', + /** Bangla */ + bn = 'bn', + /** Tibetan */ + bo = 'bo', + /** Breton */ + br = 'br', + /** Bosnian */ + bs = 'bs', + /** Catalan */ + ca = 'ca', + /** Chechen */ + ce = 'ce', + /** Corsican */ + co = 'co', + /** Czech */ + cs = 'cs', + /** Church Slavic */ + cu = 'cu', + /** Welsh */ + cy = 'cy', + /** Danish */ + da = 'da', + /** German */ + de = 'de', + /** Austrian German */ + de_AT = 'de_AT', + /** Swiss High German */ + de_CH = 'de_CH', + /** Dzongkha */ + dz = 'dz', + /** Ewe */ + ee = 'ee', + /** Greek */ + el = 'el', + /** English */ + en = 'en', + /** Australian English */ + en_AU = 'en_AU', + /** Canadian English */ + en_CA = 'en_CA', + /** British English */ + en_GB = 'en_GB', + /** American English */ + en_US = 'en_US', + /** Esperanto */ + eo = 'eo', + /** Spanish */ + es = 'es', + /** European Spanish */ + es_ES = 'es_ES', + /** Mexican Spanish */ + es_MX = 'es_MX', + /** Estonian */ + et = 'et', + /** Basque */ + eu = 'eu', + /** Persian */ + fa = 'fa', + /** Dari */ + fa_AF = 'fa_AF', + /** Fulah */ + ff = 'ff', + /** Finnish */ + fi = 'fi', + /** Faroese */ + fo = 'fo', + /** French */ + fr = 'fr', + /** Canadian French */ + fr_CA = 'fr_CA', + /** Swiss French */ + fr_CH = 'fr_CH', + /** Western Frisian */ + fy = 'fy', + /** Irish */ + ga = 'ga', + /** Scottish Gaelic */ + gd = 'gd', + /** Galician */ + gl = 'gl', + /** Gujarati */ + gu = 'gu', + /** Manx */ + gv = 'gv', + /** Hausa */ + ha = 'ha', + /** Hebrew */ + he = 'he', + /** Hindi */ + hi = 'hi', + /** Croatian */ + hr = 'hr', + /** Haitian Creole */ + ht = 'ht', + /** Hungarian */ + hu = 'hu', + /** Armenian */ + hy = 'hy', + /** Interlingua */ + ia = 'ia', + /** Indonesian */ + id = 'id', + /** Igbo */ + ig = 'ig', + /** Sichuan Yi */ + ii = 'ii', + /** Icelandic */ + is = 'is', + /** Italian */ + it = 'it', + /** Japanese */ + ja = 'ja', + /** Javanese */ + jv = 'jv', + /** Georgian */ + ka = 'ka', + /** Kikuyu */ + ki = 'ki', + /** Kazakh */ + kk = 'kk', + /** Kalaallisut */ + kl = 'kl', + /** Khmer */ + km = 'km', + /** Kannada */ + kn = 'kn', + /** Korean */ + ko = 'ko', + /** Kashmiri */ + ks = 'ks', + /** Kurdish */ + ku = 'ku', + /** Cornish */ + kw = 'kw', + /** Kyrgyz */ + ky = 'ky', + /** Latin */ + la = 'la', + /** Luxembourgish */ + lb = 'lb', + /** Ganda */ + lg = 'lg', + /** Lingala */ + ln = 'ln', + /** Lao */ + lo = 'lo', + /** Lithuanian */ + lt = 'lt', + /** Luba-Katanga */ + lu = 'lu', + /** Latvian */ + lv = 'lv', + /** Malagasy */ + mg = 'mg', + /** Maori */ + mi = 'mi', + /** Macedonian */ + mk = 'mk', + /** Malayalam */ + ml = 'ml', + /** Mongolian */ + mn = 'mn', + /** Marathi */ + mr = 'mr', + /** Malay */ + ms = 'ms', + /** Maltese */ + mt = 'mt', + /** Burmese */ + my = 'my', + /** Norwegian Bokmål */ + nb = 'nb', + /** North Ndebele */ + nd = 'nd', + /** Nepali */ + ne = 'ne', + /** Dutch */ + nl = 'nl', + /** Flemish */ + nl_BE = 'nl_BE', + /** Norwegian Nynorsk */ + nn = 'nn', + /** Nyanja */ + ny = 'ny', + /** Oromo */ + om = 'om', + /** Odia */ + or = 'or', + /** Ossetic */ + os = 'os', + /** Punjabi */ + pa = 'pa', + /** Polish */ + pl = 'pl', + /** Pashto */ + ps = 'ps', + /** Portuguese */ + pt = 'pt', + /** Brazilian Portuguese */ + pt_BR = 'pt_BR', + /** European Portuguese */ + pt_PT = 'pt_PT', + /** Quechua */ + qu = 'qu', + /** Romansh */ + rm = 'rm', + /** Rundi */ + rn = 'rn', + /** Romanian */ + ro = 'ro', + /** Moldavian */ + ro_MD = 'ro_MD', + /** Russian */ + ru = 'ru', + /** Kinyarwanda */ + rw = 'rw', + /** Sanskrit */ + sa = 'sa', + /** Sindhi */ + sd = 'sd', + /** Northern Sami */ + se = 'se', + /** Sango */ + sg = 'sg', + /** Sinhala */ + si = 'si', + /** Slovak */ + sk = 'sk', + /** Slovenian */ + sl = 'sl', + /** Samoan */ + sm = 'sm', + /** Shona */ + sn = 'sn', + /** Somali */ + so = 'so', + /** Albanian */ + sq = 'sq', + /** Serbian */ + sr = 'sr', + /** Southern Sotho */ + st = 'st', + /** Sundanese */ + su = 'su', + /** Swedish */ + sv = 'sv', + /** Swahili */ + sw = 'sw', + /** Congo Swahili */ + sw_CD = 'sw_CD', + /** Tamil */ + ta = 'ta', + /** Telugu */ + te = 'te', + /** Tajik */ + tg = 'tg', + /** Thai */ + th = 'th', + /** Tigrinya */ + ti = 'ti', + /** Turkmen */ + tk = 'tk', + /** Tongan */ + to = 'to', + /** Turkish */ + tr = 'tr', + /** Tatar */ + tt = 'tt', + /** Uyghur */ + ug = 'ug', + /** Ukrainian */ + uk = 'uk', + /** Urdu */ + ur = 'ur', + /** Uzbek */ + uz = 'uz', + /** Vietnamese */ + vi = 'vi', + /** Volapük */ + vo = 'vo', + /** Wolof */ + wo = 'wo', + /** Xhosa */ + xh = 'xh', + /** Yiddish */ + yi = 'yi', + /** Yoruba */ + yo = 'yo', + /** Chinese */ + zh = 'zh', + /** Simplified Chinese */ + zh_Hans = 'zh_Hans', + /** Traditional Chinese */ + zh_Hant = 'zh_Hant', + /** Zulu */ + zu = 'zu', } /** Returned if attempting to set a Channel's defaultLanguageCode to a language which is not enabled in GlobalSettings */ export type LanguageNotAvailableError = ErrorResult & { - __typename?: 'LanguageNotAvailableError'; - errorCode: ErrorCode; - languageCode: Scalars['String']['output']; - message: Scalars['String']['output']; + __typename?: 'LanguageNotAvailableError'; + errorCode: ErrorCode; + languageCode: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleStringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - __typename?: 'LocaleTextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'LocaleTextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - __typename?: 'LocalizedString'; - languageCode: LanguageCode; - value: Scalars['String']['output']; + __typename?: 'LocalizedString'; + languageCode: LanguageCode; + value: Scalars['String']['output']; }; export enum LogicalOperator { - AND = 'AND', - OR = 'OR' + AND = 'AND', + OR = 'OR', } export type ManualPaymentInput = { - metadata?: InputMaybe; - method: Scalars['String']['input']; - orderId: Scalars['ID']['input']; - transactionId?: InputMaybe; + metadata?: InputMaybe; + method: Scalars['String']['input']; + orderId: Scalars['ID']['input']; + transactionId?: InputMaybe; }; /** @@ -2470,1248 +2497,1100 @@ export type ManualPaymentInput = { * is not in the required state. */ export type ManualPaymentStateError = ErrorResult & { - __typename?: 'ManualPaymentStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'ManualPaymentStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum MetricInterval { - Daily = 'Daily' + Daily = 'Daily', } export type MetricSummary = { - __typename?: 'MetricSummary'; - entries: Array; - interval: MetricInterval; - title: Scalars['String']['output']; - type: MetricType; + __typename?: 'MetricSummary'; + entries: Array; + interval: MetricInterval; + title: Scalars['String']['output']; + type: MetricType; }; export type MetricSummaryEntry = { - __typename?: 'MetricSummaryEntry'; - label: Scalars['String']['output']; - value: Scalars['Float']['output']; + __typename?: 'MetricSummaryEntry'; + label: Scalars['String']['output']; + value: Scalars['Float']['output']; }; export type MetricSummaryInput = { - interval: MetricInterval; - refresh?: InputMaybe; - types: Array; + interval: MetricInterval; + refresh?: InputMaybe; + types: Array; }; export enum MetricType { - AverageOrderValue = 'AverageOrderValue', - OrderCount = 'OrderCount', - OrderTotal = 'OrderTotal' + AverageOrderValue = 'AverageOrderValue', + OrderCount = 'OrderCount', + OrderTotal = 'OrderTotal', } export type MimeTypeError = ErrorResult & { - __typename?: 'MimeTypeError'; - errorCode: ErrorCode; - fileName: Scalars['String']['output']; - message: Scalars['String']['output']; - mimeType: Scalars['String']['output']; + __typename?: 'MimeTypeError'; + errorCode: ErrorCode; + fileName: Scalars['String']['output']; + message: Scalars['String']['output']; + mimeType: Scalars['String']['output']; }; /** Returned if a PromotionCondition has neither a couponCode nor any conditions set */ export type MissingConditionsError = ErrorResult & { - __typename?: 'MissingConditionsError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MissingConditionsError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type ModifyOrderInput = { - addItems?: InputMaybe>; - adjustOrderLines?: InputMaybe>; - couponCodes?: InputMaybe>; - dryRun: Scalars['Boolean']['input']; - note?: InputMaybe; - options?: InputMaybe; - orderId: Scalars['ID']['input']; - refund?: InputMaybe; - surcharges?: InputMaybe>; - updateBillingAddress?: InputMaybe; - updateShippingAddress?: InputMaybe; + addItems?: InputMaybe>; + adjustOrderLines?: InputMaybe>; + couponCodes?: InputMaybe>; + dryRun: Scalars['Boolean']['input']; + note?: InputMaybe; + options?: InputMaybe; + orderId: Scalars['ID']['input']; + refund?: InputMaybe; + surcharges?: InputMaybe>; + updateBillingAddress?: InputMaybe; + updateShippingAddress?: InputMaybe; }; export type ModifyOrderOptions = { - freezePromotions?: InputMaybe; - recalculateShipping?: InputMaybe; -}; - -export type ModifyOrderResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | InsufficientStockError | NegativeQuantityError | NoChangesSpecifiedError | Order | OrderLimitError | OrderModificationStateError | PaymentMethodMissingError | RefundPaymentIdMissingError; + freezePromotions?: InputMaybe; + recalculateShipping?: InputMaybe; +}; + +export type ModifyOrderResult = + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError + | InsufficientStockError + | NegativeQuantityError + | NoChangesSpecifiedError + | Order + | OrderLimitError + | OrderModificationStateError + | PaymentMethodMissingError + | RefundPaymentIdMissingError; export type MoveCollectionInput = { - collectionId: Scalars['ID']['input']; - index: Scalars['Int']['input']; - parentId: Scalars['ID']['input']; + collectionId: Scalars['ID']['input']; + index: Scalars['Int']['input']; + parentId: Scalars['ID']['input']; }; /** Returned if an operation has specified OrderLines from multiple Orders */ export type MultipleOrderError = ErrorResult & { - __typename?: 'MultipleOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MultipleOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Mutation = { - __typename?: 'Mutation'; - /** Add Customers to a CustomerGroup */ - addCustomersToGroup: CustomerGroup; - addFulfillmentToOrder: AddFulfillmentToOrderResult; - /** Adds an item to the draft Order. */ - addItemToDraftOrder: UpdateOrderItemsResult; - /** - * Used to manually create a new Payment against an Order. - * This can be used by an Administrator when an Order is in the ArrangingPayment state. - * - * It is also used when a completed Order - * has been modified (using `modifyOrder`) and the price has increased. The extra payment - * can then be manually arranged by the administrator, and the details used to create a new - * Payment. - */ - addManualPaymentToOrder: AddManualPaymentToOrderResult; - /** Add members to a Zone */ - addMembersToZone: Zone; - addNoteToCustomer: Customer; - addNoteToOrder: Order; - /** Add an OptionGroup to a Product */ - addOptionGroupToProduct: Product; - /** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ - adjustDraftOrderLine: UpdateOrderItemsResult; - /** Applies the given coupon code to the draft Order */ - applyCouponCodeToDraftOrder: ApplyCouponCodeResult; - approveProductReview?: Maybe; - /** Assign assets to channel */ - assignAssetsToChannel: Array; - /** Assigns Collections to the specified Channel */ - assignCollectionsToChannel: Array; - /** Assigns Facets to the specified Channel */ - assignFacetsToChannel: Array; - /** Assigns PaymentMethods to the specified Channel */ - assignPaymentMethodsToChannel: Array; - /** Assigns ProductVariants to the specified Channel */ - assignProductVariantsToChannel: Array; - /** Assigns all ProductVariants of Product to the specified Channel */ - assignProductsToChannel: Array; - /** Assigns Promotions to the specified Channel */ - assignPromotionsToChannel: Array; - /** Assign a Role to an Administrator */ - assignRoleToAdministrator: Administrator; - /** Assigns ShippingMethods to the specified Channel */ - assignShippingMethodsToChannel: Array; - /** Assigns StockLocations to the specified Channel */ - assignStockLocationsToChannel: Array; - /** Authenticates the user using a named authentication strategy */ - authenticate: AuthenticationResult; - cancelJob: Job; - cancelOrder: CancelOrderResult; - cancelPayment: CancelPaymentResult; - /** Create a new Administrator */ - createAdministrator: Administrator; - /** Create a new Asset */ - createAssets: Array; - /** Create a new Channel */ - createChannel: CreateChannelResult; - /** Create a new Collection */ - createCollection: Collection; - /** Create a new Country */ - createCountry: Country; - /** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */ - createCustomer: CreateCustomerResult; - /** Create a new Address and associate it with the Customer specified by customerId */ - createCustomerAddress: Address; - /** Create a new CustomerGroup */ - createCustomerGroup: CustomerGroup; - /** Creates a draft Order */ - createDraftOrder: Order; - /** Create a new Facet */ - createFacet: Facet; - /** Create one or more FacetValues */ - createFacetValues: Array; - /** Create existing PaymentMethod */ - createPaymentMethod: PaymentMethod; - /** Create a new Product */ - createProduct: Product; - /** Create a new ProductOption within a ProductOptionGroup */ - createProductOption: ProductOption; - /** Create a new ProductOptionGroup */ - createProductOptionGroup: ProductOptionGroup; - /** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */ - createProductVariants: Array>; - createPromotion: CreatePromotionResult; - /** Create a new Province */ - createProvince: Province; - /** Create a new Role */ - createRole: Role; - /** Create a new Seller */ - createSeller: Seller; - /** Create a new ShippingMethod */ - createShippingMethod: ShippingMethod; - createStockLocation: StockLocation; - /** Create a new Tag */ - createTag: Tag; - /** Create a new TaxCategory */ - createTaxCategory: TaxCategory; - /** Create a new TaxRate */ - createTaxRate: TaxRate; - /** Create a new Zone */ - createZone: Zone; - /** Delete an Administrator */ - deleteAdministrator: DeletionResponse; - /** Delete multiple Administrators */ - deleteAdministrators: Array; - /** Delete an Asset */ - deleteAsset: DeletionResponse; - /** Delete multiple Assets */ - deleteAssets: DeletionResponse; - /** Delete a Channel */ - deleteChannel: DeletionResponse; - /** Delete multiple Channels */ - deleteChannels: Array; - /** Delete a Collection and all of its descendants */ - deleteCollection: DeletionResponse; - /** Delete multiple Collections and all of their descendants */ - deleteCollections: Array; - /** Delete multiple Countries */ - deleteCountries: Array; - /** Delete a Country */ - deleteCountry: DeletionResponse; - /** Delete a Customer */ - deleteCustomer: DeletionResponse; - /** Update an existing Address */ - deleteCustomerAddress: Success; - /** Delete a CustomerGroup */ - deleteCustomerGroup: DeletionResponse; - /** Delete multiple CustomerGroups */ - deleteCustomerGroups: Array; - deleteCustomerNote: DeletionResponse; - /** Deletes Customers */ - deleteCustomers: Array; - /** Deletes a draft Order */ - deleteDraftOrder: DeletionResponse; - /** Delete an existing Facet */ - deleteFacet: DeletionResponse; - /** Delete one or more FacetValues */ - deleteFacetValues: Array; - /** Delete multiple existing Facets */ - deleteFacets: Array; - deleteOrderNote: DeletionResponse; - /** Delete a PaymentMethod */ - deletePaymentMethod: DeletionResponse; - /** Delete multiple PaymentMethods */ - deletePaymentMethods: Array; - /** Delete a Product */ - deleteProduct: DeletionResponse; - /** Delete a ProductOption */ - deleteProductOption: DeletionResponse; - /** Delete a ProductVariant */ - deleteProductVariant: DeletionResponse; - /** Delete multiple ProductVariants */ - deleteProductVariants: Array; - /** Delete multiple Products */ - deleteProducts: Array; - deletePromotion: DeletionResponse; - deletePromotions: Array; - /** Delete a Province */ - deleteProvince: DeletionResponse; - /** Delete an existing Role */ - deleteRole: DeletionResponse; - /** Delete multiple Roles */ - deleteRoles: Array; - /** Delete a Seller */ - deleteSeller: DeletionResponse; - /** Delete multiple Sellers */ - deleteSellers: Array; - /** Delete a ShippingMethod */ - deleteShippingMethod: DeletionResponse; - /** Delete multiple ShippingMethods */ - deleteShippingMethods: Array; - deleteStockLocation: DeletionResponse; - deleteStockLocations: Array; - /** Delete an existing Tag */ - deleteTag: DeletionResponse; - /** Deletes multiple TaxCategories */ - deleteTaxCategories: Array; - /** Deletes a TaxCategory */ - deleteTaxCategory: DeletionResponse; - /** Delete a TaxRate */ - deleteTaxRate: DeletionResponse; - /** Delete multiple TaxRates */ - deleteTaxRates: Array; - /** Delete a Zone */ - deleteZone: DeletionResponse; - /** Delete a Zone */ - deleteZones: Array; - flushBufferedJobs: Success; - importProducts?: Maybe; - /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ - login: NativeAuthenticationResult; - logout: Success; - /** - * Allows an Order to be modified after it has been completed by the Customer. The Order must first - * be in the `Modifying` state. - */ - modifyOrder: ModifyOrderResult; - /** Move a Collection to a different parent or index */ - moveCollection: Collection; - refundOrder: RefundOrderResult; - reindex: Job; - rejectProductReview?: Maybe; - /** Removes Collections from the specified Channel */ - removeCollectionsFromChannel: Array; - /** Removes the given coupon code from the draft Order */ - removeCouponCodeFromDraftOrder?: Maybe; - /** Remove Customers from a CustomerGroup */ - removeCustomersFromGroup: CustomerGroup; - /** Remove an OrderLine from the draft Order */ - removeDraftOrderLine: RemoveOrderItemsResult; - /** Removes Facets from the specified Channel */ - removeFacetsFromChannel: Array; - /** Remove members from a Zone */ - removeMembersFromZone: Zone; - /** - * Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants - * the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed. - * Setting the `force` argument to `true` will override this and remove the OptionGroup anyway, - * as well as removing any of the group's options from the Product's ProductVariants. - */ - removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; - /** Removes PaymentMethods from the specified Channel */ - removePaymentMethodsFromChannel: Array; - /** Removes ProductVariants from the specified Channel */ - removeProductVariantsFromChannel: Array; - /** Removes all ProductVariants of Product from the specified Channel */ - removeProductsFromChannel: Array; - /** Removes Promotions from the specified Channel */ - removePromotionsFromChannel: Array; - /** Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted. */ - removeSettledJobs: Scalars['Int']['output']; - /** Removes ShippingMethods from the specified Channel */ - removeShippingMethodsFromChannel: Array; - /** Removes StockLocations from the specified Channel */ - removeStockLocationsFromChannel: Array; - runPendingSearchIndexUpdates: Success; - setCustomerForDraftOrder: SetCustomerForDraftOrderResult; - /** Sets the billing address for a draft Order */ - setDraftOrderBillingAddress: Order; - /** Allows any custom fields to be set for the active order */ - setDraftOrderCustomFields: Order; - /** Sets the shipping address for a draft Order */ - setDraftOrderShippingAddress: Order; - /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */ - setDraftOrderShippingMethod: SetOrderShippingMethodResult; - setOrderCustomFields?: Maybe; - settlePayment: SettlePaymentResult; - settleRefund: SettleRefundResult; - transitionFulfillmentToState: TransitionFulfillmentToStateResult; - transitionOrderToState?: Maybe; - transitionPaymentToState: TransitionPaymentToStateResult; - /** Update the active (currently logged-in) Administrator */ - updateActiveAdministrator: Administrator; - /** Update an existing Administrator */ - updateAdministrator: Administrator; - /** Update an existing Asset */ - updateAsset: Asset; - /** Update an existing Channel */ - updateChannel: UpdateChannelResult; - /** Update an existing Collection */ - updateCollection: Collection; - /** Update an existing Country */ - updateCountry: Country; - /** Update an existing Customer */ - updateCustomer: UpdateCustomerResult; - /** Update an existing Address */ - updateCustomerAddress: Address; - /** Update an existing CustomerGroup */ - updateCustomerGroup: CustomerGroup; - updateCustomerNote: HistoryEntry; - /** Update an existing Facet */ - updateFacet: Facet; - /** Update one or more FacetValues */ - updateFacetValues: Array; - updateGlobalSettings: UpdateGlobalSettingsResult; - updateOrderNote: HistoryEntry; - /** Update an existing PaymentMethod */ - updatePaymentMethod: PaymentMethod; - /** Update an existing Product */ - updateProduct: Product; - /** Create a new ProductOption within a ProductOptionGroup */ - updateProductOption: ProductOption; - /** Update an existing ProductOptionGroup */ - updateProductOptionGroup: ProductOptionGroup; - updateProductReview: ProductReview; - /** Update existing ProductVariants */ - updateProductVariants: Array>; - /** Update multiple existing Products */ - updateProducts: Array; - updatePromotion: UpdatePromotionResult; - /** Update an existing Province */ - updateProvince: Province; - /** Update an existing Role */ - updateRole: Role; - /** Update an existing Seller */ - updateSeller: Seller; - /** Update an existing ShippingMethod */ - updateShippingMethod: ShippingMethod; - updateStockLocation: StockLocation; - /** Update an existing Tag */ - updateTag: Tag; - /** Update an existing TaxCategory */ - updateTaxCategory: TaxCategory; - /** Update an existing TaxRate */ - updateTaxRate: TaxRate; - /** Update an existing Zone */ - updateZone: Zone; + __typename?: 'Mutation'; + /** Add Customers to a CustomerGroup */ + addCustomersToGroup: CustomerGroup; + addFulfillmentToOrder: AddFulfillmentToOrderResult; + /** Adds an item to the draft Order. */ + addItemToDraftOrder: UpdateOrderItemsResult; + /** + * Used to manually create a new Payment against an Order. + * This can be used by an Administrator when an Order is in the ArrangingPayment state. + * + * It is also used when a completed Order + * has been modified (using `modifyOrder`) and the price has increased. The extra payment + * can then be manually arranged by the administrator, and the details used to create a new + * Payment. + */ + addManualPaymentToOrder: AddManualPaymentToOrderResult; + /** Add members to a Zone */ + addMembersToZone: Zone; + addNoteToCustomer: Customer; + addNoteToOrder: Order; + /** Add an OptionGroup to a Product */ + addOptionGroupToProduct: Product; + /** Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ + adjustDraftOrderLine: UpdateOrderItemsResult; + /** Applies the given coupon code to the draft Order */ + applyCouponCodeToDraftOrder: ApplyCouponCodeResult; + approveProductReview?: Maybe; + /** Assign assets to channel */ + assignAssetsToChannel: Array; + /** Assigns Collections to the specified Channel */ + assignCollectionsToChannel: Array; + /** Assigns Facets to the specified Channel */ + assignFacetsToChannel: Array; + /** Assigns PaymentMethods to the specified Channel */ + assignPaymentMethodsToChannel: Array; + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Assigns all ProductVariants of Product to the specified Channel */ + assignProductsToChannel: Array; + /** Assigns Promotions to the specified Channel */ + assignPromotionsToChannel: Array; + /** Assign a Role to an Administrator */ + assignRoleToAdministrator: Administrator; + /** Assigns ShippingMethods to the specified Channel */ + assignShippingMethodsToChannel: Array; + /** Assigns StockLocations to the specified Channel */ + assignStockLocationsToChannel: Array; + /** Authenticates the user using a named authentication strategy */ + authenticate: AuthenticationResult; + cancelJob: Job; + cancelOrder: CancelOrderResult; + cancelPayment: CancelPaymentResult; + /** Create a new Administrator */ + createAdministrator: Administrator; + /** Create a new Asset */ + createAssets: Array; + /** Create a new Channel */ + createChannel: CreateChannelResult; + /** Create a new Collection */ + createCollection: Collection; + /** Create a new Country */ + createCountry: Country; + /** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */ + createCustomer: CreateCustomerResult; + /** Create a new Address and associate it with the Customer specified by customerId */ + createCustomerAddress: Address; + /** Create a new CustomerGroup */ + createCustomerGroup: CustomerGroup; + /** Creates a draft Order */ + createDraftOrder: Order; + /** Create a new Facet */ + createFacet: Facet; + /** Create one or more FacetValues */ + createFacetValues: Array; + /** Create existing PaymentMethod */ + createPaymentMethod: PaymentMethod; + /** Create a new Product */ + createProduct: Product; + /** Create a new ProductOption within a ProductOptionGroup */ + createProductOption: ProductOption; + /** Create a new ProductOptionGroup */ + createProductOptionGroup: ProductOptionGroup; + /** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */ + createProductVariants: Array>; + createPromotion: CreatePromotionResult; + /** Create a new Province */ + createProvince: Province; + /** Create a new Role */ + createRole: Role; + /** Create a new Seller */ + createSeller: Seller; + /** Create a new ShippingMethod */ + createShippingMethod: ShippingMethod; + createStockLocation: StockLocation; + /** Create a new Tag */ + createTag: Tag; + /** Create a new TaxCategory */ + createTaxCategory: TaxCategory; + /** Create a new TaxRate */ + createTaxRate: TaxRate; + /** Create a new Zone */ + createZone: Zone; + /** Delete an Administrator */ + deleteAdministrator: DeletionResponse; + /** Delete multiple Administrators */ + deleteAdministrators: Array; + /** Delete an Asset */ + deleteAsset: DeletionResponse; + /** Delete multiple Assets */ + deleteAssets: DeletionResponse; + /** Delete a Channel */ + deleteChannel: DeletionResponse; + /** Delete multiple Channels */ + deleteChannels: Array; + /** Delete a Collection and all of its descendants */ + deleteCollection: DeletionResponse; + /** Delete multiple Collections and all of their descendants */ + deleteCollections: Array; + /** Delete multiple Countries */ + deleteCountries: Array; + /** Delete a Country */ + deleteCountry: DeletionResponse; + /** Delete a Customer */ + deleteCustomer: DeletionResponse; + /** Update an existing Address */ + deleteCustomerAddress: Success; + /** Delete a CustomerGroup */ + deleteCustomerGroup: DeletionResponse; + /** Delete multiple CustomerGroups */ + deleteCustomerGroups: Array; + deleteCustomerNote: DeletionResponse; + /** Deletes Customers */ + deleteCustomers: Array; + /** Deletes a draft Order */ + deleteDraftOrder: DeletionResponse; + /** Delete an existing Facet */ + deleteFacet: DeletionResponse; + /** Delete one or more FacetValues */ + deleteFacetValues: Array; + /** Delete multiple existing Facets */ + deleteFacets: Array; + deleteOrderNote: DeletionResponse; + /** Delete a PaymentMethod */ + deletePaymentMethod: DeletionResponse; + /** Delete multiple PaymentMethods */ + deletePaymentMethods: Array; + /** Delete a Product */ + deleteProduct: DeletionResponse; + /** Delete a ProductOption */ + deleteProductOption: DeletionResponse; + /** Delete a ProductVariant */ + deleteProductVariant: DeletionResponse; + /** Delete multiple ProductVariants */ + deleteProductVariants: Array; + /** Delete multiple Products */ + deleteProducts: Array; + deletePromotion: DeletionResponse; + deletePromotions: Array; + /** Delete a Province */ + deleteProvince: DeletionResponse; + /** Delete an existing Role */ + deleteRole: DeletionResponse; + /** Delete multiple Roles */ + deleteRoles: Array; + /** Delete a Seller */ + deleteSeller: DeletionResponse; + /** Delete multiple Sellers */ + deleteSellers: Array; + /** Delete a ShippingMethod */ + deleteShippingMethod: DeletionResponse; + /** Delete multiple ShippingMethods */ + deleteShippingMethods: Array; + deleteStockLocation: DeletionResponse; + deleteStockLocations: Array; + /** Delete an existing Tag */ + deleteTag: DeletionResponse; + /** Deletes multiple TaxCategories */ + deleteTaxCategories: Array; + /** Deletes a TaxCategory */ + deleteTaxCategory: DeletionResponse; + /** Delete a TaxRate */ + deleteTaxRate: DeletionResponse; + /** Delete multiple TaxRates */ + deleteTaxRates: Array; + /** Delete a Zone */ + deleteZone: DeletionResponse; + /** Delete a Zone */ + deleteZones: Array; + flushBufferedJobs: Success; + importProducts?: Maybe; + /** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */ + login: NativeAuthenticationResult; + logout: Success; + /** + * Allows an Order to be modified after it has been completed by the Customer. The Order must first + * be in the `Modifying` state. + */ + modifyOrder: ModifyOrderResult; + /** Move a Collection to a different parent or index */ + moveCollection: Collection; + refundOrder: RefundOrderResult; + reindex: Job; + rejectProductReview?: Maybe; + /** Removes Collections from the specified Channel */ + removeCollectionsFromChannel: Array; + /** Removes the given coupon code from the draft Order */ + removeCouponCodeFromDraftOrder?: Maybe; + /** Remove Customers from a CustomerGroup */ + removeCustomersFromGroup: CustomerGroup; + /** Remove an OrderLine from the draft Order */ + removeDraftOrderLine: RemoveOrderItemsResult; + /** Removes Facets from the specified Channel */ + removeFacetsFromChannel: Array; + /** Remove members from a Zone */ + removeMembersFromZone: Zone; + /** + * Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants + * the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed. + * Setting the `force` argument to `true` will override this and remove the OptionGroup anyway, + * as well as removing any of the group's options from the Product's ProductVariants. + */ + removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; + /** Removes PaymentMethods from the specified Channel */ + removePaymentMethodsFromChannel: Array; + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; + /** Removes all ProductVariants of Product from the specified Channel */ + removeProductsFromChannel: Array; + /** Removes Promotions from the specified Channel */ + removePromotionsFromChannel: Array; + /** Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted. */ + removeSettledJobs: Scalars['Int']['output']; + /** Removes ShippingMethods from the specified Channel */ + removeShippingMethodsFromChannel: Array; + /** Removes StockLocations from the specified Channel */ + removeStockLocationsFromChannel: Array; + runPendingSearchIndexUpdates: Success; + setCustomerForDraftOrder: SetCustomerForDraftOrderResult; + /** Sets the billing address for a draft Order */ + setDraftOrderBillingAddress: Order; + /** Allows any custom fields to be set for the active order */ + setDraftOrderCustomFields: Order; + /** Sets the shipping address for a draft Order */ + setDraftOrderShippingAddress: Order; + /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */ + setDraftOrderShippingMethod: SetOrderShippingMethodResult; + setOrderCustomFields?: Maybe; + settlePayment: SettlePaymentResult; + settleRefund: SettleRefundResult; + transitionFulfillmentToState: TransitionFulfillmentToStateResult; + transitionOrderToState?: Maybe; + transitionPaymentToState: TransitionPaymentToStateResult; + /** Update the active (currently logged-in) Administrator */ + updateActiveAdministrator: Administrator; + /** Update an existing Administrator */ + updateAdministrator: Administrator; + /** Update an existing Asset */ + updateAsset: Asset; + /** Update an existing Channel */ + updateChannel: UpdateChannelResult; + /** Update an existing Collection */ + updateCollection: Collection; + /** Update an existing Country */ + updateCountry: Country; + /** Update an existing Customer */ + updateCustomer: UpdateCustomerResult; + /** Update an existing Address */ + updateCustomerAddress: Address; + /** Update an existing CustomerGroup */ + updateCustomerGroup: CustomerGroup; + updateCustomerNote: HistoryEntry; + /** Update an existing Facet */ + updateFacet: Facet; + /** Update one or more FacetValues */ + updateFacetValues: Array; + updateGlobalSettings: UpdateGlobalSettingsResult; + updateOrderNote: HistoryEntry; + /** Update an existing PaymentMethod */ + updatePaymentMethod: PaymentMethod; + /** Update an existing Product */ + updateProduct: Product; + /** Create a new ProductOption within a ProductOptionGroup */ + updateProductOption: ProductOption; + /** Update an existing ProductOptionGroup */ + updateProductOptionGroup: ProductOptionGroup; + updateProductReview: ProductReview; + /** Update existing ProductVariants */ + updateProductVariants: Array>; + /** Update multiple existing Products */ + updateProducts: Array; + updatePromotion: UpdatePromotionResult; + /** Update an existing Province */ + updateProvince: Province; + /** Update an existing Role */ + updateRole: Role; + /** Update an existing Seller */ + updateSeller: Seller; + /** Update an existing ShippingMethod */ + updateShippingMethod: ShippingMethod; + updateStockLocation: StockLocation; + /** Update an existing Tag */ + updateTag: Tag; + /** Update an existing TaxCategory */ + updateTaxCategory: TaxCategory; + /** Update an existing TaxRate */ + updateTaxRate: TaxRate; + /** Update an existing Zone */ + updateZone: Zone; }; - export type MutationAddCustomersToGroupArgs = { - customerGroupId: Scalars['ID']['input']; - customerIds: Array; + customerGroupId: Scalars['ID']['input']; + customerIds: Array; }; - export type MutationAddFulfillmentToOrderArgs = { - input: FulfillOrderInput; + input: FulfillOrderInput; }; - export type MutationAddItemToDraftOrderArgs = { - input: AddItemToDraftOrderInput; - orderId: Scalars['ID']['input']; + input: AddItemToDraftOrderInput; + orderId: Scalars['ID']['input']; }; - export type MutationAddManualPaymentToOrderArgs = { - input: ManualPaymentInput; + input: ManualPaymentInput; }; - export type MutationAddMembersToZoneArgs = { - memberIds: Array; - zoneId: Scalars['ID']['input']; + memberIds: Array; + zoneId: Scalars['ID']['input']; }; - export type MutationAddNoteToCustomerArgs = { - input: AddNoteToCustomerInput; + input: AddNoteToCustomerInput; }; - export type MutationAddNoteToOrderArgs = { - input: AddNoteToOrderInput; + input: AddNoteToOrderInput; }; - export type MutationAddOptionGroupToProductArgs = { - optionGroupId: Scalars['ID']['input']; - productId: Scalars['ID']['input']; + optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; }; - export type MutationAdjustDraftOrderLineArgs = { - input: AdjustDraftOrderLineInput; - orderId: Scalars['ID']['input']; + input: AdjustDraftOrderLineInput; + orderId: Scalars['ID']['input']; }; - export type MutationApplyCouponCodeToDraftOrderArgs = { - couponCode: Scalars['String']['input']; - orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationApproveProductReviewArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationAssignAssetsToChannelArgs = { - input: AssignAssetsToChannelInput; + input: AssignAssetsToChannelInput; }; - export type MutationAssignCollectionsToChannelArgs = { - input: AssignCollectionsToChannelInput; + input: AssignCollectionsToChannelInput; }; - export type MutationAssignFacetsToChannelArgs = { - input: AssignFacetsToChannelInput; + input: AssignFacetsToChannelInput; }; - export type MutationAssignPaymentMethodsToChannelArgs = { - input: AssignPaymentMethodsToChannelInput; + input: AssignPaymentMethodsToChannelInput; }; - export type MutationAssignProductVariantsToChannelArgs = { - input: AssignProductVariantsToChannelInput; + input: AssignProductVariantsToChannelInput; }; - export type MutationAssignProductsToChannelArgs = { - input: AssignProductsToChannelInput; + input: AssignProductsToChannelInput; }; - export type MutationAssignPromotionsToChannelArgs = { - input: AssignPromotionsToChannelInput; + input: AssignPromotionsToChannelInput; }; - export type MutationAssignRoleToAdministratorArgs = { - administratorId: Scalars['ID']['input']; - roleId: Scalars['ID']['input']; + administratorId: Scalars['ID']['input']; + roleId: Scalars['ID']['input']; }; - export type MutationAssignShippingMethodsToChannelArgs = { - input: AssignShippingMethodsToChannelInput; + input: AssignShippingMethodsToChannelInput; }; - export type MutationAssignStockLocationsToChannelArgs = { - input: AssignStockLocationsToChannelInput; + input: AssignStockLocationsToChannelInput; }; - export type MutationAuthenticateArgs = { - input: AuthenticationInput; - rememberMe?: InputMaybe; + input: AuthenticationInput; + rememberMe?: InputMaybe; }; - export type MutationCancelJobArgs = { - jobId: Scalars['ID']['input']; + jobId: Scalars['ID']['input']; }; - export type MutationCancelOrderArgs = { - input: CancelOrderInput; + input: CancelOrderInput; }; - export type MutationCancelPaymentArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationCreateAdministratorArgs = { - input: CreateAdministratorInput; + input: CreateAdministratorInput; }; - export type MutationCreateAssetsArgs = { - input: Array; + input: Array; }; - export type MutationCreateChannelArgs = { - input: CreateChannelInput; + input: CreateChannelInput; }; - export type MutationCreateCollectionArgs = { - input: CreateCollectionInput; + input: CreateCollectionInput; }; - export type MutationCreateCountryArgs = { - input: CreateCountryInput; + input: CreateCountryInput; }; - export type MutationCreateCustomerArgs = { - input: CreateCustomerInput; - password?: InputMaybe; + input: CreateCustomerInput; + password?: InputMaybe; }; - export type MutationCreateCustomerAddressArgs = { - customerId: Scalars['ID']['input']; - input: CreateAddressInput; + customerId: Scalars['ID']['input']; + input: CreateAddressInput; }; - export type MutationCreateCustomerGroupArgs = { - input: CreateCustomerGroupInput; + input: CreateCustomerGroupInput; }; - export type MutationCreateFacetArgs = { - input: CreateFacetInput; + input: CreateFacetInput; }; - export type MutationCreateFacetValuesArgs = { - input: Array; + input: Array; }; - export type MutationCreatePaymentMethodArgs = { - input: CreatePaymentMethodInput; + input: CreatePaymentMethodInput; }; - export type MutationCreateProductArgs = { - input: CreateProductInput; + input: CreateProductInput; }; - export type MutationCreateProductOptionArgs = { - input: CreateProductOptionInput; + input: CreateProductOptionInput; }; - export type MutationCreateProductOptionGroupArgs = { - input: CreateProductOptionGroupInput; + input: CreateProductOptionGroupInput; }; - export type MutationCreateProductVariantsArgs = { - input: Array; + input: Array; }; - export type MutationCreatePromotionArgs = { - input: CreatePromotionInput; + input: CreatePromotionInput; }; - export type MutationCreateProvinceArgs = { - input: CreateProvinceInput; + input: CreateProvinceInput; }; - export type MutationCreateRoleArgs = { - input: CreateRoleInput; + input: CreateRoleInput; }; - export type MutationCreateSellerArgs = { - input: CreateSellerInput; + input: CreateSellerInput; }; - export type MutationCreateShippingMethodArgs = { - input: CreateShippingMethodInput; + input: CreateShippingMethodInput; }; - export type MutationCreateStockLocationArgs = { - input: CreateStockLocationInput; + input: CreateStockLocationInput; }; - export type MutationCreateTagArgs = { - input: CreateTagInput; + input: CreateTagInput; }; - export type MutationCreateTaxCategoryArgs = { - input: CreateTaxCategoryInput; + input: CreateTaxCategoryInput; }; - export type MutationCreateTaxRateArgs = { - input: CreateTaxRateInput; + input: CreateTaxRateInput; }; - export type MutationCreateZoneArgs = { - input: CreateZoneInput; + input: CreateZoneInput; }; - export type MutationDeleteAdministratorArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteAdministratorsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteAssetArgs = { - input: DeleteAssetInput; + input: DeleteAssetInput; }; - export type MutationDeleteAssetsArgs = { - input: DeleteAssetsInput; + input: DeleteAssetsInput; }; - export type MutationDeleteChannelArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteChannelsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCollectionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCollectionsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCountriesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCountryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerAddressArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomerGroupsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteCustomerNoteArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteCustomersArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteDraftOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationDeleteFacetArgs = { - force?: InputMaybe; - id: Scalars['ID']['input']; + force?: InputMaybe; + id: Scalars['ID']['input']; }; - export type MutationDeleteFacetValuesArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteFacetsArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteOrderNoteArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeletePaymentMethodArgs = { - force?: InputMaybe; - id: Scalars['ID']['input']; + force?: InputMaybe; + id: Scalars['ID']['input']; }; - export type MutationDeletePaymentMethodsArgs = { - force?: InputMaybe; - ids: Array; + force?: InputMaybe; + ids: Array; }; - export type MutationDeleteProductArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductOptionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductVariantArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteProductVariantsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteProductsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeletePromotionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeletePromotionsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteProvinceArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteRoleArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteRolesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteSellerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteSellersArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteShippingMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteShippingMethodsArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteStockLocationArgs = { - input: DeleteStockLocationInput; + input: DeleteStockLocationInput; }; - export type MutationDeleteStockLocationsArgs = { - input: Array; + input: Array; }; - export type MutationDeleteTagArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxCategoriesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteTaxCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxRateArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteTaxRatesArgs = { - ids: Array; + ids: Array; }; - export type MutationDeleteZoneArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationDeleteZonesArgs = { - ids: Array; + ids: Array; }; - export type MutationFlushBufferedJobsArgs = { - bufferIds?: InputMaybe>; + bufferIds?: InputMaybe>; }; - export type MutationImportProductsArgs = { - csvFile: Scalars['Upload']['input']; + csvFile: Scalars['Upload']['input']; }; - export type MutationLoginArgs = { - password: Scalars['String']['input']; - rememberMe?: InputMaybe; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + rememberMe?: InputMaybe; + username: Scalars['String']['input']; }; - export type MutationModifyOrderArgs = { - input: ModifyOrderInput; + input: ModifyOrderInput; }; - export type MutationMoveCollectionArgs = { - input: MoveCollectionInput; + input: MoveCollectionInput; }; - export type MutationRefundOrderArgs = { - input: RefundOrderInput; + input: RefundOrderInput; }; - export type MutationRejectProductReviewArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationRemoveCollectionsFromChannelArgs = { - input: RemoveCollectionsFromChannelInput; + input: RemoveCollectionsFromChannelInput; }; - export type MutationRemoveCouponCodeFromDraftOrderArgs = { - couponCode: Scalars['String']['input']; - orderId: Scalars['ID']['input']; + couponCode: Scalars['String']['input']; + orderId: Scalars['ID']['input']; }; - export type MutationRemoveCustomersFromGroupArgs = { - customerGroupId: Scalars['ID']['input']; - customerIds: Array; + customerGroupId: Scalars['ID']['input']; + customerIds: Array; }; - export type MutationRemoveDraftOrderLineArgs = { - orderId: Scalars['ID']['input']; - orderLineId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + orderLineId: Scalars['ID']['input']; }; - export type MutationRemoveFacetsFromChannelArgs = { - input: RemoveFacetsFromChannelInput; + input: RemoveFacetsFromChannelInput; }; - export type MutationRemoveMembersFromZoneArgs = { - memberIds: Array; - zoneId: Scalars['ID']['input']; + memberIds: Array; + zoneId: Scalars['ID']['input']; }; - export type MutationRemoveOptionGroupFromProductArgs = { - force?: InputMaybe; - optionGroupId: Scalars['ID']['input']; - productId: Scalars['ID']['input']; + force?: InputMaybe; + optionGroupId: Scalars['ID']['input']; + productId: Scalars['ID']['input']; }; - export type MutationRemovePaymentMethodsFromChannelArgs = { - input: RemovePaymentMethodsFromChannelInput; + input: RemovePaymentMethodsFromChannelInput; }; - export type MutationRemoveProductVariantsFromChannelArgs = { - input: RemoveProductVariantsFromChannelInput; + input: RemoveProductVariantsFromChannelInput; }; - export type MutationRemoveProductsFromChannelArgs = { - input: RemoveProductsFromChannelInput; + input: RemoveProductsFromChannelInput; }; - export type MutationRemovePromotionsFromChannelArgs = { - input: RemovePromotionsFromChannelInput; + input: RemovePromotionsFromChannelInput; }; - export type MutationRemoveSettledJobsArgs = { - olderThan?: InputMaybe; - queueNames?: InputMaybe>; + olderThan?: InputMaybe; + queueNames?: InputMaybe>; }; - export type MutationRemoveShippingMethodsFromChannelArgs = { - input: RemoveShippingMethodsFromChannelInput; + input: RemoveShippingMethodsFromChannelInput; }; - export type MutationRemoveStockLocationsFromChannelArgs = { - input: RemoveStockLocationsFromChannelInput; + input: RemoveStockLocationsFromChannelInput; }; - export type MutationSetCustomerForDraftOrderArgs = { - customerId?: InputMaybe; - input?: InputMaybe; - orderId: Scalars['ID']['input']; + customerId?: InputMaybe; + input?: InputMaybe; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderBillingAddressArgs = { - input: CreateAddressInput; - orderId: Scalars['ID']['input']; + input: CreateAddressInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderCustomFieldsArgs = { - input: UpdateOrderInput; - orderId: Scalars['ID']['input']; + input: UpdateOrderInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderShippingAddressArgs = { - input: CreateAddressInput; - orderId: Scalars['ID']['input']; + input: CreateAddressInput; + orderId: Scalars['ID']['input']; }; - export type MutationSetDraftOrderShippingMethodArgs = { - orderId: Scalars['ID']['input']; - shippingMethodId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; + shippingMethodId: Scalars['ID']['input']; }; - export type MutationSetOrderCustomFieldsArgs = { - input: UpdateOrderInput; + input: UpdateOrderInput; }; - export type MutationSettlePaymentArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type MutationSettleRefundArgs = { - input: SettleRefundInput; + input: SettleRefundInput; }; - export type MutationTransitionFulfillmentToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationTransitionOrderToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationTransitionPaymentToStateArgs = { - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }; - export type MutationUpdateActiveAdministratorArgs = { - input: UpdateActiveAdministratorInput; + input: UpdateActiveAdministratorInput; }; - export type MutationUpdateAdministratorArgs = { - input: UpdateAdministratorInput; + input: UpdateAdministratorInput; }; - export type MutationUpdateAssetArgs = { - input: UpdateAssetInput; + input: UpdateAssetInput; }; - export type MutationUpdateChannelArgs = { - input: UpdateChannelInput; + input: UpdateChannelInput; }; - export type MutationUpdateCollectionArgs = { - input: UpdateCollectionInput; + input: UpdateCollectionInput; }; - export type MutationUpdateCountryArgs = { - input: UpdateCountryInput; + input: UpdateCountryInput; }; - export type MutationUpdateCustomerArgs = { - input: UpdateCustomerInput; + input: UpdateCustomerInput; }; - export type MutationUpdateCustomerAddressArgs = { - input: UpdateAddressInput; + input: UpdateAddressInput; }; - export type MutationUpdateCustomerGroupArgs = { - input: UpdateCustomerGroupInput; + input: UpdateCustomerGroupInput; }; - export type MutationUpdateCustomerNoteArgs = { - input: UpdateCustomerNoteInput; + input: UpdateCustomerNoteInput; }; - export type MutationUpdateFacetArgs = { - input: UpdateFacetInput; + input: UpdateFacetInput; }; - export type MutationUpdateFacetValuesArgs = { - input: Array; + input: Array; }; - export type MutationUpdateGlobalSettingsArgs = { - input: UpdateGlobalSettingsInput; + input: UpdateGlobalSettingsInput; }; - export type MutationUpdateOrderNoteArgs = { - input: UpdateOrderNoteInput; + input: UpdateOrderNoteInput; }; - export type MutationUpdatePaymentMethodArgs = { - input: UpdatePaymentMethodInput; + input: UpdatePaymentMethodInput; }; - export type MutationUpdateProductArgs = { - input: UpdateProductInput; + input: UpdateProductInput; }; - export type MutationUpdateProductOptionArgs = { - input: UpdateProductOptionInput; + input: UpdateProductOptionInput; }; - export type MutationUpdateProductOptionGroupArgs = { - input: UpdateProductOptionGroupInput; + input: UpdateProductOptionGroupInput; }; - export type MutationUpdateProductReviewArgs = { - input: UpdateProductReviewInput; + input: UpdateProductReviewInput; }; - export type MutationUpdateProductVariantsArgs = { - input: Array; + input: Array; }; - export type MutationUpdateProductsArgs = { - input: Array; + input: Array; }; - export type MutationUpdatePromotionArgs = { - input: UpdatePromotionInput; + input: UpdatePromotionInput; }; - export type MutationUpdateProvinceArgs = { - input: UpdateProvinceInput; + input: UpdateProvinceInput; }; - export type MutationUpdateRoleArgs = { - input: UpdateRoleInput; + input: UpdateRoleInput; }; - export type MutationUpdateSellerArgs = { - input: UpdateSellerInput; + input: UpdateSellerInput; }; - export type MutationUpdateShippingMethodArgs = { - input: UpdateShippingMethodInput; + input: UpdateShippingMethodInput; }; - export type MutationUpdateStockLocationArgs = { - input: UpdateStockLocationInput; + input: UpdateStockLocationInput; }; - export type MutationUpdateTagArgs = { - input: UpdateTagInput; + input: UpdateTagInput; }; - export type MutationUpdateTaxCategoryArgs = { - input: UpdateTaxCategoryInput; + input: UpdateTaxCategoryInput; }; - export type MutationUpdateTaxRateArgs = { - input: UpdateTaxRateInput; + input: UpdateTaxRateInput; }; - export type MutationUpdateZoneArgs = { - input: UpdateZoneInput; + input: UpdateZoneInput; }; export type NativeAuthInput = { - password: Scalars['String']['input']; - username: Scalars['String']['input']; + password: Scalars['String']['input']; + username: Scalars['String']['input']; }; /** Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */ export type NativeAuthStrategyError = ErrorResult & { - __typename?: 'NativeAuthStrategyError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NativeAuthStrategyError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError; /** Returned when attempting to set a negative OrderLine quantity. */ export type NegativeQuantityError = ErrorResult & { - __typename?: 'NegativeQuantityError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NegativeQuantityError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -3719,321 +3598,320 @@ export type NegativeQuantityError = ErrorResult & { * current session. */ export type NoActiveOrderError = ErrorResult & { - __typename?: 'NoActiveOrderError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoActiveOrderError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when a call to modifyOrder fails to specify any changes */ export type NoChangesSpecifiedError = ErrorResult & { - __typename?: 'NoChangesSpecifiedError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NoChangesSpecifiedError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Node = { - id: Scalars['ID']['output']; + id: Scalars['ID']['output']; }; /** Returned if an attempting to refund an Order but neither items nor shipping refund was specified */ export type NothingToRefundError = ErrorResult & { - __typename?: 'NothingToRefundError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'NothingToRefundError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Operators for filtering on a list of Number fields */ export type NumberListOperators = { - inList: Scalars['Float']['input']; + inList: Scalars['Float']['input']; }; /** Operators for filtering on a Int or Float field */ export type NumberOperators = { - between?: InputMaybe; - eq?: InputMaybe; - gt?: InputMaybe; - gte?: InputMaybe; - isNull?: InputMaybe; - lt?: InputMaybe; - lte?: InputMaybe; + between?: InputMaybe; + eq?: InputMaybe; + gt?: InputMaybe; + gte?: InputMaybe; + isNull?: InputMaybe; + lt?: InputMaybe; + lte?: InputMaybe; }; export type NumberRange = { - end: Scalars['Float']['input']; - start: Scalars['Float']['input']; + end: Scalars['Float']['input']; + start: Scalars['Float']['input']; }; export type Order = Node & { - __typename?: 'Order'; - /** An order is active as long as the payment process has not been completed */ - active: Scalars['Boolean']['output']; - aggregateOrder?: Maybe; - aggregateOrderId?: Maybe; - billingAddress?: Maybe; - channels: Array; - /** A unique code for the Order */ - code: Scalars['String']['output']; - /** An array of all coupon codes applied to the Order */ - couponCodes: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - customer?: Maybe; - discounts: Array; - fulfillments?: Maybe>; - history: HistoryEntryList; - id: Scalars['ID']['output']; - lines: Array; - modifications: Array; - nextStates: Array; - /** - * The date & time that the Order was placed, i.e. the Customer - * completed the checkout and the Order is no longer "active" - */ - orderPlacedAt?: Maybe; - payments?: Maybe>; - /** Promotions applied to the order. Only gets populated after the payment process has completed. */ - promotions: Array; - sellerOrders?: Maybe>; - shipping: Scalars['Money']['output']; - shippingAddress?: Maybe; - shippingLines: Array; - shippingWithTax: Scalars['Money']['output']; - state: Scalars['String']['output']; - /** - * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level - * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. - * To get a total of all OrderLines which does not account for prorated discounts, use the - * sum of `OrderLine.discountedLinePrice` values. - */ - subTotal: Scalars['Money']['output']; - /** Same as subTotal, but inclusive of tax */ - subTotalWithTax: Scalars['Money']['output']; - /** - * Surcharges are arbitrary modifications to the Order total which are neither - * ProductVariants nor discounts resulting from applied Promotions. For example, - * one-off discounts based on customer interaction, or surcharges based on payment - * methods. - */ - surcharges: Array; - /** A summary of the taxes being applied to this Order */ - taxSummary: Array; - /** Equal to subTotal plus shipping */ - total: Scalars['Money']['output']; - totalQuantity: Scalars['Int']['output']; - /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ - totalWithTax: Scalars['Money']['output']; - type: OrderType; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Order'; + /** An order is active as long as the payment process has not been completed */ + active: Scalars['Boolean']['output']; + aggregateOrder?: Maybe; + aggregateOrderId?: Maybe; + billingAddress?: Maybe; + channels: Array; + /** A unique code for the Order */ + code: Scalars['String']['output']; + /** An array of all coupon codes applied to the Order */ + couponCodes: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + customer?: Maybe; + discounts: Array; + fulfillments?: Maybe>; + history: HistoryEntryList; + id: Scalars['ID']['output']; + lines: Array; + modifications: Array; + nextStates: Array; + /** + * The date & time that the Order was placed, i.e. the Customer + * completed the checkout and the Order is no longer "active" + */ + orderPlacedAt?: Maybe; + payments?: Maybe>; + /** Promotions applied to the order. Only gets populated after the payment process has completed. */ + promotions: Array; + sellerOrders?: Maybe>; + shipping: Scalars['Money']['output']; + shippingAddress?: Maybe; + shippingLines: Array; + shippingWithTax: Scalars['Money']['output']; + state: Scalars['String']['output']; + /** + * The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level + * discounts which have been prorated (proportionally distributed) amongst the items of each OrderLine. + * To get a total of all OrderLines which does not account for prorated discounts, use the + * sum of `OrderLine.discountedLinePrice` values. + */ + subTotal: Scalars['Money']['output']; + /** Same as subTotal, but inclusive of tax */ + subTotalWithTax: Scalars['Money']['output']; + /** + * Surcharges are arbitrary modifications to the Order total which are neither + * ProductVariants nor discounts resulting from applied Promotions. For example, + * one-off discounts based on customer interaction, or surcharges based on payment + * methods. + */ + surcharges: Array; + /** A summary of the taxes being applied to this Order */ + taxSummary: Array; + /** Equal to subTotal plus shipping */ + total: Scalars['Money']['output']; + totalQuantity: Scalars['Int']['output']; + /** The final payable amount. Equal to subTotalWithTax plus shippingWithTax */ + totalWithTax: Scalars['Money']['output']; + type: OrderType; + updatedAt: Scalars['DateTime']['output']; }; - export type OrderHistoryArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type OrderAddress = { - __typename?: 'OrderAddress'; - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + __typename?: 'OrderAddress'; + city?: Maybe; + company?: Maybe; + country?: Maybe; + countryCode?: Maybe; + customFields?: Maybe; + fullName?: Maybe; + phoneNumber?: Maybe; + postalCode?: Maybe; + province?: Maybe; + streetLine1?: Maybe; + streetLine2?: Maybe; }; export type OrderFilterParameter = { - active?: InputMaybe; - aggregateOrderId?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - customerLastName?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - transactionId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + active?: InputMaybe; + aggregateOrderId?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + customerLastName?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + transactionId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - __typename?: 'OrderLimitError'; - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + __typename?: 'OrderLimitError'; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - __typename?: 'OrderLine'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - /** The price of the line including discounts, excluding tax */ - discountedLinePrice: Scalars['Money']['output']; - /** The price of the line including discounts and tax */ - discountedLinePriceWithTax: Scalars['Money']['output']; - /** - * The price of a single unit including discounts, excluding tax. - * - * If Order-level discounts have been applied, this will not be the - * actual taxable unit price (see `proratedUnitPrice`), but is generally the - * correct price to display to customers to avoid confusion - * about the internal handling of distributed Order-level discounts. - */ - discountedUnitPrice: Scalars['Money']['output']; - /** The price of a single unit including discounts and tax */ - discountedUnitPriceWithTax: Scalars['Money']['output']; - discounts: Array; - featuredAsset?: Maybe; - fulfillmentLines?: Maybe>; - id: Scalars['ID']['output']; - /** The total price of the line excluding tax and discounts. */ - linePrice: Scalars['Money']['output']; - /** The total price of the line including tax but excluding discounts. */ - linePriceWithTax: Scalars['Money']['output']; - /** The total tax on this line */ - lineTax: Scalars['Money']['output']; - order: Order; - /** The quantity at the time the Order was placed */ - orderPlacedQuantity: Scalars['Int']['output']; - productVariant: ProductVariant; - /** - * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax - * and refund calculations. - */ - proratedLinePrice: Scalars['Money']['output']; - /** The proratedLinePrice including tax */ - proratedLinePriceWithTax: Scalars['Money']['output']; - /** - * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) - * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax - * and refund calculations. - */ - proratedUnitPrice: Scalars['Money']['output']; - /** The proratedUnitPrice including tax */ - proratedUnitPriceWithTax: Scalars['Money']['output']; - quantity: Scalars['Int']['output']; - taxLines: Array; - taxRate: Scalars['Float']['output']; - /** The price of a single unit, excluding tax and discounts */ - unitPrice: Scalars['Money']['output']; - /** Non-zero if the unitPrice has changed since it was initially added to Order */ - unitPriceChangeSinceAdded: Scalars['Money']['output']; - /** The price of a single unit, including tax but excluding discounts */ - unitPriceWithTax: Scalars['Money']['output']; - /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ - unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderLine'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + /** The price of the line including discounts, excluding tax */ + discountedLinePrice: Scalars['Money']['output']; + /** The price of the line including discounts and tax */ + discountedLinePriceWithTax: Scalars['Money']['output']; + /** + * The price of a single unit including discounts, excluding tax. + * + * If Order-level discounts have been applied, this will not be the + * actual taxable unit price (see `proratedUnitPrice`), but is generally the + * correct price to display to customers to avoid confusion + * about the internal handling of distributed Order-level discounts. + */ + discountedUnitPrice: Scalars['Money']['output']; + /** The price of a single unit including discounts and tax */ + discountedUnitPriceWithTax: Scalars['Money']['output']; + discounts: Array; + featuredAsset?: Maybe; + fulfillmentLines?: Maybe>; + id: Scalars['ID']['output']; + /** The total price of the line excluding tax and discounts. */ + linePrice: Scalars['Money']['output']; + /** The total price of the line including tax but excluding discounts. */ + linePriceWithTax: Scalars['Money']['output']; + /** The total tax on this line */ + lineTax: Scalars['Money']['output']; + order: Order; + /** The quantity at the time the Order was placed */ + orderPlacedQuantity: Scalars['Int']['output']; + productVariant: ProductVariant; + /** + * The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderLine, and is used in tax + * and refund calculations. + */ + proratedLinePrice: Scalars['Money']['output']; + /** The proratedLinePrice including tax */ + proratedLinePriceWithTax: Scalars['Money']['output']; + /** + * The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed) + * Order-level discounts. This value is the true economic value of the OrderItem, and is used in tax + * and refund calculations. + */ + proratedUnitPrice: Scalars['Money']['output']; + /** The proratedUnitPrice including tax */ + proratedUnitPriceWithTax: Scalars['Money']['output']; + quantity: Scalars['Int']['output']; + taxLines: Array; + taxRate: Scalars['Float']['output']; + /** The price of a single unit, excluding tax and discounts */ + unitPrice: Scalars['Money']['output']; + /** Non-zero if the unitPrice has changed since it was initially added to Order */ + unitPriceChangeSinceAdded: Scalars['Money']['output']; + /** The price of a single unit, including tax but excluding discounts */ + unitPriceWithTax: Scalars['Money']['output']; + /** Non-zero if the unitPriceWithTax has changed since it was initially added to Order */ + unitPriceWithTaxChangeSinceAdded: Scalars['Money']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type OrderLineInput = { - orderLineId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + orderLineId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'OrderList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type OrderModification = Node & { - __typename?: 'OrderModification'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - isSettled: Scalars['Boolean']['output']; - lines: Array; - note: Scalars['String']['output']; - payment?: Maybe; - priceChange: Scalars['Money']['output']; - refund?: Maybe; - surcharges?: Maybe>; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'OrderModification'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + isSettled: Scalars['Boolean']['output']; + lines: Array; + note: Scalars['String']['output']; + payment?: Maybe; + priceChange: Scalars['Money']['output']; + refund?: Maybe; + surcharges?: Maybe>; + updatedAt: Scalars['DateTime']['output']; }; /** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */ export type OrderModificationError = ErrorResult & { - __typename?: 'OrderModificationError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderModificationLine = { - __typename?: 'OrderModificationLine'; - modification: OrderModification; - modificationId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + __typename?: 'OrderModificationLine'; + modification: OrderModification; + modificationId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; }; /** Returned when attempting to modify the contents of an Order that is not in the `Modifying` state. */ export type OrderModificationStateError = ErrorResult & { - __typename?: 'OrderModificationStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'OrderModificationStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderProcessState = { - __typename?: 'OrderProcessState'; - name: Scalars['String']['output']; - to: Array; + __typename?: 'OrderProcessState'; + name: Scalars['String']['output']; + to: Array; }; export type OrderSortParameter = { - aggregateOrderId?: InputMaybe; - code?: InputMaybe; - createdAt?: InputMaybe; - customerLastName?: InputMaybe; - id?: InputMaybe; - orderPlacedAt?: InputMaybe; - shipping?: InputMaybe; - shippingWithTax?: InputMaybe; - state?: InputMaybe; - subTotal?: InputMaybe; - subTotalWithTax?: InputMaybe; - total?: InputMaybe; - totalQuantity?: InputMaybe; - totalWithTax?: InputMaybe; - transactionId?: InputMaybe; - updatedAt?: InputMaybe; + aggregateOrderId?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + customerLastName?: InputMaybe; + id?: InputMaybe; + orderPlacedAt?: InputMaybe; + shipping?: InputMaybe; + shippingWithTax?: InputMaybe; + state?: InputMaybe; + subTotal?: InputMaybe; + subTotalWithTax?: InputMaybe; + total?: InputMaybe; + totalQuantity?: InputMaybe; + totalWithTax?: InputMaybe; + transactionId?: InputMaybe; + updatedAt?: InputMaybe; }; /** Returned if there is an error in transitioning the Order state */ export type OrderStateTransitionError = ErrorResult & { - __typename?: 'OrderStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'OrderStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4041,85 +3919,85 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type OrderTaxSummary = { - __typename?: 'OrderTaxSummary'; - /** A description of this tax */ - description: Scalars['String']['output']; - /** The total net price of OrderLines to which this taxRate applies */ - taxBase: Scalars['Money']['output']; - /** The taxRate as a percentage */ - taxRate: Scalars['Float']['output']; - /** The total tax being applied to the Order at this taxRate */ - taxTotal: Scalars['Money']['output']; + __typename?: 'OrderTaxSummary'; + /** A description of this tax */ + description: Scalars['String']['output']; + /** The total net price of OrderLines to which this taxRate applies */ + taxBase: Scalars['Money']['output']; + /** The taxRate as a percentage */ + taxRate: Scalars['Float']['output']; + /** The total tax being applied to the Order at this taxRate */ + taxTotal: Scalars['Money']['output']; }; export enum OrderType { - Aggregate = 'Aggregate', - Regular = 'Regular', - Seller = 'Seller' + Aggregate = 'Aggregate', + Regular = 'Regular', + Seller = 'Seller', } export type PaginatedList = { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type Payment = Node & { - __typename?: 'Payment'; - amount: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - errorMessage?: Maybe; - id: Scalars['ID']['output']; - metadata?: Maybe; - method: Scalars['String']['output']; - nextStates: Array; - refunds: Array; - state: Scalars['String']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Payment'; + amount: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + errorMessage?: Maybe; + id: Scalars['ID']['output']; + metadata?: Maybe; + method: Scalars['String']['output']; + nextStates: Array; + refunds: Array; + state: Scalars['String']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; - checker?: Maybe; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - handler: ConfigurableOperation; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethod'; + checker?: Maybe; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + handler: ConfigurableOperation; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodList = PaginatedList & { - __typename?: 'PaymentMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PaymentMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PaymentMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; /** @@ -4127,64 +4005,64 @@ export type PaymentMethodListOptions = { * though the price has increased as a result of the changes. */ export type PaymentMethodMissingError = ErrorResult & { - __typename?: 'PaymentMethodMissingError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PaymentMethodMissingError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type PaymentMethodQuote = { - __typename?: 'PaymentMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - eligibilityMessage?: Maybe; - id: Scalars['ID']['output']; - isEligible: Scalars['Boolean']['output']; - name: Scalars['String']['output']; + __typename?: 'PaymentMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + eligibilityMessage?: Maybe; + id: Scalars['ID']['output']; + isEligible: Scalars['Boolean']['output']; + name: Scalars['String']['output']; }; export type PaymentMethodSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodTranslation = { - __typename?: 'PaymentMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PaymentMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type PaymentMethodTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if an attempting to refund a Payment against OrderLines from a different Order */ export type PaymentOrderMismatchError = ErrorResult & { - __typename?: 'PaymentOrderMismatchError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'PaymentOrderMismatchError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Payment state */ export type PaymentStateTransitionError = ErrorResult & { - __typename?: 'PaymentStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'PaymentStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4201,7 +4079,7 @@ export type PaymentStateTransitionError = ErrorResult & { * based on the activeUserId of the current session. As a result, the resolver code looks like this: * * @example - * ```TypeScript + * ```ts * \@Query() * \@Allow(Permission.Owner) * async activeCustomer(\@Ctx() ctx: RequestContext): Promise { @@ -4220,551 +4098,548 @@ export type PaymentStateTransitionError = ErrorResult & { * @docsCategory common */ export enum Permission { - /** Authenticated means simply that the user is logged in */ - Authenticated = 'Authenticated', - /** Grants permission to create Administrator */ - CreateAdministrator = 'CreateAdministrator', - /** Grants permission to create Asset */ - CreateAsset = 'CreateAsset', - /** Grants permission to create Products, Facets, Assets, Collections */ - CreateCatalog = 'CreateCatalog', - /** Grants permission to create Channel */ - CreateChannel = 'CreateChannel', - /** Grants permission to create Collection */ - CreateCollection = 'CreateCollection', - /** Grants permission to create Country */ - CreateCountry = 'CreateCountry', - /** Grants permission to create Customer */ - CreateCustomer = 'CreateCustomer', - /** Grants permission to create CustomerGroup */ - CreateCustomerGroup = 'CreateCustomerGroup', - /** Grants permission to create Facet */ - CreateFacet = 'CreateFacet', - /** Grants permission to create Order */ - CreateOrder = 'CreateOrder', - /** Grants permission to create PaymentMethod */ - CreatePaymentMethod = 'CreatePaymentMethod', - /** Grants permission to create Product */ - CreateProduct = 'CreateProduct', - /** Grants permission to create Promotion */ - CreatePromotion = 'CreatePromotion', - /** Grants permission to create Seller */ - CreateSeller = 'CreateSeller', - /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - CreateSettings = 'CreateSettings', - /** Grants permission to create ShippingMethod */ - CreateShippingMethod = 'CreateShippingMethod', - /** Grants permission to create StockLocation */ - CreateStockLocation = 'CreateStockLocation', - /** Grants permission to create System */ - CreateSystem = 'CreateSystem', - /** Grants permission to create Tag */ - CreateTag = 'CreateTag', - /** Grants permission to create TaxCategory */ - CreateTaxCategory = 'CreateTaxCategory', - /** Grants permission to create TaxRate */ - CreateTaxRate = 'CreateTaxRate', - /** Grants permission to create Zone */ - CreateZone = 'CreateZone', - /** Grants permission to delete Administrator */ - DeleteAdministrator = 'DeleteAdministrator', - /** Grants permission to delete Asset */ - DeleteAsset = 'DeleteAsset', - /** Grants permission to delete Products, Facets, Assets, Collections */ - DeleteCatalog = 'DeleteCatalog', - /** Grants permission to delete Channel */ - DeleteChannel = 'DeleteChannel', - /** Grants permission to delete Collection */ - DeleteCollection = 'DeleteCollection', - /** Grants permission to delete Country */ - DeleteCountry = 'DeleteCountry', - /** Grants permission to delete Customer */ - DeleteCustomer = 'DeleteCustomer', - /** Grants permission to delete CustomerGroup */ - DeleteCustomerGroup = 'DeleteCustomerGroup', - /** Grants permission to delete Facet */ - DeleteFacet = 'DeleteFacet', - /** Grants permission to delete Order */ - DeleteOrder = 'DeleteOrder', - /** Grants permission to delete PaymentMethod */ - DeletePaymentMethod = 'DeletePaymentMethod', - /** Grants permission to delete Product */ - DeleteProduct = 'DeleteProduct', - /** Grants permission to delete Promotion */ - DeletePromotion = 'DeletePromotion', - /** Grants permission to delete Seller */ - DeleteSeller = 'DeleteSeller', - /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - DeleteSettings = 'DeleteSettings', - /** Grants permission to delete ShippingMethod */ - DeleteShippingMethod = 'DeleteShippingMethod', - /** Grants permission to delete StockLocation */ - DeleteStockLocation = 'DeleteStockLocation', - /** Grants permission to delete System */ - DeleteSystem = 'DeleteSystem', - /** Grants permission to delete Tag */ - DeleteTag = 'DeleteTag', - /** Grants permission to delete TaxCategory */ - DeleteTaxCategory = 'DeleteTaxCategory', - /** Grants permission to delete TaxRate */ - DeleteTaxRate = 'DeleteTaxRate', - /** Grants permission to delete Zone */ - DeleteZone = 'DeleteZone', - /** Owner means the user owns this entity, e.g. a Customer's own Order */ - Owner = 'Owner', - /** Public means any unauthenticated user may perform the operation */ - Public = 'Public', - /** Grants permission to read Administrator */ - ReadAdministrator = 'ReadAdministrator', - /** Grants permission to read Asset */ - ReadAsset = 'ReadAsset', - /** Grants permission to read Products, Facets, Assets, Collections */ - ReadCatalog = 'ReadCatalog', - /** Grants permission to read Channel */ - ReadChannel = 'ReadChannel', - /** Grants permission to read Collection */ - ReadCollection = 'ReadCollection', - /** Grants permission to read Country */ - ReadCountry = 'ReadCountry', - /** Grants permission to read Customer */ - ReadCustomer = 'ReadCustomer', - /** Grants permission to read CustomerGroup */ - ReadCustomerGroup = 'ReadCustomerGroup', - /** Grants permission to read Facet */ - ReadFacet = 'ReadFacet', - /** Grants permission to read Order */ - ReadOrder = 'ReadOrder', - /** Grants permission to read PaymentMethod */ - ReadPaymentMethod = 'ReadPaymentMethod', - /** Grants permission to read Product */ - ReadProduct = 'ReadProduct', - /** Grants permission to read Promotion */ - ReadPromotion = 'ReadPromotion', - /** Grants permission to read Seller */ - ReadSeller = 'ReadSeller', - /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - ReadSettings = 'ReadSettings', - /** Grants permission to read ShippingMethod */ - ReadShippingMethod = 'ReadShippingMethod', - /** Grants permission to read StockLocation */ - ReadStockLocation = 'ReadStockLocation', - /** Grants permission to read System */ - ReadSystem = 'ReadSystem', - /** Grants permission to read Tag */ - ReadTag = 'ReadTag', - /** Grants permission to read TaxCategory */ - ReadTaxCategory = 'ReadTaxCategory', - /** Grants permission to read TaxRate */ - ReadTaxRate = 'ReadTaxRate', - /** Grants permission to read Zone */ - ReadZone = 'ReadZone', - /** SuperAdmin has unrestricted access to all operations */ - SuperAdmin = 'SuperAdmin', - /** Grants permission to update Administrator */ - UpdateAdministrator = 'UpdateAdministrator', - /** Grants permission to update Asset */ - UpdateAsset = 'UpdateAsset', - /** Grants permission to update Products, Facets, Assets, Collections */ - UpdateCatalog = 'UpdateCatalog', - /** Grants permission to update Channel */ - UpdateChannel = 'UpdateChannel', - /** Grants permission to update Collection */ - UpdateCollection = 'UpdateCollection', - /** Grants permission to update Country */ - UpdateCountry = 'UpdateCountry', - /** Grants permission to update Customer */ - UpdateCustomer = 'UpdateCustomer', - /** Grants permission to update CustomerGroup */ - UpdateCustomerGroup = 'UpdateCustomerGroup', - /** Grants permission to update Facet */ - UpdateFacet = 'UpdateFacet', - /** Grants permission to update GlobalSettings */ - UpdateGlobalSettings = 'UpdateGlobalSettings', - /** Grants permission to update Order */ - UpdateOrder = 'UpdateOrder', - /** Grants permission to update PaymentMethod */ - UpdatePaymentMethod = 'UpdatePaymentMethod', - /** Grants permission to update Product */ - UpdateProduct = 'UpdateProduct', - /** Grants permission to update Promotion */ - UpdatePromotion = 'UpdatePromotion', - /** Grants permission to update Seller */ - UpdateSeller = 'UpdateSeller', - /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ - UpdateSettings = 'UpdateSettings', - /** Grants permission to update ShippingMethod */ - UpdateShippingMethod = 'UpdateShippingMethod', - /** Grants permission to update StockLocation */ - UpdateStockLocation = 'UpdateStockLocation', - /** Grants permission to update System */ - UpdateSystem = 'UpdateSystem', - /** Grants permission to update Tag */ - UpdateTag = 'UpdateTag', - /** Grants permission to update TaxCategory */ - UpdateTaxCategory = 'UpdateTaxCategory', - /** Grants permission to update TaxRate */ - UpdateTaxRate = 'UpdateTaxRate', - /** Grants permission to update Zone */ - UpdateZone = 'UpdateZone' + /** Authenticated means simply that the user is logged in */ + Authenticated = 'Authenticated', + /** Grants permission to create Administrator */ + CreateAdministrator = 'CreateAdministrator', + /** Grants permission to create Asset */ + CreateAsset = 'CreateAsset', + /** Grants permission to create Products, Facets, Assets, Collections */ + CreateCatalog = 'CreateCatalog', + /** Grants permission to create Channel */ + CreateChannel = 'CreateChannel', + /** Grants permission to create Collection */ + CreateCollection = 'CreateCollection', + /** Grants permission to create Country */ + CreateCountry = 'CreateCountry', + /** Grants permission to create Customer */ + CreateCustomer = 'CreateCustomer', + /** Grants permission to create CustomerGroup */ + CreateCustomerGroup = 'CreateCustomerGroup', + /** Grants permission to create Facet */ + CreateFacet = 'CreateFacet', + /** Grants permission to create Order */ + CreateOrder = 'CreateOrder', + /** Grants permission to create PaymentMethod */ + CreatePaymentMethod = 'CreatePaymentMethod', + /** Grants permission to create Product */ + CreateProduct = 'CreateProduct', + /** Grants permission to create Promotion */ + CreatePromotion = 'CreatePromotion', + /** Grants permission to create Seller */ + CreateSeller = 'CreateSeller', + /** Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + CreateSettings = 'CreateSettings', + /** Grants permission to create ShippingMethod */ + CreateShippingMethod = 'CreateShippingMethod', + /** Grants permission to create StockLocation */ + CreateStockLocation = 'CreateStockLocation', + /** Grants permission to create System */ + CreateSystem = 'CreateSystem', + /** Grants permission to create Tag */ + CreateTag = 'CreateTag', + /** Grants permission to create TaxCategory */ + CreateTaxCategory = 'CreateTaxCategory', + /** Grants permission to create TaxRate */ + CreateTaxRate = 'CreateTaxRate', + /** Grants permission to create Zone */ + CreateZone = 'CreateZone', + /** Grants permission to delete Administrator */ + DeleteAdministrator = 'DeleteAdministrator', + /** Grants permission to delete Asset */ + DeleteAsset = 'DeleteAsset', + /** Grants permission to delete Products, Facets, Assets, Collections */ + DeleteCatalog = 'DeleteCatalog', + /** Grants permission to delete Channel */ + DeleteChannel = 'DeleteChannel', + /** Grants permission to delete Collection */ + DeleteCollection = 'DeleteCollection', + /** Grants permission to delete Country */ + DeleteCountry = 'DeleteCountry', + /** Grants permission to delete Customer */ + DeleteCustomer = 'DeleteCustomer', + /** Grants permission to delete CustomerGroup */ + DeleteCustomerGroup = 'DeleteCustomerGroup', + /** Grants permission to delete Facet */ + DeleteFacet = 'DeleteFacet', + /** Grants permission to delete Order */ + DeleteOrder = 'DeleteOrder', + /** Grants permission to delete PaymentMethod */ + DeletePaymentMethod = 'DeletePaymentMethod', + /** Grants permission to delete Product */ + DeleteProduct = 'DeleteProduct', + /** Grants permission to delete Promotion */ + DeletePromotion = 'DeletePromotion', + /** Grants permission to delete Seller */ + DeleteSeller = 'DeleteSeller', + /** Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + DeleteSettings = 'DeleteSettings', + /** Grants permission to delete ShippingMethod */ + DeleteShippingMethod = 'DeleteShippingMethod', + /** Grants permission to delete StockLocation */ + DeleteStockLocation = 'DeleteStockLocation', + /** Grants permission to delete System */ + DeleteSystem = 'DeleteSystem', + /** Grants permission to delete Tag */ + DeleteTag = 'DeleteTag', + /** Grants permission to delete TaxCategory */ + DeleteTaxCategory = 'DeleteTaxCategory', + /** Grants permission to delete TaxRate */ + DeleteTaxRate = 'DeleteTaxRate', + /** Grants permission to delete Zone */ + DeleteZone = 'DeleteZone', + /** Owner means the user owns this entity, e.g. a Customer's own Order */ + Owner = 'Owner', + /** Public means any unauthenticated user may perform the operation */ + Public = 'Public', + /** Grants permission to read Administrator */ + ReadAdministrator = 'ReadAdministrator', + /** Grants permission to read Asset */ + ReadAsset = 'ReadAsset', + /** Grants permission to read Products, Facets, Assets, Collections */ + ReadCatalog = 'ReadCatalog', + /** Grants permission to read Channel */ + ReadChannel = 'ReadChannel', + /** Grants permission to read Collection */ + ReadCollection = 'ReadCollection', + /** Grants permission to read Country */ + ReadCountry = 'ReadCountry', + /** Grants permission to read Customer */ + ReadCustomer = 'ReadCustomer', + /** Grants permission to read CustomerGroup */ + ReadCustomerGroup = 'ReadCustomerGroup', + /** Grants permission to read Facet */ + ReadFacet = 'ReadFacet', + /** Grants permission to read Order */ + ReadOrder = 'ReadOrder', + /** Grants permission to read PaymentMethod */ + ReadPaymentMethod = 'ReadPaymentMethod', + /** Grants permission to read Product */ + ReadProduct = 'ReadProduct', + /** Grants permission to read Promotion */ + ReadPromotion = 'ReadPromotion', + /** Grants permission to read Seller */ + ReadSeller = 'ReadSeller', + /** Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + ReadSettings = 'ReadSettings', + /** Grants permission to read ShippingMethod */ + ReadShippingMethod = 'ReadShippingMethod', + /** Grants permission to read StockLocation */ + ReadStockLocation = 'ReadStockLocation', + /** Grants permission to read System */ + ReadSystem = 'ReadSystem', + /** Grants permission to read Tag */ + ReadTag = 'ReadTag', + /** Grants permission to read TaxCategory */ + ReadTaxCategory = 'ReadTaxCategory', + /** Grants permission to read TaxRate */ + ReadTaxRate = 'ReadTaxRate', + /** Grants permission to read Zone */ + ReadZone = 'ReadZone', + /** SuperAdmin has unrestricted access to all operations */ + SuperAdmin = 'SuperAdmin', + /** Grants permission to update Administrator */ + UpdateAdministrator = 'UpdateAdministrator', + /** Grants permission to update Asset */ + UpdateAsset = 'UpdateAsset', + /** Grants permission to update Products, Facets, Assets, Collections */ + UpdateCatalog = 'UpdateCatalog', + /** Grants permission to update Channel */ + UpdateChannel = 'UpdateChannel', + /** Grants permission to update Collection */ + UpdateCollection = 'UpdateCollection', + /** Grants permission to update Country */ + UpdateCountry = 'UpdateCountry', + /** Grants permission to update Customer */ + UpdateCustomer = 'UpdateCustomer', + /** Grants permission to update CustomerGroup */ + UpdateCustomerGroup = 'UpdateCustomerGroup', + /** Grants permission to update Facet */ + UpdateFacet = 'UpdateFacet', + /** Grants permission to update GlobalSettings */ + UpdateGlobalSettings = 'UpdateGlobalSettings', + /** Grants permission to update Order */ + UpdateOrder = 'UpdateOrder', + /** Grants permission to update PaymentMethod */ + UpdatePaymentMethod = 'UpdatePaymentMethod', + /** Grants permission to update Product */ + UpdateProduct = 'UpdateProduct', + /** Grants permission to update Promotion */ + UpdatePromotion = 'UpdatePromotion', + /** Grants permission to update Seller */ + UpdateSeller = 'UpdateSeller', + /** Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings */ + UpdateSettings = 'UpdateSettings', + /** Grants permission to update ShippingMethod */ + UpdateShippingMethod = 'UpdateShippingMethod', + /** Grants permission to update StockLocation */ + UpdateStockLocation = 'UpdateStockLocation', + /** Grants permission to update System */ + UpdateSystem = 'UpdateSystem', + /** Grants permission to update Tag */ + UpdateTag = 'UpdateTag', + /** Grants permission to update TaxCategory */ + UpdateTaxCategory = 'UpdateTaxCategory', + /** Grants permission to update TaxRate */ + UpdateTaxRate = 'UpdateTaxRate', + /** Grants permission to update Zone */ + UpdateZone = 'UpdateZone', } export type PermissionDefinition = { - __typename?: 'PermissionDefinition'; - assignable: Scalars['Boolean']['output']; - description: Scalars['String']['output']; - name: Scalars['String']['output']; + __typename?: 'PermissionDefinition'; + assignable: Scalars['Boolean']['output']; + description: Scalars['String']['output']; + name: Scalars['String']['output']; }; export type PreviewCollectionVariantsInput = { - filters: Array; - inheritFilters: Scalars['Boolean']['input']; - parentId?: InputMaybe; + filters: Array; + inheritFilters: Scalars['Boolean']['input']; + parentId?: InputMaybe; }; /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + __typename?: 'PriceRange'; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - __typename?: 'Product'; - assets: Array; - channels: Array; - collections: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - optionGroups: Array; - reviews: ProductReviewList; - reviewsHistogram: Array; - slug: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - /** Returns a paginated, sortable, filterable list of ProductVariants */ - variantList: ProductVariantList; - /** Returns all ProductVariants */ - variants: Array; + __typename?: 'Product'; + assets: Array; + channels: Array; + collections: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + optionGroups: Array; + reviews: ProductReviewList; + reviewsHistogram: Array; + slug: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + /** Returns a paginated, sortable, filterable list of ProductVariants */ + variantList: ProductVariantList; + /** Returns all ProductVariants */ + variants: Array; }; - export type ProductReviewsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type ProductVariantListArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductCustomFields = { - __typename?: 'ProductCustomFields'; - featuredReview?: Maybe; - reviewCount?: Maybe; - reviewRating?: Maybe; + __typename?: 'ProductCustomFields'; + featuredReview?: Maybe; + reviewCount?: Maybe; + reviewRating?: Maybe; }; export type ProductFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductOption = Node & { - __typename?: 'ProductOption'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - group: ProductOptionGroup; - groupId: Scalars['ID']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOption'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + group: ProductOptionGroup; + groupId: Scalars['ID']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroup'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionGroupTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionGroupTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type ProductOptionInUseError = ErrorResult & { - __typename?: 'ProductOptionInUseError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - optionGroupCode: Scalars['String']['output']; - productVariantCount: Scalars['Int']['output']; + __typename?: 'ProductOptionInUseError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + optionGroupCode: Scalars['String']['output']; + productVariantCount: Scalars['Int']['output']; }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductOptionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductOptionTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type ProductReview = Node & { - __typename?: 'ProductReview'; - author?: Maybe; - authorLocation?: Maybe; - authorName: Scalars['String']['output']; - body?: Maybe; - createdAt: Scalars['DateTime']['output']; - downvotes: Scalars['Int']['output']; - id: Scalars['ID']['output']; - product: Product; - productVariant?: Maybe; - rating: Scalars['Float']['output']; - response?: Maybe; - responseCreatedAt?: Maybe; - state: Scalars['String']['output']; - summary: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - upvotes: Scalars['Int']['output']; + __typename?: 'ProductReview'; + author?: Maybe; + authorLocation?: Maybe; + authorName: Scalars['String']['output']; + body?: Maybe; + createdAt: Scalars['DateTime']['output']; + downvotes: Scalars['Int']['output']; + id: Scalars['ID']['output']; + product: Product; + productVariant?: Maybe; + rating: Scalars['Float']['output']; + response?: Maybe; + responseCreatedAt?: Maybe; + state: Scalars['String']['output']; + summary: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + upvotes: Scalars['Int']['output']; }; export type ProductReviewFilterParameter = { - authorLocation?: InputMaybe; - authorName?: InputMaybe; - body?: InputMaybe; - createdAt?: InputMaybe; - downvotes?: InputMaybe; - id?: InputMaybe; - rating?: InputMaybe; - response?: InputMaybe; - responseCreatedAt?: InputMaybe; - state?: InputMaybe; - summary?: InputMaybe; - updatedAt?: InputMaybe; - upvotes?: InputMaybe; + authorLocation?: InputMaybe; + authorName?: InputMaybe; + body?: InputMaybe; + createdAt?: InputMaybe; + downvotes?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + response?: InputMaybe; + responseCreatedAt?: InputMaybe; + state?: InputMaybe; + summary?: InputMaybe; + updatedAt?: InputMaybe; + upvotes?: InputMaybe; }; export type ProductReviewHistogramItem = { - __typename?: 'ProductReviewHistogramItem'; - bin: Scalars['Int']['output']; - frequency: Scalars['Int']['output']; + __typename?: 'ProductReviewHistogramItem'; + bin: Scalars['Int']['output']; + frequency: Scalars['Int']['output']; }; export type ProductReviewList = PaginatedList & { - __typename?: 'ProductReviewList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductReviewList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductReviewListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductReviewSortParameter = { - authorLocation?: InputMaybe; - authorName?: InputMaybe; - body?: InputMaybe; - createdAt?: InputMaybe; - downvotes?: InputMaybe; - id?: InputMaybe; - rating?: InputMaybe; - response?: InputMaybe; - responseCreatedAt?: InputMaybe; - state?: InputMaybe; - summary?: InputMaybe; - updatedAt?: InputMaybe; - upvotes?: InputMaybe; + authorLocation?: InputMaybe; + authorName?: InputMaybe; + body?: InputMaybe; + createdAt?: InputMaybe; + downvotes?: InputMaybe; + id?: InputMaybe; + rating?: InputMaybe; + response?: InputMaybe; + responseCreatedAt?: InputMaybe; + state?: InputMaybe; + summary?: InputMaybe; + updatedAt?: InputMaybe; + upvotes?: InputMaybe; }; export type ProductSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - featuredReview?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + featuredReview?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; - slug?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; + slug?: InputMaybe; }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; - assets: Array; - channels: Array; - createdAt: Scalars['DateTime']['output']; - currencyCode: CurrencyCode; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - facetValues: Array; - featuredAsset?: Maybe; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - options: Array; - outOfStockThreshold: Scalars['Int']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - prices: Array; - product: Product; - productId: Scalars['ID']['output']; - sku: Scalars['String']['output']; - /** @deprecated use stockLevels */ - stockAllocated: Scalars['Int']['output']; - stockLevel: Scalars['String']['output']; - stockLevels: Array; - stockMovements: StockMovementList; - /** @deprecated use stockLevels */ - stockOnHand: Scalars['Int']['output']; - taxCategory: TaxCategory; - taxRateApplied: TaxRate; - trackInventory: GlobalFlag; - translations: Array; - updatedAt: Scalars['DateTime']['output']; - useGlobalOutOfStockThreshold: Scalars['Boolean']['output']; + __typename?: 'ProductVariant'; + assets: Array; + channels: Array; + createdAt: Scalars['DateTime']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + facetValues: Array; + featuredAsset?: Maybe; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + options: Array; + outOfStockThreshold: Scalars['Int']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + prices: Array; + product: Product; + productId: Scalars['ID']['output']; + sku: Scalars['String']['output']; + /** @deprecated use stockLevels */ + stockAllocated: Scalars['Int']['output']; + stockLevel: Scalars['String']['output']; + stockLevels: Array; + stockMovements: StockMovementList; + /** @deprecated use stockLevels */ + stockOnHand: Scalars['Int']['output']; + taxCategory: TaxCategory; + taxRateApplied: TaxRate; + trackInventory: GlobalFlag; + translations: Array; + updatedAt: Scalars['DateTime']['output']; + useGlobalOutOfStockThreshold: Scalars['Boolean']['output']; }; - export type ProductVariantStockMovementsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type ProductVariantFilterParameter = { - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockAllocated?: InputMaybe; - stockLevel?: InputMaybe; - stockOnHand?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; - useGlobalOutOfStockThreshold?: InputMaybe; + createdAt?: InputMaybe; + currencyCode?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockAllocated?: InputMaybe; + stockLevel?: InputMaybe; + stockOnHand?: InputMaybe; + trackInventory?: InputMaybe; + updatedAt?: InputMaybe; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProductVariantList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProductVariantPrice = { - __typename?: 'ProductVariantPrice'; - currencyCode: CurrencyCode; - price: Scalars['Int']['output']; + __typename?: 'ProductVariantPrice'; + currencyCode: CurrencyCode; + price: Scalars['Int']['output']; }; /** @@ -4772,622 +4647,573 @@ export type ProductVariantPrice = { * If the `delete` flag is `true`, the price will be deleted for the given Channel. */ export type ProductVariantPriceInput = { - currencyCode: CurrencyCode; - delete?: InputMaybe; - price: Scalars['Money']['input']; + currencyCode: CurrencyCode; + delete?: InputMaybe; + price: Scalars['Money']['input']; }; export type ProductVariantSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - outOfStockThreshold?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockAllocated?: InputMaybe; - stockLevel?: InputMaybe; - stockOnHand?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + outOfStockThreshold?: InputMaybe; + price?: InputMaybe; + priceWithTax?: InputMaybe; + productId?: InputMaybe; + sku?: InputMaybe; + stockAllocated?: InputMaybe; + stockLevel?: InputMaybe; + stockOnHand?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ProductVariantTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ProductVariantTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; export type Promotion = Node & { - __typename?: 'Promotion'; - actions: Array; - conditions: Array; - couponCode?: Maybe; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - endsAt?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - perCustomerUsageLimit?: Maybe; - startsAt?: Maybe; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Promotion'; + actions: Array; + conditions: Array; + couponCode?: Maybe; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + endsAt?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + perCustomerUsageLimit?: Maybe; + startsAt?: Maybe; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type PromotionFilterParameter = { - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; + couponCode?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + endsAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + updatedAt?: InputMaybe; }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'PromotionList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type PromotionSortParameter = { - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; + couponCode?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + endsAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + updatedAt?: InputMaybe; }; export type PromotionTranslation = { - __typename?: 'PromotionTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'PromotionTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type PromotionTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; -}; - -export type Province = Node & Region & { - __typename?: 'Province'; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; +}; + +export type Province = Node & + Region & { + __typename?: 'Province'; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + }; export type ProvinceFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceList = PaginatedList & { - __typename?: 'ProvinceList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ProvinceList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProvinceListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ProvinceSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceTranslationInput = { - customFields?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** Returned if the specified quantity of an OrderLine is greater than the number of items in that line */ export type QuantityTooGreatError = ErrorResult & { - __typename?: 'QuantityTooGreatError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'QuantityTooGreatError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Query = { - __typename?: 'Query'; - activeAdministrator?: Maybe; - activeChannel: Channel; - administrator?: Maybe; - administrators: AdministratorList; - /** Get a single Asset by id */ - asset?: Maybe; - /** Get a list of Assets */ - assets: AssetList; - channel?: Maybe; - channels: ChannelList; - /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */ - collection?: Maybe; - collectionFilters: Array; - collections: CollectionList; - countries: CountryList; - country?: Maybe; - customer?: Maybe; - customerGroup?: Maybe; - customerGroups: CustomerGroupList; - customers: CustomerList; - /** Returns a list of eligible shipping methods for the draft Order */ - eligibleShippingMethodsForDraftOrder: Array; - facet?: Maybe; - facetValues: FacetValueList; - facets: FacetList; - fulfillmentHandlers: Array; - globalSettings: GlobalSettings; - job?: Maybe; - jobBufferSize: Array; - jobQueues: Array; - jobs: JobList; - jobsById: Array; - me?: Maybe; - /** Get metrics for the given interval and metric types. */ - metricSummary: Array; - order?: Maybe; - orders: OrderList; - paymentMethod?: Maybe; - paymentMethodEligibilityCheckers: Array; - paymentMethodHandlers: Array; - paymentMethods: PaymentMethodList; - pendingSearchIndexUpdates: Scalars['Int']['output']; - /** Used for real-time previews of the contents of a Collection */ - previewCollectionVariants: ProductVariantList; - /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */ - product?: Maybe; - productOptionGroup?: Maybe; - productOptionGroups: Array; - productReview?: Maybe; - productReviews: ProductReviewList; - /** Get a ProductVariant by id */ - productVariant?: Maybe; - /** List ProductVariants either all or for the specific product. */ - productVariants: ProductVariantList; - /** List Products */ - products: ProductList; - promotion?: Maybe; - promotionActions: Array; - promotionConditions: Array; - promotions: PromotionList; - province?: Maybe; - provinces: ProvinceList; - role?: Maybe; - roles: RoleList; - search: SearchResponse; - seller?: Maybe; - sellers: SellerList; - shippingCalculators: Array; - shippingEligibilityCheckers: Array; - shippingMethod?: Maybe; - shippingMethods: ShippingMethodList; - stockLocation?: Maybe; - stockLocations: StockLocationList; - tag: Tag; - tags: TagList; - taxCategories: TaxCategoryList; - taxCategory?: Maybe; - taxRate?: Maybe; - taxRates: TaxRateList; - testEligibleShippingMethods: Array; - testShippingMethod: TestShippingMethodResult; - zone?: Maybe; - zones: ZoneList; + __typename?: 'Query'; + activeAdministrator?: Maybe; + activeChannel: Channel; + administrator?: Maybe; + administrators: AdministratorList; + /** Get a single Asset by id */ + asset?: Maybe; + /** Get a list of Assets */ + assets: AssetList; + channel?: Maybe; + channels: ChannelList; + /** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */ + collection?: Maybe; + collectionFilters: Array; + collections: CollectionList; + countries: CountryList; + country?: Maybe; + customer?: Maybe; + customerGroup?: Maybe; + customerGroups: CustomerGroupList; + customers: CustomerList; + /** Returns a list of eligible shipping methods for the draft Order */ + eligibleShippingMethodsForDraftOrder: Array; + facet?: Maybe; + facetValues: FacetValueList; + facets: FacetList; + fulfillmentHandlers: Array; + globalSettings: GlobalSettings; + job?: Maybe; + jobBufferSize: Array; + jobQueues: Array; + jobs: JobList; + jobsById: Array; + me?: Maybe; + /** Get metrics for the given interval and metric types. */ + metricSummary: Array; + order?: Maybe; + orders: OrderList; + paymentMethod?: Maybe; + paymentMethodEligibilityCheckers: Array; + paymentMethodHandlers: Array; + paymentMethods: PaymentMethodList; + pendingSearchIndexUpdates: Scalars['Int']['output']; + /** Used for real-time previews of the contents of a Collection */ + previewCollectionVariants: ProductVariantList; + /** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */ + product?: Maybe; + productOptionGroup?: Maybe; + productOptionGroups: Array; + productReview?: Maybe; + productReviews: ProductReviewList; + /** Get a ProductVariant by id */ + productVariant?: Maybe; + /** List ProductVariants either all or for the specific product. */ + productVariants: ProductVariantList; + /** List Products */ + products: ProductList; + promotion?: Maybe; + promotionActions: Array; + promotionConditions: Array; + promotions: PromotionList; + province?: Maybe; + provinces: ProvinceList; + role?: Maybe; + roles: RoleList; + search: SearchResponse; + seller?: Maybe; + sellers: SellerList; + shippingCalculators: Array; + shippingEligibilityCheckers: Array; + shippingMethod?: Maybe; + shippingMethods: ShippingMethodList; + stockLocation?: Maybe; + stockLocations: StockLocationList; + tag: Tag; + tags: TagList; + taxCategories: TaxCategoryList; + taxCategory?: Maybe; + taxRate?: Maybe; + taxRates: TaxRateList; + testEligibleShippingMethods: Array; + testShippingMethod: TestShippingMethodResult; + zone?: Maybe; + zones: ZoneList; }; - export type QueryAdministratorArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryAdministratorsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryAssetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryAssetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryChannelArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryChannelsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCollectionArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryCollectionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCountriesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCountryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryCustomerGroupsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryCustomersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryEligibleShippingMethodsForDraftOrderArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; - export type QueryFacetArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryFacetValuesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryFacetsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryJobArgs = { - jobId: Scalars['ID']['input']; + jobId: Scalars['ID']['input']; }; - export type QueryJobBufferSizeArgs = { - bufferIds?: InputMaybe>; + bufferIds?: InputMaybe>; }; - export type QueryJobsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryJobsByIdArgs = { - jobIds: Array; + jobIds: Array; }; - export type QueryMetricSummaryArgs = { - input?: InputMaybe; + input?: InputMaybe; }; - export type QueryOrderArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryOrdersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPaymentMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryPaymentMethodsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPreviewCollectionVariantsArgs = { - input: PreviewCollectionVariantsInput; - options?: InputMaybe; + input: PreviewCollectionVariantsInput; + options?: InputMaybe; }; - export type QueryProductArgs = { - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }; - export type QueryProductOptionGroupArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductOptionGroupsArgs = { - filterTerm?: InputMaybe; + filterTerm?: InputMaybe; }; - export type QueryProductReviewArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductReviewsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryProductVariantArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProductVariantsArgs = { - options?: InputMaybe; - productId?: InputMaybe; + options?: InputMaybe; + productId?: InputMaybe; }; - export type QueryProductsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryPromotionArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryPromotionsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryProvinceArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryProvincesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryRoleArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryRolesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QuerySearchArgs = { - input: SearchInput; + input: SearchInput; }; - export type QuerySellerArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QuerySellersArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryShippingMethodArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryShippingMethodsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryStockLocationArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryStockLocationsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTagArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTagsArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTaxCategoriesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTaxCategoryArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTaxRateArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryTaxRatesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; - export type QueryTestEligibleShippingMethodsArgs = { - input: TestEligibleShippingMethodsInput; + input: TestEligibleShippingMethodsInput; }; - export type QueryTestShippingMethodArgs = { - input: TestShippingMethodInput; + input: TestShippingMethodInput; }; - export type QueryZoneArgs = { - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }; - export type QueryZonesArgs = { - options?: InputMaybe; + options?: InputMaybe; }; export type Refund = Node & { - __typename?: 'Refund'; - adjustment: Scalars['Money']['output']; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - items: Scalars['Money']['output']; - lines: Array; - metadata?: Maybe; - method?: Maybe; - paymentId: Scalars['ID']['output']; - reason?: Maybe; - shipping: Scalars['Money']['output']; - state: Scalars['String']['output']; - total: Scalars['Money']['output']; - transactionId?: Maybe; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Refund'; + adjustment: Scalars['Money']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + items: Scalars['Money']['output']; + lines: Array; + metadata?: Maybe; + method?: Maybe; + paymentId: Scalars['ID']['output']; + reason?: Maybe; + shipping: Scalars['Money']['output']; + state: Scalars['String']['output']; + total: Scalars['Money']['output']; + transactionId?: Maybe; + updatedAt: Scalars['DateTime']['output']; }; export type RefundLine = { - __typename?: 'RefundLine'; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + __typename?: 'RefundLine'; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; - lines: Array; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; - shipping: Scalars['Money']['input']; -}; - -export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundOrderStateError | RefundStateTransitionError; + adjustment: Scalars['Money']['input']; + lines: Array; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; + shipping: Scalars['Money']['input']; +}; + +export type RefundOrderResult = + | AlreadyRefundedError + | MultipleOrderError + | NothingToRefundError + | OrderStateTransitionError + | PaymentOrderMismatchError + | QuantityTooGreatError + | Refund + | RefundOrderStateError + | RefundStateTransitionError; /** Returned if an attempting to refund an Order which is not in the expected state */ export type RefundOrderStateError = ErrorResult & { - __typename?: 'RefundOrderStateError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + __typename?: 'RefundOrderStateError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; /** @@ -5395,80 +5221,81 @@ export type RefundOrderStateError = ErrorResult & { * though the price has decreased as a result of the changes. */ export type RefundPaymentIdMissingError = ErrorResult & { - __typename?: 'RefundPaymentIdMissingError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'RefundPaymentIdMissingError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Refund state */ export type RefundStateTransitionError = ErrorResult & { - __typename?: 'RefundStateTransitionError'; - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + __typename?: 'RefundStateTransitionError'; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; export type Region = { - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - parent?: Maybe; - parentId?: Maybe; - translations: Array; - type: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + parent?: Maybe; + parentId?: Maybe; + translations: Array; + type: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RegionTranslation = { - __typename?: 'RegionTranslation'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'RegionTranslation'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RelationCustomFieldConfig = CustomField & { - __typename?: 'RelationCustomFieldConfig'; - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type Release = Node & StockMovement & { - __typename?: 'Release'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + __typename?: 'RelationCustomFieldConfig'; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type Release = Node & + StockMovement & { + __typename?: 'Release'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type RemoveCollectionsFromChannelInput = { - channelId: Scalars['ID']['input']; - collectionIds: Array; + channelId: Scalars['ID']['input']; + collectionIds: Array; }; export type RemoveFacetFromChannelResult = Facet | FacetInUseError; export type RemoveFacetsFromChannelInput = { - channelId: Scalars['ID']['input']; - facetIds: Array; - force?: InputMaybe; + channelId: Scalars['ID']['input']; + facetIds: Array; + force?: InputMaybe; }; export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseError; @@ -5476,697 +5303,708 @@ export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseErr export type RemoveOrderItemsResult = Order | OrderModificationError; export type RemovePaymentMethodsFromChannelInput = { - channelId: Scalars['ID']['input']; - paymentMethodIds: Array; + channelId: Scalars['ID']['input']; + paymentMethodIds: Array; }; export type RemoveProductVariantsFromChannelInput = { - channelId: Scalars['ID']['input']; - productVariantIds: Array; + channelId: Scalars['ID']['input']; + productVariantIds: Array; }; export type RemoveProductsFromChannelInput = { - channelId: Scalars['ID']['input']; - productIds: Array; + channelId: Scalars['ID']['input']; + productIds: Array; }; export type RemovePromotionsFromChannelInput = { - channelId: Scalars['ID']['input']; - promotionIds: Array; + channelId: Scalars['ID']['input']; + promotionIds: Array; }; export type RemoveShippingMethodsFromChannelInput = { - channelId: Scalars['ID']['input']; - shippingMethodIds: Array; + channelId: Scalars['ID']['input']; + shippingMethodIds: Array; }; export type RemoveStockLocationsFromChannelInput = { - channelId: Scalars['ID']['input']; - stockLocationIds: Array; + channelId: Scalars['ID']['input']; + stockLocationIds: Array; }; -export type Return = Node & StockMovement & { - __typename?: 'Return'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type Return = Node & + StockMovement & { + __typename?: 'Return'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type Role = Node & { - __typename?: 'Role'; - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Role'; + channels: Array; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + permissions: Array; + updatedAt: Scalars['DateTime']['output']; }; export type RoleFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'RoleList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type RoleListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type RoleSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; -}; - -export type Sale = Node & StockMovement & { - __typename?: 'Sale'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type Sale = Node & + StockMovement & { + __typename?: 'Sale'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type SearchInput = { - collectionId?: InputMaybe; - collectionSlug?: InputMaybe; - facetValueFilters?: InputMaybe>; - groupByProduct?: InputMaybe; - skip?: InputMaybe; - sort?: InputMaybe; - take?: InputMaybe; - term?: InputMaybe; + collectionId?: InputMaybe; + collectionSlug?: InputMaybe; + facetValueFilters?: InputMaybe>; + groupByProduct?: InputMaybe; + skip?: InputMaybe; + sort?: InputMaybe; + take?: InputMaybe; + term?: InputMaybe; }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; - success: Scalars['Boolean']['output']; + __typename?: 'SearchReindexResponse'; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SearchResponse'; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SearchResult = { - __typename?: 'SearchResult'; - /** An array of ids of the Channels in which this result appears */ - channelIds: Array; - /** An array of ids of the Collections in which this result appears */ - collectionIds: Array; - currencyCode: CurrencyCode; - description: Scalars['String']['output']; - enabled: Scalars['Boolean']['output']; - facetIds: Array; - facetValueIds: Array; - price: SearchResultPrice; - priceWithTax: SearchResultPrice; - productAsset?: Maybe; - productId: Scalars['ID']['output']; - productName: Scalars['String']['output']; - productVariantAsset?: Maybe; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - /** A relevance score for the result. Differs between database implementations */ - score: Scalars['Float']['output']; - sku: Scalars['String']['output']; - slug: Scalars['String']['output']; + __typename?: 'SearchResult'; + /** An array of ids of the Channels in which this result appears */ + channelIds: Array; + /** An array of ids of the Collections in which this result appears */ + collectionIds: Array; + currencyCode: CurrencyCode; + description: Scalars['String']['output']; + enabled: Scalars['Boolean']['output']; + facetIds: Array; + facetValueIds: Array; + price: SearchResultPrice; + priceWithTax: SearchResultPrice; + productAsset?: Maybe; + productId: Scalars['ID']['output']; + productName: Scalars['String']['output']; + productVariantAsset?: Maybe; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + /** A relevance score for the result. Differs between database implementations */ + score: Scalars['Float']['output']; + sku: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + __typename?: 'SearchResultAsset'; + focalPoint?: Maybe; + id: Scalars['ID']['output']; + preview: Scalars['String']['output']; }; /** The price of a search result product, either as a range or as a single price */ export type SearchResultPrice = PriceRange | SinglePrice; export type SearchResultSortParameter = { - name?: InputMaybe; - price?: InputMaybe; + name?: InputMaybe; + price?: InputMaybe; }; export type Seller = Node & { - __typename?: 'Seller'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Seller'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SellerFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type SellerList = PaginatedList & { - __typename?: 'SellerList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'SellerList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SellerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type SellerSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ServerConfig = { - __typename?: 'ServerConfig'; - customFieldConfig: CustomFields; - orderProcess: Array; - permissions: Array; - permittedAssetTypes: Array; + __typename?: 'ServerConfig'; + customFieldConfig: CustomFields; + orderProcess: Array; + permissions: Array; + permittedAssetTypes: Array; }; export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order; -export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; +export type SetOrderShippingMethodResult = + | IneligibleShippingMethodError + | NoActiveOrderError + | Order + | OrderModificationError; /** Returned if the Payment settlement fails */ export type SettlePaymentError = ErrorResult & { - __typename?: 'SettlePaymentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + __typename?: 'SettlePaymentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; -export type SettlePaymentResult = OrderStateTransitionError | Payment | PaymentStateTransitionError | SettlePaymentError; +export type SettlePaymentResult = + | OrderStateTransitionError + | Payment + | PaymentStateTransitionError + | SettlePaymentError; export type SettleRefundInput = { - id: Scalars['ID']['input']; - transactionId: Scalars['String']['input']; + id: Scalars['ID']['input']; + transactionId: Scalars['String']['input']; }; export type SettleRefundResult = Refund | RefundStateTransitionError; export type ShippingLine = { - __typename?: 'ShippingLine'; - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + __typename?: 'ShippingLine'; + discountedPrice: Scalars['Money']['output']; + discountedPriceWithTax: Scalars['Money']['output']; + discounts: Array; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + shippingMethod: ShippingMethod; }; export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; - calculator: ConfigurableOperation; - checker: ConfigurableOperation; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - fulfillmentHandlerCode: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - translations: Array; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethod'; + calculator: ConfigurableOperation; + checker: ConfigurableOperation; + code: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + fulfillmentHandlerCode: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + translations: Array; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodFilterParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ShippingMethodList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; - code: Scalars['String']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ - metadata?: Maybe; - name: Scalars['String']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'ShippingMethodQuote'; + code: Scalars['String']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + /** Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult */ + metadata?: Maybe; + name: Scalars['String']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type ShippingMethodSortParameter = { - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodTranslation = { - __typename?: 'ShippingMethodTranslation'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'ShippingMethodTranslation'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ShippingMethodTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; }; /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; - value: Scalars['Money']['output']; + __typename?: 'SinglePrice'; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC' + ASC = 'ASC', + DESC = 'DESC', } -export type StockAdjustment = Node & StockMovement & { - __typename?: 'StockAdjustment'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; -}; +export type StockAdjustment = Node & + StockMovement & { + __typename?: 'StockAdjustment'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; + }; export type StockLevel = Node & { - __typename?: 'StockLevel'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - stockAllocated: Scalars['Int']['output']; - stockLocation: StockLocation; - stockLocationId: Scalars['ID']['output']; - stockOnHand: Scalars['Int']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'StockLevel'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + stockAllocated: Scalars['Int']['output']; + stockLocation: StockLocation; + stockLocationId: Scalars['ID']['output']; + stockOnHand: Scalars['Int']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type StockLevelInput = { - stockLocationId: Scalars['ID']['input']; - stockOnHand: Scalars['Int']['input']; + stockLocationId: Scalars['ID']['input']; + stockOnHand: Scalars['Int']['input']; }; export type StockLocation = Node & { - __typename?: 'StockLocation'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'StockLocation'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type StockLocationFilterParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockLocationList = PaginatedList & { - __typename?: 'StockLocationList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'StockLocationList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockLocationListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type StockLocationSortParameter = { - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockMovement = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; }; export type StockMovementItem = Allocation | Cancellation | Release | Return | Sale | StockAdjustment; export type StockMovementList = { - __typename?: 'StockMovementList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'StockMovementList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockMovementListOptions = { - skip?: InputMaybe; - take?: InputMaybe; - type?: InputMaybe; + skip?: InputMaybe; + take?: InputMaybe; + type?: InputMaybe; }; export enum StockMovementType { - ADJUSTMENT = 'ADJUSTMENT', - ALLOCATION = 'ALLOCATION', - CANCELLATION = 'CANCELLATION', - RELEASE = 'RELEASE', - RETURN = 'RETURN', - SALE = 'SALE' + ADJUSTMENT = 'ADJUSTMENT', + ALLOCATION = 'ALLOCATION', + CANCELLATION = 'CANCELLATION', + RELEASE = 'RELEASE', + RETURN = 'RETURN', + SALE = 'SALE', } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StringCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; - label?: Maybe>; - value: Scalars['String']['output']; + __typename?: 'StringFieldOption'; + label?: Maybe>; + value: Scalars['String']['output']; }; /** Operators for filtering on a list of String fields */ export type StringListOperators = { - inList: Scalars['String']['input']; + inList: Scalars['String']['input']; }; /** Operators for filtering on a String field */ export type StringOperators = { - contains?: InputMaybe; - eq?: InputMaybe; - in?: InputMaybe>; - isNull?: InputMaybe; - notContains?: InputMaybe; - notEq?: InputMaybe; - notIn?: InputMaybe>; - regex?: InputMaybe; + contains?: InputMaybe; + eq?: InputMaybe; + in?: InputMaybe>; + isNull?: InputMaybe; + notContains?: InputMaybe; + notEq?: InputMaybe; + notIn?: InputMaybe>; + regex?: InputMaybe; }; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - __typename?: 'Success'; - success: Scalars['Boolean']['output']; + __typename?: 'Success'; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - __typename?: 'Surcharge'; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - sku?: Maybe; - taxLines: Array; - taxRate: Scalars['Float']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Surcharge'; + createdAt: Scalars['DateTime']['output']; + description: Scalars['String']['output']; + id: Scalars['ID']['output']; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; + sku?: Maybe; + taxLines: Array; + taxRate: Scalars['Float']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SurchargeInput = { - description: Scalars['String']['input']; - price: Scalars['Money']['input']; - priceIncludesTax: Scalars['Boolean']['input']; - sku?: InputMaybe; - taxDescription?: InputMaybe; - taxRate?: InputMaybe; + description: Scalars['String']['input']; + price: Scalars['Money']['input']; + priceIncludesTax: Scalars['Boolean']['input']; + sku?: InputMaybe; + taxDescription?: InputMaybe; + taxRate?: InputMaybe; }; export type Tag = Node & { - __typename?: 'Tag'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + __typename?: 'Tag'; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TagList = PaginatedList & { - __typename?: 'TagList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TagList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TagListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TagSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxCategory = Node & { - __typename?: 'TaxCategory'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'TaxCategory'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + isDefault: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type TaxCategoryFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - isDefault?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isDefault?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxCategoryList = PaginatedList & { - __typename?: 'TaxCategoryList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxCategoryList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategoryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TaxCategorySortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxLine = { - __typename?: 'TaxLine'; - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + __typename?: 'TaxLine'; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - __typename?: 'TaxRate'; - category: TaxCategory; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customerGroup?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['Float']['output']; - zone: Zone; + __typename?: 'TaxRate'; + category: TaxCategory; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + customerGroup?: Maybe; + enabled: Scalars['Boolean']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['Float']['output']; + zone: Zone; }; export type TaxRateFilterParameter = { - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'TaxRateList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxRateListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type TaxRateSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TestEligibleShippingMethodsInput = { - lines: Array; - shippingAddress: CreateAddressInput; + lines: Array; + shippingAddress: CreateAddressInput; }; export type TestShippingMethodInput = { - calculator: ConfigurableOperationInput; - checker: ConfigurableOperationInput; - lines: Array; - shippingAddress: CreateAddressInput; + calculator: ConfigurableOperationInput; + checker: ConfigurableOperationInput; + lines: Array; + shippingAddress: CreateAddressInput; }; export type TestShippingMethodOrderLineInput = { - productVariantId: Scalars['ID']['input']; - quantity: Scalars['Int']['input']; + productVariantId: Scalars['ID']['input']; + quantity: Scalars['Int']['input']; }; export type TestShippingMethodQuote = { - __typename?: 'TestShippingMethodQuote'; - metadata?: Maybe; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + __typename?: 'TestShippingMethodQuote'; + metadata?: Maybe; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type TestShippingMethodResult = { - __typename?: 'TestShippingMethodResult'; - eligible: Scalars['Boolean']['output']; - quote?: Maybe; + __typename?: 'TestShippingMethodResult'; + eligible: Scalars['Boolean']['output']; + quote?: Maybe; }; export type TextCustomFieldConfig = CustomField & { - __typename?: 'TextCustomFieldConfig'; - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'TextCustomFieldConfig'; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError; @@ -6176,448 +6014,1338 @@ export type TransitionOrderToStateResult = Order | OrderStateTransitionError; export type TransitionPaymentToStateResult = Payment | PaymentStateTransitionError; export type UpdateActiveAdministratorInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - lastName?: InputMaybe; - password?: InputMaybe; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + lastName?: InputMaybe; + password?: InputMaybe; }; export type UpdateAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - customFields?: InputMaybe; - defaultBillingAddress?: InputMaybe; - defaultShippingAddress?: InputMaybe; - fullName?: InputMaybe; - id: Scalars['ID']['input']; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + customFields?: InputMaybe; + defaultBillingAddress?: InputMaybe; + defaultShippingAddress?: InputMaybe; + fullName?: InputMaybe; + id: Scalars['ID']['input']; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; }; export type UpdateAdministratorInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - lastName?: InputMaybe; - password?: InputMaybe; - roleIds?: InputMaybe>; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id: Scalars['ID']['input']; + lastName?: InputMaybe; + password?: InputMaybe; + roleIds?: InputMaybe>; }; export type UpdateAssetInput = { - customFields?: InputMaybe; - focalPoint?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - tags?: InputMaybe>; + customFields?: InputMaybe; + focalPoint?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; + tags?: InputMaybe>; }; export type UpdateChannelInput = { - availableCurrencyCodes?: InputMaybe>; - availableLanguageCodes?: InputMaybe>; - code?: InputMaybe; - customFields?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - defaultShippingZoneId?: InputMaybe; - defaultTaxZoneId?: InputMaybe; - id: Scalars['ID']['input']; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - sellerId?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; + availableCurrencyCodes?: InputMaybe>; + availableLanguageCodes?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + defaultCurrencyCode?: InputMaybe; + defaultLanguageCode?: InputMaybe; + defaultShippingZoneId?: InputMaybe; + defaultTaxZoneId?: InputMaybe; + id: Scalars['ID']['input']; + outOfStockThreshold?: InputMaybe; + pricesIncludeTax?: InputMaybe; + sellerId?: InputMaybe; + token?: InputMaybe; + trackInventory?: InputMaybe; }; export type UpdateChannelResult = Channel | LanguageNotAvailableError; export type UpdateCollectionInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - featuredAssetId?: InputMaybe; - filters?: InputMaybe>; - id: Scalars['ID']['input']; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - parentId?: InputMaybe; - translations?: InputMaybe>; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + featuredAssetId?: InputMaybe; + filters?: InputMaybe>; + id: Scalars['ID']['input']; + inheritFilters?: InputMaybe; + isPrivate?: InputMaybe; + parentId?: InputMaybe; + translations?: InputMaybe>; }; export type UpdateCollectionTranslationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode: LanguageCode; - name?: InputMaybe; - slug?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + languageCode: LanguageCode; + name?: InputMaybe; + slug?: InputMaybe; }; export type UpdateCountryInput = { - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateCustomerGroupInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateCustomerInput = { - customFields?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id: Scalars['ID']['input']; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; + customFields?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id: Scalars['ID']['input']; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + title?: InputMaybe; }; export type UpdateCustomerNoteInput = { - note: Scalars['String']['input']; - noteId: Scalars['ID']['input']; + note: Scalars['String']['input']; + noteId: Scalars['ID']['input']; }; export type UpdateCustomerResult = Customer | EmailAddressConflictError; export type UpdateFacetInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - isPrivate?: InputMaybe; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + isPrivate?: InputMaybe; + translations?: InputMaybe>; }; export type UpdateFacetValueInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateGlobalSettingsInput = { - availableLanguages?: InputMaybe>; - customFields?: InputMaybe; - outOfStockThreshold?: InputMaybe; - trackInventory?: InputMaybe; + availableLanguages?: InputMaybe>; + customFields?: InputMaybe; + outOfStockThreshold?: InputMaybe; + trackInventory?: InputMaybe; }; export type UpdateGlobalSettingsResult = ChannelDefaultLanguageError | GlobalSettings; export type UpdateOrderAddressInput = { - city?: InputMaybe; - company?: InputMaybe; - countryCode?: InputMaybe; - fullName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - province?: InputMaybe; - streetLine1?: InputMaybe; - streetLine2?: InputMaybe; + city?: InputMaybe; + company?: InputMaybe; + countryCode?: InputMaybe; + fullName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + province?: InputMaybe; + streetLine1?: InputMaybe; + streetLine2?: InputMaybe; }; export type UpdateOrderInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; + customFields?: InputMaybe; + id: Scalars['ID']['input']; }; -export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError; +export type UpdateOrderItemsResult = + | InsufficientStockError + | NegativeQuantityError + | Order + | OrderLimitError + | OrderModificationError; export type UpdateOrderNoteInput = { - isPublic?: InputMaybe; - note?: InputMaybe; - noteId: Scalars['ID']['input']; + isPublic?: InputMaybe; + note?: InputMaybe; + noteId: Scalars['ID']['input']; }; export type UpdatePaymentMethodInput = { - checker?: InputMaybe; - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - handler?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + checker?: InputMaybe; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + handler?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductCustomFieldsInput = { - featuredReviewId?: InputMaybe; - reviewCount?: InputMaybe; - reviewRating?: InputMaybe; + featuredReviewId?: InputMaybe; + reviewCount?: InputMaybe; + reviewRating?: InputMaybe; }; export type UpdateProductInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductOptionGroupInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductOptionInput = { - code?: InputMaybe; - customFields?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateProductReviewInput = { - body?: InputMaybe; - id: Scalars['ID']['input']; - response?: InputMaybe; - summary?: InputMaybe; + body?: InputMaybe; + id: Scalars['ID']['input']; + response?: InputMaybe; + summary?: InputMaybe; }; export type UpdateProductVariantInput = { - assetIds?: InputMaybe>; - customFields?: InputMaybe; - enabled?: InputMaybe; - facetValueIds?: InputMaybe>; - featuredAssetId?: InputMaybe; - id: Scalars['ID']['input']; - optionIds?: InputMaybe>; - outOfStockThreshold?: InputMaybe; - /** Sets the price for the ProductVariant in the Channel's default currency */ - price?: InputMaybe; - /** Allows multiple prices to be set for the ProductVariant in different currencies. */ - prices?: InputMaybe>; - sku?: InputMaybe; - stockLevels?: InputMaybe>; - stockOnHand?: InputMaybe; - taxCategoryId?: InputMaybe; - trackInventory?: InputMaybe; - translations?: InputMaybe>; - useGlobalOutOfStockThreshold?: InputMaybe; + assetIds?: InputMaybe>; + customFields?: InputMaybe; + enabled?: InputMaybe; + facetValueIds?: InputMaybe>; + featuredAssetId?: InputMaybe; + id: Scalars['ID']['input']; + optionIds?: InputMaybe>; + outOfStockThreshold?: InputMaybe; + /** Sets the price for the ProductVariant in the Channel's default currency */ + price?: InputMaybe; + /** Allows multiple prices to be set for the ProductVariant in different currencies. */ + prices?: InputMaybe>; + sku?: InputMaybe; + stockLevels?: InputMaybe>; + stockOnHand?: InputMaybe; + taxCategoryId?: InputMaybe; + trackInventory?: InputMaybe; + translations?: InputMaybe>; + useGlobalOutOfStockThreshold?: InputMaybe; }; export type UpdatePromotionInput = { - actions?: InputMaybe>; - conditions?: InputMaybe>; - couponCode?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id: Scalars['ID']['input']; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - translations?: InputMaybe>; + actions?: InputMaybe>; + conditions?: InputMaybe>; + couponCode?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + endsAt?: InputMaybe; + id: Scalars['ID']['input']; + perCustomerUsageLimit?: InputMaybe; + startsAt?: InputMaybe; + translations?: InputMaybe>; }; export type UpdatePromotionResult = MissingConditionsError | Promotion; export type UpdateProvinceInput = { - code?: InputMaybe; - customFields?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - translations?: InputMaybe>; + code?: InputMaybe; + customFields?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + translations?: InputMaybe>; }; export type UpdateRoleInput = { - channelIds?: InputMaybe>; - code?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - permissions?: InputMaybe>; + channelIds?: InputMaybe>; + code?: InputMaybe; + description?: InputMaybe; + id: Scalars['ID']['input']; + permissions?: InputMaybe>; }; export type UpdateSellerInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateShippingMethodInput = { - calculator?: InputMaybe; - checker?: InputMaybe; - code?: InputMaybe; - customFields?: InputMaybe; - fulfillmentHandler?: InputMaybe; - id: Scalars['ID']['input']; - translations: Array; + calculator?: InputMaybe; + checker?: InputMaybe; + code?: InputMaybe; + customFields?: InputMaybe; + fulfillmentHandler?: InputMaybe; + id: Scalars['ID']['input']; + translations: Array; }; export type UpdateStockLocationInput = { - customFields?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + description?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type UpdateTagInput = { - id: Scalars['ID']['input']; - value?: InputMaybe; + id: Scalars['ID']['input']; + value?: InputMaybe; }; export type UpdateTaxCategoryInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - isDefault?: InputMaybe; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + isDefault?: InputMaybe; + name?: InputMaybe; }; export type UpdateTaxRateInput = { - categoryId?: InputMaybe; - customFields?: InputMaybe; - customerGroupId?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - value?: InputMaybe; - zoneId?: InputMaybe; + categoryId?: InputMaybe; + customFields?: InputMaybe; + customerGroupId?: InputMaybe; + enabled?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; + value?: InputMaybe; + zoneId?: InputMaybe; }; export type UpdateZoneInput = { - customFields?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; + customFields?: InputMaybe; + id: Scalars['ID']['input']; + name?: InputMaybe; }; export type User = Node & { - __typename?: 'User'; - authenticationMethods: Array; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; - lastLogin?: Maybe; - roles: Array; - updatedAt: Scalars['DateTime']['output']; - verified: Scalars['Boolean']['output']; + __typename?: 'User'; + authenticationMethods: Array; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; + lastLogin?: Maybe; + roles: Array; + updatedAt: Scalars['DateTime']['output']; + verified: Scalars['Boolean']['output']; }; export type Zone = Node & { - __typename?: 'Zone'; - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + __typename?: 'Zone'; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ZoneFilterParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ZoneList = PaginatedList & { - __typename?: 'ZoneList'; - items: Array; - totalItems: Scalars['Int']['output']; + __typename?: 'ZoneList'; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ZoneListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ - filterOperator?: InputMaybe; - /** Skips the first n results, for use in pagination */ - skip?: InputMaybe; - /** Specifies which properties to sort the results by */ - sort?: InputMaybe; - /** Takes n results, for use in pagination */ - take?: InputMaybe; + /** Allows the results to be filtered */ + filter?: InputMaybe; + /** Specifies whether multiple "filter" arguments should be combines with a logical AND or OR operation. Defaults to AND. */ + filterOperator?: InputMaybe; + /** Skips the first n results, for use in pagination */ + skip?: InputMaybe; + /** Specifies which properties to sort the results by */ + sort?: InputMaybe; + /** Takes n results, for use in pagination */ + take?: InputMaybe; }; export type ZoneSortParameter = { - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; +}; + +export type ProductReviewFragment = { + __typename?: 'ProductReview'; + id: string; + createdAt: any; + updatedAt: any; + authorName: string; + authorLocation?: string; + summary: string; + body?: string; + rating: number; + state: string; + upvotes: number; + downvotes: number; + response?: string; + responseCreatedAt?: any; }; -export type ProductReviewFragment = { __typename?: 'ProductReview', id: string, createdAt: any, updatedAt: any, authorName: string, authorLocation?: string, summary: string, body?: string, rating: number, state: string, upvotes: number, downvotes: number, response?: string, responseCreatedAt?: any }; - export type GetAllReviewsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetAllReviewsQuery = { __typename?: 'Query', productReviews: { __typename?: 'ProductReviewList', totalItems: number, items: Array<{ __typename?: 'ProductReview', id: string, createdAt: any, updatedAt: any, authorName: string, authorLocation?: string, summary: string, body?: string, rating: number, state: string, upvotes: number, downvotes: number, response?: string, responseCreatedAt?: any, product: { __typename?: 'Product', id: string, name: string, featuredAsset?: { __typename?: 'Asset', id: string, preview: string } } }> } }; +export type GetAllReviewsQuery = { + __typename?: 'Query'; + productReviews: { + __typename?: 'ProductReviewList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductReview'; + id: string; + createdAt: any; + updatedAt: any; + authorName: string; + authorLocation?: string; + summary: string; + body?: string; + rating: number; + state: string; + upvotes: number; + downvotes: number; + response?: string; + responseCreatedAt?: any; + product: { + __typename?: 'Product'; + id: string; + name: string; + featuredAsset?: { __typename?: 'Asset'; id: string; preview: string }; + }; + }>; + }; +}; export type GetReviewDetailQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetReviewDetailQuery = { __typename?: 'Query', productReview?: { __typename?: 'ProductReview', id: string, createdAt: any, updatedAt: any, authorName: string, authorLocation?: string, summary: string, body?: string, rating: number, state: string, upvotes: number, downvotes: number, response?: string, responseCreatedAt?: any, product: { __typename?: 'Product', id: string, name: string, featuredAsset?: { __typename?: 'Asset', id: string, preview: string } }, productVariant?: { __typename?: 'ProductVariant', id: string, name: string, featuredAsset?: { __typename?: 'Asset', id: string, preview: string } } } }; +export type GetReviewDetailQuery = { + __typename?: 'Query'; + productReview?: { + __typename?: 'ProductReview'; + id: string; + createdAt: any; + updatedAt: any; + authorName: string; + authorLocation?: string; + summary: string; + body?: string; + rating: number; + state: string; + upvotes: number; + downvotes: number; + response?: string; + responseCreatedAt?: any; + product: { + __typename?: 'Product'; + id: string; + name: string; + featuredAsset?: { __typename?: 'Asset'; id: string; preview: string }; + }; + productVariant?: { + __typename?: 'ProductVariant'; + id: string; + name: string; + featuredAsset?: { __typename?: 'Asset'; id: string; preview: string }; + }; + }; +}; export type UpdateReviewMutationVariables = Exact<{ - input: UpdateProductReviewInput; + input: UpdateProductReviewInput; }>; - -export type UpdateReviewMutation = { __typename?: 'Mutation', updateProductReview: { __typename?: 'ProductReview', id: string, createdAt: any, updatedAt: any, authorName: string, authorLocation?: string, summary: string, body?: string, rating: number, state: string, upvotes: number, downvotes: number, response?: string, responseCreatedAt?: any } }; +export type UpdateReviewMutation = { + __typename?: 'Mutation'; + updateProductReview: { + __typename?: 'ProductReview'; + id: string; + createdAt: any; + updatedAt: any; + authorName: string; + authorLocation?: string; + summary: string; + body?: string; + rating: number; + state: string; + upvotes: number; + downvotes: number; + response?: string; + responseCreatedAt?: any; + }; +}; export type ApproveReviewMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type ApproveReviewMutation = { __typename?: 'Mutation', approveProductReview?: { __typename?: 'ProductReview', id: string, state: string, product: { __typename?: 'Product', id: string, customFields?: { __typename?: 'ProductCustomFields', reviewCount?: number, reviewRating?: number } } } }; +export type ApproveReviewMutation = { + __typename?: 'Mutation'; + approveProductReview?: { + __typename?: 'ProductReview'; + id: string; + state: string; + product: { + __typename?: 'Product'; + id: string; + customFields?: { + __typename?: 'ProductCustomFields'; + reviewCount?: number; + reviewRating?: number; + }; + }; + }; +}; export type RejectReviewMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type RejectReviewMutation = { __typename?: 'Mutation', rejectProductReview?: { __typename?: 'ProductReview', id: string, state: string } }; +export type RejectReviewMutation = { + __typename?: 'Mutation'; + rejectProductReview?: { __typename?: 'ProductReview'; id: string; state: string }; +}; export type GetReviewForProductQueryVariables = Exact<{ - productId: Scalars['ID']['input']; - options?: InputMaybe; + productId: Scalars['ID']['input']; + options?: InputMaybe; }>; - -export type GetReviewForProductQuery = { __typename?: 'Query', product?: { __typename?: 'Product', id: string, reviews: { __typename?: 'ProductReviewList', totalItems: number, items: Array<{ __typename?: 'ProductReview', id: string, createdAt: any, updatedAt: any, authorName: string, authorLocation?: string, summary: string, body?: string, rating: number, state: string, upvotes: number, downvotes: number, response?: string, responseCreatedAt?: any }> } } }; +export type GetReviewForProductQuery = { + __typename?: 'Query'; + product?: { + __typename?: 'Product'; + id: string; + reviews: { + __typename?: 'ProductReviewList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductReview'; + id: string; + createdAt: any; + updatedAt: any; + authorName: string; + authorLocation?: string; + summary: string; + body?: string; + rating: number; + state: string; + upvotes: number; + downvotes: number; + response?: string; + responseCreatedAt?: any; + }>; + }; + }; +}; export type GetReviewsHistogramQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetReviewsHistogramQuery = { __typename?: 'Query', product?: { __typename?: 'Product', id: string, name: string, featuredAsset?: { __typename?: 'Asset', id: string, preview: string }, customFields?: { __typename?: 'ProductCustomFields', reviewRating?: number, reviewCount?: number }, reviewsHistogram: Array<{ __typename?: 'ProductReviewHistogramItem', bin: number, frequency: number }> } }; +export type GetReviewsHistogramQuery = { + __typename?: 'Query'; + product?: { + __typename?: 'Product'; + id: string; + name: string; + featuredAsset?: { __typename?: 'Asset'; id: string; preview: string }; + customFields?: { __typename?: 'ProductCustomFields'; reviewRating?: number; reviewCount?: number }; + reviewsHistogram: Array<{ + __typename?: 'ProductReviewHistogramItem'; + bin: number; + frequency: number; + }>; + }; +}; export type GetProductNameQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; - -export type GetProductNameQuery = { __typename?: 'Query', product?: { __typename?: 'Product', id: string, name: string } }; +export type GetProductNameQuery = { + __typename?: 'Query'; + product?: { __typename?: 'Product'; id: string; name: string }; +}; export type GetReviewsForWidgetQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; - -export type GetReviewsForWidgetQuery = { __typename?: 'Query', productReviews: { __typename?: 'ProductReviewList', totalItems: number, items: Array<{ __typename?: 'ProductReview', id: string, authorName: string, summary: string, rating: number, state: string, createdAt: any, product: { __typename?: 'Product', id: string, name: string } }> } }; - -export const ProductReviewFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductReview"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductReview"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"authorName"}},{"kind":"Field","name":{"kind":"Name","value":"authorLocation"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"body"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"upvotes"}},{"kind":"Field","name":{"kind":"Name","value":"downvotes"}},{"kind":"Field","name":{"kind":"Name","value":"response"}},{"kind":"Field","name":{"kind":"Name","value":"responseCreatedAt"}}]}}]} as unknown as DocumentNode; -export const GetAllReviewsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAllReviews"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductReviewListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productReviews"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductReview"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductReview"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductReview"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"authorName"}},{"kind":"Field","name":{"kind":"Name","value":"authorLocation"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"body"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"upvotes"}},{"kind":"Field","name":{"kind":"Name","value":"downvotes"}},{"kind":"Field","name":{"kind":"Name","value":"response"}},{"kind":"Field","name":{"kind":"Name","value":"responseCreatedAt"}}]}}]} as unknown as DocumentNode; -export const GetReviewDetailDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetReviewDetail"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productReview"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductReview"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"productVariant"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductReview"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductReview"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"authorName"}},{"kind":"Field","name":{"kind":"Name","value":"authorLocation"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"body"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"upvotes"}},{"kind":"Field","name":{"kind":"Name","value":"downvotes"}},{"kind":"Field","name":{"kind":"Name","value":"response"}},{"kind":"Field","name":{"kind":"Name","value":"responseCreatedAt"}}]}}]} as unknown as DocumentNode; -export const UpdateReviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateReview"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductReviewInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProductReview"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductReview"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductReview"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductReview"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"authorName"}},{"kind":"Field","name":{"kind":"Name","value":"authorLocation"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"body"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"upvotes"}},{"kind":"Field","name":{"kind":"Name","value":"downvotes"}},{"kind":"Field","name":{"kind":"Name","value":"response"}},{"kind":"Field","name":{"kind":"Name","value":"responseCreatedAt"}}]}}]} as unknown as DocumentNode; -export const ApproveReviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ApproveReview"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"approveProductReview"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"customFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reviewCount"}},{"kind":"Field","name":{"kind":"Name","value":"reviewRating"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const RejectReviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RejectReview"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rejectProductReview"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}}]}}]}}]} as unknown as DocumentNode; -export const GetReviewForProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetReviewForProduct"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"productId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductReviewListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"productId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"reviews"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductReview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductReview"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductReview"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"authorName"}},{"kind":"Field","name":{"kind":"Name","value":"authorLocation"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"body"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"upvotes"}},{"kind":"Field","name":{"kind":"Name","value":"downvotes"}},{"kind":"Field","name":{"kind":"Name","value":"response"}},{"kind":"Field","name":{"kind":"Name","value":"responseCreatedAt"}}]}}]} as unknown as DocumentNode; -export const GetReviewsHistogramDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetReviewsHistogram"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"preview"}}]}},{"kind":"Field","name":{"kind":"Name","value":"customFields"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"reviewRating"}},{"kind":"Field","name":{"kind":"Name","value":"reviewCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"reviewsHistogram"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bin"}},{"kind":"Field","name":{"kind":"Name","value":"frequency"}}]}}]}}]}}]} as unknown as DocumentNode; -export const GetProductNameDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductName"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; -export const GetReviewsForWidgetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetReviewsForWidget"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"options"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProductReviewListOptions"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"productReviews"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"Variable","name":{"kind":"Name","value":"options"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"authorName"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"rating"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"product"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file +export type GetReviewsForWidgetQuery = { + __typename?: 'Query'; + productReviews: { + __typename?: 'ProductReviewList'; + totalItems: number; + items: Array<{ + __typename?: 'ProductReview'; + id: string; + authorName: string; + summary: string; + rating: number; + state: string; + createdAt: any; + product: { __typename?: 'Product'; id: string; name: string }; + }>; + }; +}; + +export const ProductReviewFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductReview' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductReview' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorLocation' } }, + { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, + { kind: 'Field', name: { kind: 'Name', value: 'body' } }, + { kind: 'Field', name: { kind: 'Name', value: 'rating' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'upvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'downvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'response' } }, + { kind: 'Field', name: { kind: 'Name', value: 'responseCreatedAt' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetAllReviewsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetAllReviews' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductReviewListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productReviews' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductReview' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { + kind: 'Name', + value: 'preview', + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductReview' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductReview' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorLocation' } }, + { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, + { kind: 'Field', name: { kind: 'Name', value: 'body' } }, + { kind: 'Field', name: { kind: 'Name', value: 'rating' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'upvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'downvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'response' } }, + { kind: 'Field', name: { kind: 'Name', value: 'responseCreatedAt' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetReviewDetailDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetReviewDetail' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productReview' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductReview' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'preview' }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'productVariant' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'preview' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductReview' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductReview' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorLocation' } }, + { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, + { kind: 'Field', name: { kind: 'Name', value: 'body' } }, + { kind: 'Field', name: { kind: 'Name', value: 'rating' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'upvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'downvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'response' } }, + { kind: 'Field', name: { kind: 'Name', value: 'responseCreatedAt' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const UpdateReviewDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'UpdateReview' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UpdateProductReviewInput' }, + }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'updateProductReview' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductReview' } }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductReview' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductReview' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorLocation' } }, + { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, + { kind: 'Field', name: { kind: 'Name', value: 'body' } }, + { kind: 'Field', name: { kind: 'Name', value: 'rating' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'upvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'downvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'response' } }, + { kind: 'Field', name: { kind: 'Name', value: 'responseCreatedAt' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const ApproveReviewDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'ApproveReview' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'approveProductReview' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customFields' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'reviewCount' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'reviewRating' }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const RejectReviewDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'RejectReview' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'rejectProductReview' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetReviewForProductDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetReviewForProduct' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductReviewListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'productId' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'reviews' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'options' }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProductReview' }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProductReview' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductReview' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorLocation' } }, + { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, + { kind: 'Field', name: { kind: 'Name', value: 'body' } }, + { kind: 'Field', name: { kind: 'Name', value: 'rating' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'upvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'downvotes' } }, + { kind: 'Field', name: { kind: 'Name', value: 'response' } }, + { kind: 'Field', name: { kind: 'Name', value: 'responseCreatedAt' } }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetReviewsHistogramDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetReviewsHistogram' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'featuredAsset' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'preview' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'customFields' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'reviewRating' } }, + { kind: 'Field', name: { kind: 'Name', value: 'reviewCount' } }, + ], + }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'reviewsHistogram' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'bin' } }, + { kind: 'Field', name: { kind: 'Name', value: 'frequency' } }, + ], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetProductNameDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetProductName' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; +export const GetReviewsForWidgetDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'GetReviewsForWidget' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductReviewListOptions' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'productReviews' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'options' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'options' } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'authorName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, + { kind: 'Field', name: { kind: 'Name', value: 'rating' } }, + { kind: 'Field', name: { kind: 'Name', value: 'state' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'product' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' }, + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'name' }, + }, + ], + }, + }, + ], + }, + }, + { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode; diff --git a/packages/elasticsearch-plugin/e2e/graphql/generated-e2e-elasticsearch-plugin-types.ts b/packages/elasticsearch-plugin/e2e/graphql/generated-e2e-elasticsearch-plugin-types.ts index c65e1f02fd..08ec911684 100644 --- a/packages/elasticsearch-plugin/e2e/graphql/generated-e2e-elasticsearch-plugin-types.ts +++ b/packages/elasticsearch-plugin/e2e/graphql/generated-e2e-elasticsearch-plugin-types.ts @@ -3962,7 +3962,7 @@ export type PaymentStateTransitionError = ErrorResult & { * based on the activeUserId of the current session. As a result, the resolver code looks like this: * * @example - * ```TypeScript + * ```ts * \@Query() * \@Allow(Permission.Owner) * async activeCustomer(\@Ctx() ctx: RequestContext): Promise { diff --git a/packages/payments-plugin/e2e/graphql/generated-admin-types.ts b/packages/payments-plugin/e2e/graphql/generated-admin-types.ts index b928057405..9d2cff3bb4 100644 --- a/packages/payments-plugin/e2e/graphql/generated-admin-types.ts +++ b/packages/payments-plugin/e2e/graphql/generated-admin-types.ts @@ -3962,7 +3962,7 @@ export type PaymentStateTransitionError = ErrorResult & { * based on the activeUserId of the current session. As a result, the resolver code looks like this: * * @example - * ```TypeScript + * ```ts * \@Query() * \@Allow(Permission.Owner) * async activeCustomer(\@Ctx() ctx: RequestContext): Promise {